drivers

package
v0.0.0-...-cd5b632 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2020 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GCEPDCSIProvisionerName is the name of GCE Persistent Disk CSI provisioner
	GCEPDCSIProvisionerName = "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 InitAzureDriver

func InitAzureDriver() testsuites.TestDriver

InitAzureDriver returns azureDriver 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

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

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 InitHostPathV0CSIDriver

func InitHostPathV0CSIDriver() testsuites.TestDriver

InitHostPathV0CSIDriver returns a variant of hostpathCSIDriver with different manifests.

func InitISCSIDriver

func InitISCSIDriver() testsuites.TestDriver

InitISCSIDriver returns iSCSIDriver that implements TestDriver interface

func InitLocalDriverWithVolumeType

func InitLocalDriverWithVolumeType(volumeType utils.LocalVolumeType) func() testsuites.TestDriver

InitLocalDriverWithVolumeType initializes the local driver based on the volume type.

func InitMockCSIDriver

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

Types

type CSIMockDriverOpts

type CSIMockDriverOpts struct {
	RegisterDriver      bool
	DisableAttach       bool
	PodInfo             *bool
	AttachLimit         int
	EnableResizing      bool
	EnableNodeExpansion bool
}

CSIMockDriverOpts defines options used for csi driver

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL