Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistentVolume ¶
type PersistentVolume struct { ObjectMeta common.ObjectMeta `json:"objectMeta"` TypeMeta common.TypeMeta `json:"typeMeta"` Capacity api.ResourceList `json:"capacity"` AccessModes []api.PersistentVolumeAccessMode `json:"accessModes"` Status api.PersistentVolumePhase `json:"status"` Claim string `json:"claim"` Reason string `json:"reason"` }
PersistentVolume provides the simplified presentation layer view of Kubernetes Persistent Volume resource.
type PersistentVolumeCell ¶ added in v1.4.0
type PersistentVolumeCell api.PersistentVolume
func (PersistentVolumeCell) GetProperty ¶ added in v1.4.0
func (self PersistentVolumeCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
type PersistentVolumeDetail ¶
type PersistentVolumeDetail struct { ObjectMeta common.ObjectMeta `json:"objectMeta"` TypeMeta common.TypeMeta `json:"typeMeta"` Status api.PersistentVolumePhase `json:"status"` Claim string `json:"claim"` ReclaimPolicy api.PersistentVolumeReclaimPolicy `json:"reclaimPolicy"` AccessModes []api.PersistentVolumeAccessMode `json:"accessModes"` Capacity api.ResourceList `json:"capacity"` Message string `json:"message"` PersistentVolumeSource api.PersistentVolumeSource `json:"persistentVolumeSource"` }
PersistentVolumeDetail provides the presentation layer view of Kubernetes Persistent Volume resource.
func GetPersistentVolumeDetail ¶
func GetPersistentVolumeDetail(client *client.Client, name string) (*PersistentVolumeDetail, error)
GetPersistentVolumeDetail returns detailed information about a persistent volume
type PersistentVolumeList ¶
type PersistentVolumeList struct { ListMeta common.ListMeta `json:"listMeta"` // Unordered list of Config Maps Items []PersistentVolume `json:"items"` }
PersistentVolumeList contains a list of Persistent Volumes in the cluster.
func GetPersistentVolumeList ¶
func GetPersistentVolumeList(client *client.Client, dsQuery *dataselect.DataSelectQuery) (*PersistentVolumeList, error)
GetPersistentVolumeList returns a list of all Persistent Volumes in the cluster.
func GetPersistentVolumeListFromChannels ¶
func GetPersistentVolumeListFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery) ( *PersistentVolumeList, error)
GetPersistentVolumeListFromChannels returns a list of all Persistent Volumes in the cluster reading required resource list once from the channels.
Click to show internal directories.
Click to hide internal directories.