Documentation ¶
Index ¶
- type Volume
- func (vol Volume) MarshalJSON() ([]byte, error)
- func (vol Volume) MarshalYAML() (interface{}, error)
- func (vol Volume) RenderJSON() (string, error)
- func (volume *Volume) RenderTable() string
- func (v Volume) RenderYAML() (string, error)
- func (_ *Volume) TableHeaders() []string
- func (volume *Volume) TableRows() [][]string
- type VolumeList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Volume ¶
type Volume struct { Label string CreatedAt time.Time Access string Replicas uint Storage uint // contains filtered or unexported fields }
func VolumeFromKube ¶
func VolumeFromKube(kv kubeModels.Volume) Volume
func (Volume) MarshalJSON ¶
func (Volume) MarshalYAML ¶
func (Volume) RenderJSON ¶
func (*Volume) RenderTable ¶
func (Volume) RenderYAML ¶
func (*Volume) TableHeaders ¶
type VolumeList ¶
type VolumeList []Volume
func VolumeListFromKube ¶
func VolumeListFromKube(kubeList []kubeModels.Volume) VolumeList
func (VolumeList) RenderJSON ¶
func (list VolumeList) RenderJSON() (string, error)
func (VolumeList) RenderTable ¶
func (list VolumeList) RenderTable() string
func (VolumeList) RenderYAML ¶
func (list VolumeList) RenderYAML() (string, error)
func (VolumeList) TableHeaders ¶
func (_ VolumeList) TableHeaders() []string
func (VolumeList) TableRows ¶
func (list VolumeList) TableRows() [][]string
Click to show internal directories.
Click to hide internal directories.