Documentation ¶
Index ¶
- Constants
- func Getmdmipforsdc(sidenv []corev1.EnvVar, mdmFin string, reqLogger logr.Logger) (corev1.EnvVar, error)
- func IsIpv4Regex(ipAddress string) bool
- func SyncProxy(cr *storagev1.CSIPowerMaxRevProxy, client client.Client, reqLogger logr.Logger) error
- func ValidateIPAddress(ipAdd string) (string, bool)
- func ValidateProxySpec(ctx context.Context, client client.Client, ...) error
- type CSIIsilonReconciler
- func (r *CSIIsilonReconciler) GetClient() client.Client
- func (r *CSIIsilonReconciler) GetConfig() operatorconfig.Config
- func (r *CSIIsilonReconciler) GetScheme() *runtime.Scheme
- func (r *CSIIsilonReconciler) GetUpdateCount() int32
- func (r *CSIIsilonReconciler) IncrUpdateCount()
- func (r *CSIIsilonReconciler) InitializeDriverSpec(instance storagev1.CSIDriver, reqLogger logr.Logger) (bool, error)
- func (r *CSIIsilonReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *CSIIsilonReconciler) SetClient(c client.Client)
- func (r *CSIIsilonReconciler) SetConfig(c operatorconfig.Config)
- func (r *CSIIsilonReconciler) SetScheme(s *runtime.Scheme)
- func (r *CSIIsilonReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *CSIIsilonReconciler) ValidateDriverSpec(ctx context.Context, instance storagev1.CSIDriver, reqLogger logr.Logger) error
- type CSIPowerMaxReconciler
- func (r *CSIPowerMaxReconciler) GetClient() client.Client
- func (r *CSIPowerMaxReconciler) GetConfig() operatorconfig.Config
- func (r *CSIPowerMaxReconciler) GetScheme() *runtime.Scheme
- func (r *CSIPowerMaxReconciler) GetUpdateCount() int32
- func (r *CSIPowerMaxReconciler) IncrUpdateCount()
- func (r *CSIPowerMaxReconciler) InitializeDriverSpec(instance storagev1.CSIDriver, reqLogger logr.Logger) (bool, error)
- func (r *CSIPowerMaxReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *CSIPowerMaxReconciler) SetClient(c client.Client)
- func (r *CSIPowerMaxReconciler) SetConfig(c operatorconfig.Config)
- func (r *CSIPowerMaxReconciler) SetScheme(s *runtime.Scheme)
- func (r *CSIPowerMaxReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *CSIPowerMaxReconciler) ValidateDriverSpec(ctx context.Context, instance storagev1.CSIDriver, reqLogger logr.Logger) error
- type CSIPowerMaxRevProxyReconciler
- func (r *CSIPowerMaxRevProxyReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
- func (r *CSIPowerMaxRevProxyReconciler) SetClient(client client.Client) *CSIPowerMaxRevProxyReconciler
- func (r *CSIPowerMaxRevProxyReconciler) SetScheme(scheme *runtime.Scheme) *CSIPowerMaxRevProxyReconciler
- func (r *CSIPowerMaxRevProxyReconciler) SetupWithManager(mgr ctrl.Manager) error
- type CSIPowerStoreReconciler
- func (r *CSIPowerStoreReconciler) GetClient() client.Client
- func (r *CSIPowerStoreReconciler) GetConfig() operatorconfig.Config
- func (r *CSIPowerStoreReconciler) GetScheme() *runtime.Scheme
- func (r *CSIPowerStoreReconciler) GetUpdateCount() int32
- func (r *CSIPowerStoreReconciler) IncrUpdateCount()
- func (r *CSIPowerStoreReconciler) InitializeDriverSpec(instance storagev1.CSIDriver, reqLogger logr.Logger) (bool, error)
- func (r *CSIPowerStoreReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *CSIPowerStoreReconciler) SetClient(c client.Client)
- func (r *CSIPowerStoreReconciler) SetConfig(c operatorconfig.Config)
- func (r *CSIPowerStoreReconciler) SetScheme(s *runtime.Scheme)
- func (r *CSIPowerStoreReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *CSIPowerStoreReconciler) ValidateDriverSpec(ctx context.Context, instance storagev1.CSIDriver, reqLogger logr.Logger) error
- type CSIUnityReconciler
- func (r *CSIUnityReconciler) GetClient() client.Client
- func (r *CSIUnityReconciler) GetConfig() operatorconfig.Config
- func (r *CSIUnityReconciler) GetScheme() *runtime.Scheme
- func (r *CSIUnityReconciler) GetUpdateCount() int32
- func (r *CSIUnityReconciler) IncrUpdateCount()
- func (r *CSIUnityReconciler) InitializeDriverSpec(instance storagev1.CSIDriver, reqLogger logr.Logger) (bool, error)
- func (r *CSIUnityReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *CSIUnityReconciler) SetClient(c client.Client)
- func (r *CSIUnityReconciler) SetConfig(c operatorconfig.Config)
- func (r *CSIUnityReconciler) SetScheme(s *runtime.Scheme)
- func (r *CSIUnityReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *CSIUnityReconciler) ValidateDriverSpec(ctx context.Context, instance storagev1.CSIDriver, reqLogger logr.Logger) error
- type CSIVXFlexOSReconciler
- func (r *CSIVXFlexOSReconciler) GetClient() client.Client
- func (r *CSIVXFlexOSReconciler) GetConfig() operatorconfig.Config
- func (r *CSIVXFlexOSReconciler) GetMDMFromSecret(ctx context.Context, instance storagev1.CSIDriver, log logr.Logger) (string, error)
- func (r *CSIVXFlexOSReconciler) GetScheme() *runtime.Scheme
- func (r *CSIVXFlexOSReconciler) GetUpdateCount() int32
- func (r *CSIVXFlexOSReconciler) IncrUpdateCount()
- func (r *CSIVXFlexOSReconciler) InitializeDriverSpec(instance storagev1.CSIDriver, reqLogger logr.Logger) (bool, error)
- func (r *CSIVXFlexOSReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *CSIVXFlexOSReconciler) SetClient(c client.Client)
- func (r *CSIVXFlexOSReconciler) SetConfig(c operatorconfig.Config)
- func (r *CSIVXFlexOSReconciler) SetScheme(s *runtime.Scheme)
- func (r *CSIVXFlexOSReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *CSIVXFlexOSReconciler) ValidateDriverSpec(ctx context.Context, instance storagev1.CSIDriver, reqLogger logr.Logger) error
Constants ¶
const ( ReverseProxyName = "powermax-reverseproxy" ConfigMapName = "powermax-reverseproxy-config" DefaultMode = "Linked" DefaultPort = int32(2222) ConfigFileName = "config.yaml" ConfigMapVolumeName = "configmap-volume" ConfigMapVolumeMountPath = "/etc/config/configmap" TLSSecretVolumeName = "tls-secret" TLSSecretMountPath = "/app/tls" CertVolumeName = "cert-dir" CertVolumeMountPath = "/app/certs" )
Constants for the reverseproxy
Variables ¶
This section is empty.
Functions ¶
func Getmdmipforsdc ¶
func Getmdmipforsdc(sidenv []corev1.EnvVar, mdmFin string, reqLogger logr.Logger) (corev1.EnvVar, error)
Getmdmipforsdc - Appends MDM value to sdc-monitor Function to append MDM varibale to sdc-monitor environment varibale if not provided
func IsIpv4Regex ¶
IsIpv4Regex - Matches Ipaddress with regex returns error if the Ip Address doesn't match regex
func SyncProxy ¶
func SyncProxy(cr *storagev1.CSIPowerMaxRevProxy, client client.Client, reqLogger logr.Logger) error
SyncProxy - syncs the proxy instance
func ValidateIPAddress ¶
ValidateIPAddress - Validates the Ip Address returns error if the Ip Address is not valid
func ValidateProxySpec ¶
func ValidateProxySpec(ctx context.Context, client client.Client, instance *storagev1.CSIPowerMaxRevProxy) error
ValidateProxySpec - Validates the proxy specification
Types ¶
type CSIIsilonReconciler ¶
type CSIIsilonReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Config operatorconfig.Config // contains filtered or unexported fields }
CSIIsilonReconciler reconciles a CSIIsilon object
func (*CSIIsilonReconciler) GetClient ¶
func (r *CSIIsilonReconciler) GetClient() client.Client
GetClient - returns the split client
func (*CSIIsilonReconciler) GetConfig ¶
func (r *CSIIsilonReconciler) GetConfig() operatorconfig.Config
GetConfig - returns the config
func (*CSIIsilonReconciler) GetScheme ¶
func (r *CSIIsilonReconciler) GetScheme() *runtime.Scheme
GetScheme - Returns k8s runtime scheme
func (*CSIIsilonReconciler) GetUpdateCount ¶
func (r *CSIIsilonReconciler) GetUpdateCount() int32
GetUpdateCount - Returns the current update count
func (*CSIIsilonReconciler) IncrUpdateCount ¶
func (r *CSIIsilonReconciler) IncrUpdateCount()
IncrUpdateCount - Increments the update count
func (*CSIIsilonReconciler) InitializeDriverSpec ¶
func (r *CSIIsilonReconciler) InitializeDriverSpec(instance storagev1.CSIDriver, reqLogger logr.Logger) (bool, error)
InitializeDriverSpec - Initializes any uninitialized elements of the instance spec. Also initialize the defaults if user didn't set the values
func (*CSIIsilonReconciler) SetClient ¶
func (r *CSIIsilonReconciler) SetClient(c client.Client)
SetClient - Sets the split client (only for testing)
func (*CSIIsilonReconciler) SetConfig ¶
func (r *CSIIsilonReconciler) SetConfig(c operatorconfig.Config)
SetConfig - returns the config (only for testing)
func (*CSIIsilonReconciler) SetScheme ¶
func (r *CSIIsilonReconciler) SetScheme(s *runtime.Scheme)
SetScheme - Sets k8s runtime scheme (only for testing)
func (*CSIIsilonReconciler) SetupWithManager ¶
func (r *CSIIsilonReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager - sets up the controller
func (*CSIIsilonReconciler) ValidateDriverSpec ¶
func (r *CSIIsilonReconciler) ValidateDriverSpec(ctx context.Context, instance storagev1.CSIDriver, reqLogger logr.Logger) error
ValidateDriverSpec - Validates the driver spec returns error if the spec is not valid
type CSIPowerMaxReconciler ¶
type CSIPowerMaxReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Config operatorconfig.Config // contains filtered or unexported fields }
CSIPowerMaxReconciler reconciles a CSIPowerMax object
func (*CSIPowerMaxReconciler) GetClient ¶
func (r *CSIPowerMaxReconciler) GetClient() client.Client
GetClient - returns the split client
func (*CSIPowerMaxReconciler) GetConfig ¶
func (r *CSIPowerMaxReconciler) GetConfig() operatorconfig.Config
GetConfig - returns the config
func (*CSIPowerMaxReconciler) GetScheme ¶
func (r *CSIPowerMaxReconciler) GetScheme() *runtime.Scheme
GetScheme - Returns k8s runtime scheme
func (*CSIPowerMaxReconciler) GetUpdateCount ¶
func (r *CSIPowerMaxReconciler) GetUpdateCount() int32
GetUpdateCount - Returns the current update count
func (*CSIPowerMaxReconciler) IncrUpdateCount ¶
func (r *CSIPowerMaxReconciler) IncrUpdateCount()
IncrUpdateCount - Increments the update count
func (*CSIPowerMaxReconciler) InitializeDriverSpec ¶
func (r *CSIPowerMaxReconciler) InitializeDriverSpec(instance storagev1.CSIDriver, reqLogger logr.Logger) (bool, error)
InitializeDriverSpec - Initializes any uninitialized elements of the instance spec. Also initialize the defaults if user didn't set the values
func (*CSIPowerMaxReconciler) Reconcile ¶
func (r *CSIPowerMaxReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile function reconciles a CSIPowermax object
func (*CSIPowerMaxReconciler) SetClient ¶
func (r *CSIPowerMaxReconciler) SetClient(c client.Client)
SetClient - Sets the split client (only for testing)
func (*CSIPowerMaxReconciler) SetConfig ¶
func (r *CSIPowerMaxReconciler) SetConfig(c operatorconfig.Config)
SetConfig - Sets the config (only for testing)
func (*CSIPowerMaxReconciler) SetScheme ¶
func (r *CSIPowerMaxReconciler) SetScheme(s *runtime.Scheme)
SetScheme - Sets k8s runtime scheme (only for testing)
func (*CSIPowerMaxReconciler) SetupWithManager ¶
func (r *CSIPowerMaxReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager - sets up controller
func (*CSIPowerMaxReconciler) ValidateDriverSpec ¶
func (r *CSIPowerMaxReconciler) ValidateDriverSpec(ctx context.Context, instance storagev1.CSIDriver, reqLogger logr.Logger) error
ValidateDriverSpec - Validates the driver spec returns error if the spec is not valid
type CSIPowerMaxRevProxyReconciler ¶
CSIPowerMaxRevProxyReconciler reconciles a CSIPowerMaxRevProxy object
func (*CSIPowerMaxRevProxyReconciler) Reconcile ¶
func (r *CSIPowerMaxRevProxyReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile function reconciles a CSIPowerMax object
func (*CSIPowerMaxRevProxyReconciler) SetClient ¶
func (r *CSIPowerMaxRevProxyReconciler) SetClient(client client.Client) *CSIPowerMaxRevProxyReconciler
SetClient sets the client for CSIPowerMaxRevProxyReconciler
func (*CSIPowerMaxRevProxyReconciler) SetScheme ¶
func (r *CSIPowerMaxRevProxyReconciler) SetScheme(scheme *runtime.Scheme) *CSIPowerMaxRevProxyReconciler
SetScheme sets the scheme for ReconcileCSIPowerMaxRevProxy
func (*CSIPowerMaxRevProxyReconciler) SetupWithManager ¶
func (r *CSIPowerMaxRevProxyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager - sets up controller
type CSIPowerStoreReconciler ¶
type CSIPowerStoreReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Config operatorconfig.Config // contains filtered or unexported fields }
CSIPowerStoreReconciler reconciles a CSIPowerStore object
func (*CSIPowerStoreReconciler) GetClient ¶
func (r *CSIPowerStoreReconciler) GetClient() client.Client
GetClient - returns the split client
func (*CSIPowerStoreReconciler) GetConfig ¶
func (r *CSIPowerStoreReconciler) GetConfig() operatorconfig.Config
GetConfig - returns the config
func (*CSIPowerStoreReconciler) GetScheme ¶
func (r *CSIPowerStoreReconciler) GetScheme() *runtime.Scheme
GetScheme - Returns k8s runtime scheme
func (*CSIPowerStoreReconciler) GetUpdateCount ¶
func (r *CSIPowerStoreReconciler) GetUpdateCount() int32
GetUpdateCount - Returns the current update count
func (*CSIPowerStoreReconciler) IncrUpdateCount ¶
func (r *CSIPowerStoreReconciler) IncrUpdateCount()
IncrUpdateCount - Increments the update count
func (*CSIPowerStoreReconciler) InitializeDriverSpec ¶
func (r *CSIPowerStoreReconciler) InitializeDriverSpec(instance storagev1.CSIDriver, reqLogger logr.Logger) (bool, error)
InitializeDriverSpec - Initialize any driver specific change
func (*CSIPowerStoreReconciler) Reconcile ¶
func (r *CSIPowerStoreReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile function reconciles a CSIPowerStore Object
func (*CSIPowerStoreReconciler) SetClient ¶
func (r *CSIPowerStoreReconciler) SetClient(c client.Client)
SetClient - Sets the split client (only for testing)
func (*CSIPowerStoreReconciler) SetConfig ¶
func (r *CSIPowerStoreReconciler) SetConfig(c operatorconfig.Config)
SetConfig - Sets the config (only for testing)
func (*CSIPowerStoreReconciler) SetScheme ¶
func (r *CSIPowerStoreReconciler) SetScheme(s *runtime.Scheme)
SetScheme - Sets k8s runtime scheme (only for testing)
func (*CSIPowerStoreReconciler) SetupWithManager ¶
func (r *CSIPowerStoreReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager - sets up the controller
func (*CSIPowerStoreReconciler) ValidateDriverSpec ¶
func (r *CSIPowerStoreReconciler) ValidateDriverSpec(ctx context.Context, instance storagev1.CSIDriver, reqLogger logr.Logger) error
ValidateDriverSpec - Make any driver specific validation
type CSIUnityReconciler ¶
type CSIUnityReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Config operatorconfig.Config // contains filtered or unexported fields }
CSIUnityReconciler reconciles a CSIUnity object
func (*CSIUnityReconciler) GetClient ¶
func (r *CSIUnityReconciler) GetClient() client.Client
GetClient - returns the split client
func (*CSIUnityReconciler) GetConfig ¶
func (r *CSIUnityReconciler) GetConfig() operatorconfig.Config
GetConfig - returns the config
func (*CSIUnityReconciler) GetScheme ¶
func (r *CSIUnityReconciler) GetScheme() *runtime.Scheme
GetScheme - Returns k8s runtime scheme
func (*CSIUnityReconciler) GetUpdateCount ¶
func (r *CSIUnityReconciler) GetUpdateCount() int32
GetUpdateCount - Returns the current update count
func (*CSIUnityReconciler) IncrUpdateCount ¶
func (r *CSIUnityReconciler) IncrUpdateCount()
IncrUpdateCount - Increments the update count
func (*CSIUnityReconciler) InitializeDriverSpec ¶
func (r *CSIUnityReconciler) InitializeDriverSpec(instance storagev1.CSIDriver, reqLogger logr.Logger) (bool, error)
InitializeDriverSpec - Initializes any uninitialized elements of the instance spec. Also initialize the defaults if user didn't set the values
func (*CSIUnityReconciler) SetClient ¶
func (r *CSIUnityReconciler) SetClient(c client.Client)
SetClient - Sets the split client (only for testing)
func (*CSIUnityReconciler) SetConfig ¶
func (r *CSIUnityReconciler) SetConfig(c operatorconfig.Config)
SetConfig - Sets the config
func (*CSIUnityReconciler) SetScheme ¶
func (r *CSIUnityReconciler) SetScheme(s *runtime.Scheme)
SetScheme - Sets k8s runtime scheme (only for testing)
func (*CSIUnityReconciler) SetupWithManager ¶
func (r *CSIUnityReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager - sets up controller
func (*CSIUnityReconciler) ValidateDriverSpec ¶
func (r *CSIUnityReconciler) ValidateDriverSpec(ctx context.Context, instance storagev1.CSIDriver, reqLogger logr.Logger) error
ValidateDriverSpec does driver specific validation of the spec
type CSIVXFlexOSReconciler ¶
type CSIVXFlexOSReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Config operatorconfig.Config // contains filtered or unexported fields }
CSIVXFlexOSReconciler reconciles a CSIVXFlexOS object
func (*CSIVXFlexOSReconciler) GetClient ¶
func (r *CSIVXFlexOSReconciler) GetClient() client.Client
GetClient - returns the split client
func (*CSIVXFlexOSReconciler) GetConfig ¶
func (r *CSIVXFlexOSReconciler) GetConfig() operatorconfig.Config
GetConfig - returns the config
func (*CSIVXFlexOSReconciler) GetMDMFromSecret ¶
func (r *CSIVXFlexOSReconciler) GetMDMFromSecret(ctx context.Context, instance storagev1.CSIDriver, log logr.Logger) (string, error)
GetMDMFromSecret - Returns MDM value
func (*CSIVXFlexOSReconciler) GetScheme ¶
func (r *CSIVXFlexOSReconciler) GetScheme() *runtime.Scheme
GetScheme - Returns k8s runtime scheme
func (*CSIVXFlexOSReconciler) GetUpdateCount ¶
func (r *CSIVXFlexOSReconciler) GetUpdateCount() int32
GetUpdateCount - Returns the current update count
func (*CSIVXFlexOSReconciler) IncrUpdateCount ¶
func (r *CSIVXFlexOSReconciler) IncrUpdateCount()
IncrUpdateCount - Increments the update count
func (*CSIVXFlexOSReconciler) InitializeDriverSpec ¶
func (r *CSIVXFlexOSReconciler) InitializeDriverSpec(instance storagev1.CSIDriver, reqLogger logr.Logger) (bool, error)
InitializeDriverSpec - Initializes any uninitialized elements of the instance spec. Also initialize the defaults if user didn't set the values
func (*CSIVXFlexOSReconciler) Reconcile ¶
func (r *CSIVXFlexOSReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile function reconciles a CSIVFlex Object
func (*CSIVXFlexOSReconciler) SetClient ¶
func (r *CSIVXFlexOSReconciler) SetClient(c client.Client)
SetClient - Sets the split client (only for testing)
func (*CSIVXFlexOSReconciler) SetConfig ¶
func (r *CSIVXFlexOSReconciler) SetConfig(c operatorconfig.Config)
SetConfig - Sets the config (only for testing)
func (*CSIVXFlexOSReconciler) SetScheme ¶
func (r *CSIVXFlexOSReconciler) SetScheme(s *runtime.Scheme)
SetScheme - Sets k8s runtime scheme (only for testing)
func (*CSIVXFlexOSReconciler) SetupWithManager ¶
func (r *CSIVXFlexOSReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager - sets up the controller
func (*CSIVXFlexOSReconciler) ValidateDriverSpec ¶
func (r *CSIVXFlexOSReconciler) ValidateDriverSpec(ctx context.Context, instance storagev1.CSIDriver, reqLogger logr.Logger) error
ValidateDriverSpec - Validates the driver spec returns error if the spec is not valid