// GetDriverNameWithFeatureTags returns parameters that can be passed to framework.Context. // For example: // - [Driver: nfs] // - [Driver: rbd], feature.Volumes func GetDriverNameWithFeatureTags(driver TestDriver) []interface{ … } // CreateVolume creates volume for test unless dynamicPV or CSI ephemeral inline volume test func CreateVolume(ctx context.Context, driver TestDriver, config *PerTestConfig, volType TestVolType) TestVolume { … } // CopyStorageClass constructs a new StorageClass instance // with a unique name that is based on namespace + suffix // using the same storageclass setting from the parameter func CopyStorageClass(sc *storagev1.StorageClass, ns string, suffix string) *storagev1.StorageClass { … } // GetStorageClass constructs a new StorageClass instance // with a unique name that is based on namespace + suffix. func GetStorageClass( provisioner string, parameters map[string]string, bindingMode *storagev1.VolumeBindingMode, ns string, ) *storagev1.StorageClass { … } // CopyVolumeAttributesClass constructs a new VolumeAttributesClass instance // with a unique name that is based on namespace + suffix // using the VolumeAttributesClass passed in as a parameter func CopyVolumeAttributesClass(vac *storagev1beta1.VolumeAttributesClass, ns string, suffix string) *storagev1beta1.VolumeAttributesClass { … }