Documentation ¶
Index ¶
- type Volume
- func (volume Volume) Age() string
- func (volume Volume) Copy() Volume
- func (vol Volume) MarshalJSON() ([]byte, error)
- func (vol Volume) MarshalYAML() (interface{}, error)
- func (volume Volume) OwnerAndName() string
- func (vol Volume) RenderJSON() (string, error)
- func (volume Volume) RenderTable() string
- func (v Volume) RenderYAML() (string, error)
- func (volume Volume) String() string
- func (Volume) TableHeaders() []string
- func (volume Volume) TableRows() [][]string
- func (volume Volume) ToKube() kubeModels.Volume
- func (volume Volume) UserNames() []string
- type VolumeList
- func (list VolumeList) Copy() VolumeList
- func (list VolumeList) Filter(pred func(Volume) bool) VolumeList
- func (list VolumeList) Get(i int) Volume
- func (list VolumeList) GetByUserFriendlyID(ID string) (Volume, bool)
- func (list VolumeList) GetDefault(i int, def Volume) (Volume, bool)
- func (list VolumeList) Head() (Volume, bool)
- func (list VolumeList) Names() []string
- func (list VolumeList) New() VolumeList
- func (list VolumeList) OwnersAndNames() []string
- func (list VolumeList) RenderJSON() (string, error)
- func (list VolumeList) RenderTable() string
- func (list VolumeList) RenderYAML() (string, error)
- func (_ VolumeList) TableHeaders() []string
- func (list VolumeList) TableRows() [][]string
- func (list VolumeList) ToKube() kubeModels.VolumesList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Volume ¶
type Volume kubeModels.Volume
func VolumeFromKube ¶
func VolumeFromKube(kv kubeModels.Volume) Volume
func (Volume) MarshalJSON ¶
func (Volume) MarshalYAML ¶
func (Volume) OwnerAndName ¶
func (Volume) RenderJSON ¶
func (Volume) RenderTable ¶
func (Volume) RenderYAML ¶
func (Volume) TableHeaders ¶
func (Volume) ToKube ¶
func (volume Volume) ToKube() kubeModels.Volume
type VolumeList ¶
type VolumeList []Volume
func VolumeListFromKube ¶
func VolumeListFromKube(kubeList kubeModels.VolumesList) VolumeList
func (VolumeList) Copy ¶
func (list VolumeList) Copy() VolumeList
func (VolumeList) Filter ¶
func (list VolumeList) Filter(pred func(Volume) bool) VolumeList
func (VolumeList) Get ¶
func (list VolumeList) Get(i int) Volume
func (VolumeList) GetByUserFriendlyID ¶
func (list VolumeList) GetByUserFriendlyID(ID string) (Volume, bool)
get by Name or by OwnerLogin/Name
func (VolumeList) GetDefault ¶
func (list VolumeList) GetDefault(i int, def Volume) (Volume, bool)
func (VolumeList) Head ¶
func (list VolumeList) Head() (Volume, bool)
func (VolumeList) Names ¶
func (list VolumeList) Names() []string
func (VolumeList) New ¶
func (list VolumeList) New() VolumeList
func (VolumeList) OwnersAndNames ¶
func (list VolumeList) OwnersAndNames() []string
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
func (VolumeList) ToKube ¶
func (list VolumeList) ToKube() kubeModels.VolumesList
Click to show internal directories.
Click to hide internal directories.