Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteStorageClass ¶
func DeleteStorageClass(client kubernetes.Interface, name string) (err error)
Types ¶
type StorageClass ¶
type StorageClass struct { ObjectMeta k8s.ObjectMeta `json:"objectMeta"` TypeMeta k8s.TypeMeta `json:"typeMeta"` Provisioner string `json:"provisioner"` Parameters map[string]string `json:"parameters"` ReclaimPolicy *v1.PersistentVolumeReclaimPolicy `json:"reclaimPolicy,omitempty"` }
StorageClass is a representation of a Kubernetes Storage Class object.
type StorageClassCell ¶
type StorageClassCell storage.StorageClass
func (StorageClassCell) GetProperty ¶
func (self StorageClassCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
type StorageClassDetail ¶
type StorageClassDetail struct { // Extends list item structure. StorageClass `json:",inline"` PersistentVolumeList pv.PersistentVolumeList `json:"persistentVolumeList"` }
StorageClassDetail provides the presentation layer view of Storage Class resource.
func GetStorageClassDetail ¶
func GetStorageClassDetail(client kubernetes.Interface, name string) (*StorageClassDetail, error)
GetStorageClassDetail returns Storage Class resource.
type StorageClassList ¶
type StorageClassList struct { ListMeta k8s.ListMeta `json:"listMeta"` Items []StorageClass `json:"items"` }
StorageClassList holds a list of Storage Class objects in the cluster.
func GetStorageClassList ¶
func GetStorageClassList(client kubernetes.Interface, dsQuery *dataselect.DataSelectQuery) (*StorageClassList, error)
GetStorageClassList returns a list of all storage class objects in the cluster.
func GetStorageClassListFromChannels ¶
func GetStorageClassListFromChannels(channels *k8scommon.ResourceChannels, dsQuery *dataselect.DataSelectQuery) (*StorageClassList, error)
GetStorageClassListFromChannels returns a list of all storage class objects in the cluster.
Click to show internal directories.
Click to hide internal directories.