Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VolumeDetail ¶
type VolumeDetail struct {
Width int
Height int
Volume volume.Volume
LabelsVp viewport.Model
DashVp viewport.Model
UsageVp viewport.Model
StatusVp viewport.Model
OptsVp viewport.Model
}
func (*VolumeDetail) Init ¶
func (s *VolumeDetail) Init() tea.Cmd
func (*VolumeDetail) Update ¶
func (s *VolumeDetail) Update(msg tea.Msg) (*VolumeDetail, tea.Cmd)
func (*VolumeDetail) View ¶
func (s *VolumeDetail) View() string
type VolumeList ¶
type VolumeList struct {
Width int
Height int
Items []*volume.Volume
FilteredItems []*volume.Volume
SelectedIndex int
Ti textinput.Model
Vp viewport.Model
}
func NewVolumeList ¶
func NewVolumeList(w int, h int) *VolumeList
func (*VolumeList) Filter ¶
func (s *VolumeList) Filter(val string)
func (*VolumeList) GetCurrentItem ¶
func (s *VolumeList) GetCurrentItem() volume.Volume
func (*VolumeList) Init ¶
func (s *VolumeList) Init() tea.Cmd
func (*VolumeList) Update ¶
func (s *VolumeList) Update(msg tea.Msg) (*VolumeList, tea.Cmd)
func (*VolumeList) UpdateList ¶
func (s *VolumeList) UpdateList()
func (*VolumeList) View ¶
func (s *VolumeList) View() string
type Volumes ¶
type Volumes struct {
Width int
Height int
List *VolumeList
Details *VolumeDetail
Keymap keymap.VolMap
Help styledhelp.StyledHelp
IsLoading bool
ShowDetail bool
}
func NewVolumes ¶
func (*Volumes) GetListText ¶
Click to show internal directories.
Click to hide internal directories.