managevolume

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 (
	VolumeSelected = iota
	VolumeName
	VolumeCreated
	VolumeMountpoint
	VolumeSize
)

Variables

This section is empty.

Functions

This section is empty.

Types

type VolumeModel

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

func NewModel

func NewModel(dockerClient docker.DockerClient) VolumeModel

func (VolumeModel) DeleteVolume

func (m VolumeModel) DeleteVolume() (VolumeModel, tea.Cmd)

func (VolumeModel) Init

func (m VolumeModel) Init() tea.Cmd

func (VolumeModel) PruneVolume

func (m VolumeModel) PruneVolume() (VolumeModel, tea.Cmd)

func (VolumeModel) Update

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

func (VolumeModel) View

func (m VolumeModel) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳