Documentation ¶
Index ¶
- Constants
- type ContainerModel
- func (m *ContainerModel) ClearSelectedContainers()
- func (m ContainerModel) DeleteContainers() (ContainerModel, tea.Cmd)
- func (m ContainerModel) ExecContainer() (ContainerModel, tea.Cmd)
- func (m ContainerModel) Init() tea.Cmd
- func (m ContainerModel) SelectAllContainers() (ContainerModel, tea.Cmd)
- func (m ContainerModel) SelectContainers() (ContainerModel, tea.Cmd)
- func (m ContainerModel) ShowLogs() (ContainerModel, tea.Cmd)
- func (m ContainerModel) StartContainers() (ContainerModel, tea.Cmd)
- func (m ContainerModel) StopContainers() (ContainerModel, tea.Cmd)
- func (m ContainerModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m ContainerModel) View() string
Constants ¶
View Source
const ( ContainerSelected = iota ContainerInProcess ContainerID ContainerName ContainerImage ContainerStatus )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerModel ¶
type ContainerModel struct { SelectedContainers mapset.Set[string] InProcess mapset.Set[string] Help help.Model Keys keyMap DockerClient docker.DockerClient Message message.Message Input textinput.Model Table table.Model Spinner spinner.Model }
func NewModel ¶
func NewModel(dockerClient docker.DockerClient) ContainerModel
func (*ContainerModel) ClearSelectedContainers ¶
func (m *ContainerModel) ClearSelectedContainers()
func (ContainerModel) DeleteContainers ¶
func (m ContainerModel) DeleteContainers() (ContainerModel, tea.Cmd)
func (ContainerModel) ExecContainer ¶
func (m ContainerModel) ExecContainer() (ContainerModel, tea.Cmd)
func (ContainerModel) Init ¶
func (m ContainerModel) Init() tea.Cmd
func (ContainerModel) SelectAllContainers ¶
func (m ContainerModel) SelectAllContainers() (ContainerModel, tea.Cmd)
func (ContainerModel) SelectContainers ¶
func (m ContainerModel) SelectContainers() (ContainerModel, tea.Cmd)
func (ContainerModel) ShowLogs ¶
func (m ContainerModel) ShowLogs() (ContainerModel, tea.Cmd)
func (ContainerModel) StartContainers ¶
func (m ContainerModel) StartContainers() (ContainerModel, tea.Cmd)
func (ContainerModel) StopContainers ¶
func (m ContainerModel) StopContainers() (ContainerModel, tea.Cmd)
func (ContainerModel) View ¶
func (m ContainerModel) View() string
Click to show internal directories.
Click to hide internal directories.