Documentation ¶
Index ¶
- Constants
- func InitAwsDriver() testsuites.TestDriver
- func InitAzureDiskDriver() testsuites.TestDriver
- func InitCephFSDriver() testsuites.TestDriver
- func InitCinderDriver() testsuites.TestDriver
- func InitEmptydirDriver() testsuites.TestDriver
- func InitGcePDCSIDriver() testsuites.TestDriver
- func InitGcePdDriver() testsuites.TestDriver
- func InitGlusterFSDriver() testsuites.TestDriver
- func InitHostPathCSIDriver() testsuites.TestDriver
- func InitHostPathDriver() testsuites.TestDriver
- func InitHostPathSymlinkDriver() testsuites.TestDriver
- func InitISCSIDriver() testsuites.TestDriver
- func InitLocalDriverWithVolumeType(volumeType utils.LocalVolumeType) func() testsuites.TestDriver
- func InitMockCSIDriver(driverOpts CSIMockDriverOpts) testsuites.TestDriver
- func InitNFSDriver() testsuites.TestDriver
- func InitRbdDriver() testsuites.TestDriver
- func InitVSphereDriver() testsuites.TestDriver
- func InitWindowsGcePdDriver() testsuites.TestDriver
- func WaitForCSIDriverRegistrationOnAllNodes(driverName string, cs clientset.Interface) error
- func WaitForCSIDriverRegistrationOnNode(nodeName string, driverName string, cs clientset.Interface) error
- type CSIMockDriverOpts
Constants ¶
const ( // GCEPDCSIDriverName is the name of GCE Persistent Disk CSI driver GCEPDCSIDriverName = "pd.csi.storage.gke.io" // GCEPDCSIZoneTopologyKey is the key of GCE Persistent Disk CSI zone topology GCEPDCSIZoneTopologyKey = "topology.gke.io/zone" )
Variables ¶
This section is empty.
Functions ¶
func InitAwsDriver ¶
func InitAwsDriver() testsuites.TestDriver
InitAwsDriver returns awsDriver that implements TestDriver interface
func InitAzureDiskDriver ¶ added in v1.18.0
func InitAzureDiskDriver() testsuites.TestDriver
InitAzureDiskDriver returns azureDiskDriver that implements TestDriver interface
func InitCephFSDriver ¶
func InitCephFSDriver() testsuites.TestDriver
InitCephFSDriver returns cephFSDriver that implements TestDriver interface
func InitCinderDriver ¶
func InitCinderDriver() testsuites.TestDriver
InitCinderDriver returns cinderDriver that implements TestDriver interface
func InitEmptydirDriver ¶
func InitEmptydirDriver() testsuites.TestDriver
InitEmptydirDriver returns emptydirDriver that implements TestDriver interface
func InitGcePDCSIDriver ¶ added in v1.13.0
func InitGcePDCSIDriver() testsuites.TestDriver
InitGcePDCSIDriver returns gcePDCSIDriver that implements TestDriver interface
func InitGcePdDriver ¶
func InitGcePdDriver() testsuites.TestDriver
InitGcePdDriver returns gcePdDriver that implements TestDriver interface
func InitGlusterFSDriver ¶
func InitGlusterFSDriver() testsuites.TestDriver
InitGlusterFSDriver returns glusterFSDriver that implements TestDriver interface
func InitHostPathCSIDriver ¶ added in v1.13.0
func InitHostPathCSIDriver() testsuites.TestDriver
InitHostPathCSIDriver returns hostpathCSIDriver that implements TestDriver interface
func InitHostPathDriver ¶
func InitHostPathDriver() testsuites.TestDriver
InitHostPathDriver returns hostPathDriver that implements TestDriver interface
func InitHostPathSymlinkDriver ¶
func InitHostPathSymlinkDriver() testsuites.TestDriver
InitHostPathSymlinkDriver returns hostPathSymlinkDriver that implements TestDriver interface
func InitISCSIDriver ¶
func InitISCSIDriver() testsuites.TestDriver
InitISCSIDriver returns iSCSIDriver that implements TestDriver interface
func InitLocalDriverWithVolumeType ¶ added in v1.14.0
func InitLocalDriverWithVolumeType(volumeType utils.LocalVolumeType) func() testsuites.TestDriver
InitLocalDriverWithVolumeType initializes the local driver based on the volume type.
func InitMockCSIDriver ¶ added in v1.14.0
func InitMockCSIDriver(driverOpts CSIMockDriverOpts) testsuites.TestDriver
InitMockCSIDriver returns a mockCSIDriver that implements TestDriver interface
func InitNFSDriver ¶
func InitNFSDriver() testsuites.TestDriver
InitNFSDriver returns nfsDriver that implements TestDriver interface
func InitRbdDriver ¶
func InitRbdDriver() testsuites.TestDriver
InitRbdDriver returns rbdDriver that implements TestDriver interface
func InitVSphereDriver ¶
func InitVSphereDriver() testsuites.TestDriver
InitVSphereDriver returns vSphereDriver that implements TestDriver interface
func InitWindowsGcePdDriver ¶ added in v1.19.9
func InitWindowsGcePdDriver() testsuites.TestDriver
InitWindowsGcePdDriver returns gcePdDriver running on Windows cluster that implements TestDriver interface In current test structure, it first initialize the driver and then set up the new framework, so we cannot get the correct OS here and select which file system is supported. So here uses a separate Windows in-tree gce pd driver
func WaitForCSIDriverRegistrationOnAllNodes ¶ added in v1.20.0
WaitForCSIDriverRegistrationOnAllNodes waits for the CSINode object to be updated with the given driver on all schedulable nodes.
Types ¶
type CSIMockDriverOpts ¶ added in v1.14.0
type CSIMockDriverOpts struct { RegisterDriver bool DisableAttach bool PodInfo *bool StorageCapacity *bool AttachLimit int EnableTopology bool EnableResizing bool EnableNodeExpansion bool EnableSnapshot bool JavascriptHooks map[string]string TokenRequests []storagev1.TokenRequest RequiresRepublish *bool FSGroupPolicy *storagev1.FSGroupPolicy }
CSIMockDriverOpts defines options used for csi driver