Documentation ¶ Index ¶ Constants func NewModel(dockerClient docker.DockerClient) tea.Model func NewTui() error func TabView(m MainModel) string type MainModel func (m MainModel) Init() tea.Cmd func (m MainModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (m MainModel) View() string Constants ¶ View Source const ( ContainerTab = iota ImageTab VolumeTab WipTab ) Variables ¶ This section is empty. Functions ¶ func NewModel ¶ func NewModel(dockerClient docker.DockerClient) tea.Model func NewTui ¶ func NewTui() error func TabView ¶ func TabView(m MainModel) string Types ¶ type MainModel ¶ type MainModel struct { WipTab wip.WipModel DockerClient docker.DockerClient TabsTitle []string Tabs []tea.Model ActiveTab int } func (MainModel) Init ¶ func (m MainModel) Init() tea.Cmd func (MainModel) Update ¶ func (m MainModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (MainModel) View ¶ func (m MainModel) View() string Source Files ¶ View all Source files tui.go update.go view.go Click to show internal directories. Click to hide internal directories.