Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableDefaultStorageClass ¶
func DisableDefaultStorageClass(storage storagev1.StorageV1Interface, class string) error
DisableDefaultStorageClass disables the default storage class provisioner The addon-manager and kubectl apply cannot delete storageclasses
func GetStoragev1 ¶ added in v1.5.0
func GetStoragev1(context string) (storagev1.StorageV1Interface, error)
GetStoragev1 return storage v1 interface for client
func SetDefaultStorageClass ¶ added in v0.33.0
func SetDefaultStorageClass(storage storagev1.StorageV1Interface, name string) error
SetDefaultStorageClass makes sure only the class with @name is marked as default.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.