Documentation ¶
Index ¶
Constants ¶
View Source
const (
True = "true"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DynamicPVTestDriver ¶
type DynamicPVTestDriver interface { // GetDynamicProvisionStorageClass returns a StorageClass dynamic provision Persistent Volume GetDynamicProvisionStorageClass(parameters map[string]string, mountOptions []string, reclaimPolicy *v1.PersistentVolumeReclaimPolicy, volumeExpansion *bool, bindingMode *storagev1.VolumeBindingMode, allowedTopologyValues []string, namespace string) *storagev1.StorageClass }
DynamicPVTestDriver represents an interface for a CSI driver that supports DynamicPV
type PVTestDriver ¶
type PVTestDriver interface { DynamicPVTestDriver PreProvisionedVolumeTestDriver }
func InitPowervsCSIDriver ¶
func InitPowervsCSIDriver() PVTestDriver
InitPowervsCSIDriver returns powervsCSIDriver that implements DynamicPVTestDriver interface
type PreProvisionedVolumeTestDriver ¶
type PreProvisionedVolumeTestDriver interface { // GetPersistentVolume returns a PersistentVolume with pre-provisioned volumeHandle GetPersistentVolume(volumeID string, fsType string, size string, reclaimPolicy *v1.PersistentVolumeReclaimPolicy, namespace string) *v1.PersistentVolume }
PreProvisionedVolumeTestDriver represents an interface for a CSI driver that supports pre-provisioned volume
Click to show internal directories.
Click to hide internal directories.