manageimage

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ImageStatus = iota
	ImageID
	ImageTag
	ImageCreated
	ImageSize
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageModel

type ImageModel struct {
	SelectedImages mapset.Set[string]
	Help           help.Model
	Keys           keyMap
	DockerClient   docker.DockerClient
	Message        message.Message
	Table          table.Model
}

func NewModel

func NewModel(dockerClient docker.DockerClient) ImageModel

func (ImageModel) DeleteImages

func (m ImageModel) DeleteImages() (ImageModel, tea.Cmd)

func (ImageModel) Init

func (m ImageModel) Init() tea.Cmd

func (ImageModel) PruneImages

func (m ImageModel) PruneImages() (ImageModel, tea.Cmd)

func (ImageModel) SelectAllImages

func (m ImageModel) SelectAllImages() (ImageModel, tea.Cmd)

func (ImageModel) SelectImage

func (m ImageModel) SelectImage() (ImageModel, tea.Cmd)

func (ImageModel) Update

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

func (ImageModel) View

func (m ImageModel) View() string

type ShowTextInput

type ShowTextInput struct{}

Jump to

Keyboard shortcuts

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