source_select

package
v3.0.0-...-838862a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SourceItem

type SourceItem struct {
	// contains filtered or unexported fields
}

func EnterpriseItem

func EnterpriseItem(title, description string) SourceItem

func OssItem

func OssItem(title, description string) SourceItem

func (SourceItem) Description

func (i SourceItem) Description() string

func (SourceItem) FilterValue

func (i SourceItem) FilterValue() string

func (SourceItem) ID

func (i SourceItem) ID() string

func (SourceItem) Title

func (i SourceItem) Title() string

type SourceSelect

type SourceSelect struct {
	common.Common
	// contains filtered or unexported fields
}

func New

func New(c common.Common) *SourceSelect

func (*SourceSelect) FullHelp

func (m *SourceSelect) FullHelp() [][]key.Binding

func (*SourceSelect) Init

func (m *SourceSelect) Init() tea.Cmd

func (*SourceSelect) ShortHelp

func (m *SourceSelect) ShortHelp() []key.Binding

func (*SourceSelect) Update

func (m *SourceSelect) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*SourceSelect) View

func (m *SourceSelect) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL