list

package
v0.0.0-...-29cceae Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListItem

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

func NewListItem

func NewListItem(service, cluster, serviceArn string) ListItem

func (ListItem) Cluster

func (i ListItem) Cluster() string

func (ListItem) Description

func (i ListItem) Description() string

func (ListItem) FilterValue

func (i ListItem) FilterValue() string

func (ListItem) Service

func (i ListItem) Service() string

func (ListItem) ServiceArn

func (i ListItem) ServiceArn() string

func (ListItem) Title

func (i ListItem) Title() string

type Model

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

func New

func New() Model

func (*Model) GetSelectedServiceArn

func (m *Model) GetSelectedServiceArn() ListItem

func (Model) Init

func (m Model) Init() tea.Cmd

func (*Model) IsFiltering

func (m *Model) IsFiltering() bool

func (*Model) SetItems

func (m *Model) SetItems(services []ListItem)

func (*Model) SetSize

func (m *Model) SetSize(width, height int)

func (Model) Update

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

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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