table

package
v0.0.0-...-c054ea7 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ImageContext     ContextState = iota
	ContainerContext ContextState = iota
	VolumeContext    ContextState = iota
	InspectContext   ContextState = iota
	LogsContext      ContextState = iota

	TableFocus  focusState = iota
	DialogFocus focusState = iota
)

Variables

View Source
var (
	KeyEscape = key.NewBinding(key.WithKeys("esc"))
)

Functions

func ContainerFormatter

func ContainerFormatter(row bubble.Row) lipgloss.Style

func ImageFormatter

func ImageFormatter(row bubble.Row) lipgloss.Style

Types

type ContextState

type ContextState uint

type KeyMapping

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

type Model

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

func New

func New() Model

func (Model) Context

func (m Model) Context() ContextState

func (Model) Focus

func (m Model) Focus() focusState

func (Model) Init

func (m Model) Init() tea.Cmd

func (*Model) PopulateContainers

func (m *Model) PopulateContainers() error

func (*Model) PopulateImages

func (m *Model) PopulateImages() error

func (*Model) SetContext

func (m *Model) SetContext(context ContextState) error

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