Documentation ¶
Index ¶
- Constants
- func MakeAcc(name, ns, configVersion string) csmv1.ApexConnectivityClient
- func MakeApexConnectivityClient(configVersion, _ string) csmv1.Client
- func MakeCSM(name, ns, configVersion string) csmv1.ContainerStorageModule
- func MakeConfigMap(name, ns, _ string) *corev1.ConfigMap
- func MakeDriver(configVersion, skipCertValid string) csmv1.Driver
- func MakeModule(configVersion string) csmv1.Module
- func MakeModuleCSM(name, ns, configVersion string) csmv1.ContainerStorageModule
- func MakePod(name, ns string) corev1.Pod
- func MakeReverseProxyModule(_ string) csmv1.Module
- func MakeSecret(name, ns, _ string) *corev1.Secret
- func MakeSecretWithJSON(name string, ns string, configFile string) *corev1.Secret
- type ErrorInjector
- type StorageKey
Constants ¶
const ( PFlexConfigVersion string = "v2.10.0" ConfigVersion string = "v2.8.0" UpgradeConfigVersion string = "v2.9.0" JumpUpgradeConfigVersion string = "v2.10.0" OldConfigVersion string = "v2.2.0" BadConfigVersion string = "v0" PStoreConfigVersion string = "v2.10.0" UnityConfigVersion string = "v2.10.0" PScaleConfigVersion string = "v2.10.0" PmaxConfigVersion string = "v2.10.0" AccConfigVersion string = "v1.0.0" )
ConfigVersions used for all unit tests
Variables ¶
This section is empty.
Functions ¶
func MakeAcc ¶ added in v1.4.0
func MakeAcc(name, ns, configVersion string) csmv1.ApexConnectivityClient
MakeAcc - returns a csm from given params
func MakeApexConnectivityClient ¶ added in v1.4.0
MakeApexConnectivityClient returns a driver object from given params
func MakeCSM ¶
func MakeCSM(name, ns, configVersion string) csmv1.ContainerStorageModule
MakeCSM returns a csm from given params
func MakeConfigMap ¶ added in v1.2.0
MakeConfigMap returns a driver pre-req configmap array-config
func MakeDriver ¶
MakeDriver returns a driver object from given params
func MakeModule ¶ added in v1.0.0
MakeModule returns a module object from given params
func MakeModuleCSM ¶ added in v1.0.0
func MakeModuleCSM(name, ns, configVersion string) csmv1.ContainerStorageModule
MakeModuleCSM returns a csm from given params
func MakeReverseProxyModule ¶ added in v1.2.0
MakeReverseProxyModule returns a csireverseproxy object
func MakeSecret ¶
MakeSecret returns a driver pre-req secret array-config
Types ¶
type ErrorInjector ¶
ErrorInjector is used for testing errors for the fake client
type StorageKey ¶
StorageKey is used to store a runtime object. It's used for both clientgo client and controller runtime client