Documentation ¶
Index ¶
- func GetPVCsForGroupSnapshot(namespace string, matchLabels map[string]string) ([]v1.PersistentVolumeClaim, error)
- func GetVolumeNamesFromLabelSelector(namespace string, labels map[string]string) ([]string, error)
- func ValidateCRD(client *clientset.Clientset, crdName string) error
- func ValidateCRDV1(client *clientset.Clientset, crdName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPVCsForGroupSnapshot ¶ added in v1.4.0
func GetPVCsForGroupSnapshot(namespace string, matchLabels map[string]string) ([]v1.PersistentVolumeClaim, error)
GetPVCsForGroupSnapshot returns all PVCs in given namespace that match the given matchLabels. All PVCs need to be bound.
func GetVolumeNamesFromLabelSelector ¶ added in v1.4.0
GetVolumeNamesFromLabelSelector returns PV names for all PVCs in given namespace that match the given labels
func ValidateCRD ¶ added in v1.4.0
ValidateCRD validate crd with apiversion v1beta1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.