Documentation ¶
Index ¶
- Constants
- 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 MakeNode(name, ns string) corev1.Node
- func MakePod(name, ns string) corev1.Pod
- func MakeReverseProxyModule(_ string) csmv1.Module
- func MakeSecret(name, ns, _ string) *corev1.Secret
- func MakeSecretPowerFlex(name, ns, _ string) *corev1.Secret
- func MakeSecretPowerFlexMultiZoneInvalid(name, ns, _ string) *corev1.Secret
- func MakeSecretPowerFlexWithZone(name, ns, _ string) *corev1.Secret
- func MakeSecretWithJSON(name string, ns string, configFile string) *corev1.Secret
- type ErrorInjector
- type StorageKey
Constants ¶
const ( PFlexConfigVersion string = "v2.13.0" DowngradeConfigVersion string = "v2.12.0" ConfigVersion string = "v2.11.0" UpgradeConfigVersion string = "v2.11.0" JumpUpgradeConfigVersion string = "v2.12.0" JumpDowngradeConfigVersion string = "v2.11.0" OldConfigVersion string = "v2.2.0" BadConfigVersion string = "v0" PStoreConfigVersion string = "v2.12.0" UnityConfigVersion string = "v2.12.0" PScaleConfigVersion string = "v2.12.0" PmaxConfigVersion string = "v2.12.0" AuthServerConfigVersion string = "v1.12.0" AppMobConfigVersion string = "v1.1.0" )
ConfigVersions used for all unit tests
Variables ¶
This section is empty.
Functions ¶
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
func MakeSecretPowerFlex ¶ added in v1.8.0
MakeSecretPowerFlex returns a pflex driver pre-req secret
func MakeSecretPowerFlexMultiZoneInvalid ¶ added in v1.8.0
MakeSecretPowerFlexMultiZoneInvalid returns a pflex driver pre-req secret with invalid zone config
func MakeSecretPowerFlexWithZone ¶ added in v1.8.0
MakeSecretPowerFlexWithZone returns a driver pre-req secret with zoning specified
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