Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistentVolumeClaim ¶
type PersistentVolumeClaim struct {
ObjectMeta common.ObjectMeta `json:"objectMeta"`
TypeMeta common.TypeMeta `json:"typeMeta"`
// e.g. Pending, Bound
Status string
// name of the voluem
Volume string
}
PersistentVolumeClaim provides the simplified presentation layer view of Kubernetes Persistent Volume Claim resource.
type PersistentVolumeClaimCell ¶
type PersistentVolumeClaimCell api.PersistentVolumeClaim
func (PersistentVolumeClaimCell) GetProperty ¶
func (self PersistentVolumeClaimCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
type PersistentVolumeClaimList ¶
type PersistentVolumeClaimList struct {
ListMeta common.ListMeta `json:"listMeta"`
// Unordered list of persistent volume claims
Items []PersistentVolumeClaim `json:"items"`
}
PersistentVolumeClaimList contains a list of Persistent Volume Claims in the cluster.
func GetPersistentVolumeClaimList ¶
func GetPersistentVolumeClaimList(client *client.Client, nsQuery *common.NamespaceQuery, dsQuery *dataselect.DataSelectQuery) (*PersistentVolumeClaimList, error)
GetPersistentVolumeClaimList returns a list of all Persistent Volume Claims in the cluster.
func GetPersistentVolumeClaimListFromChannels ¶
func GetPersistentVolumeClaimListFromChannels(channels *common.ResourceChannels, nsQuery *common.NamespaceQuery, dsQuery *dataselect.DataSelectQuery) (*PersistentVolumeClaimList, error)
GetPersistentVolumeClaimListFromChannels returns a list of all Persistent Volume Claims in the cluster reading required resource list once from the channels.
Source Files
¶
- persistentvolumeclaimcommon.go
- persistentvolumeclaimlist.go
Click to show internal directories.
Click to hide internal directories.