Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StorageClass ¶
type StorageClass struct { ObjectMeta api.ObjectMeta `json:"objectMeta"` TypeMeta api.TypeMeta `json:"typeMeta"` Provisioner string `json:"provisioner"` Parameters map[string]string `json:"parameters"` }
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"` }
StorageClassDetail provides the presentation layer view of Storage Class resource.
func GetStorageClass ¶
func GetStorageClass(client kubernetes.Interface, name string) (*StorageClassDetail, error)
GetStorageClass returns Storage Class resource.
type StorageClassList ¶
type StorageClassList struct { ListMeta api.ListMeta `json:"listMeta"` StorageClasses []StorageClass `json:"storageClasses"` // List of non-critical errors, that occurred during resource retrieval. Errors []error `json:"errors"` }
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 *common.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.