package
1.6.1
Repository: https://github.com/dell/csm-operator.git
Documentation: pkg.go.dev

# Functions

ApplyCTRLObject -.
ApplyObject -.
BrownfieldOnboard will onboard the brownfield cluster.
CheckAccAndCreateOrDeleteRbac checks if the dell connectivity client exists and creates/deletes the role and rolebindings.
Contains - check if slice contains the specified string.
CreateBrownfieldRbac creates the role and rolebindings.
DeleteObject -.
DetermineUnitTestRun will determine if this reconcile call is part of unit test run.
GetAccDefaultClusters - get default clusters.
GetBackupStorageLocation - check if the Backup Storage Location is present.
GetCTRLObject - get controller object.
GetDefaultClusters -.
GetDriverYaml -.
GetModuleComponentObj - get module component object from config yaml string.
GetModuleDefaultVersion -.
GetNamespaces returns the list of namespaces in the cluster.
GetNginxControllerStatus - gets deployment status of the NGINX ingress controller.
GetSecret - check if the secret is present.
GetVolumeSnapshotLocation - check if the Volume Snapshot Location is present.
HandleAccSuccess for csm.
HandleAccValidationError for csm.
HandleSuccess for csm.
HandleValidationError for csm.
IsAppMobilityComponentEnabled - check if Application Mobility componenets are enabled.
IsModuleComponentEnabled - check if module components are enabled.
IsModuleEnabled - check if the module is enabled.
IsResiliencyModuleEnabled - check if resiliency module is enabled or not.
IsValidUpgrade will check if upgrade of module/driver is allowed.
LogBannerAndReturn -.
MinVersionCheck takes a driver name and a version of the form "vA.B.C" and checks it against the minimum version for the specified driver.
ModifyCommonCR -.
ModifyCommonCRs - update with common values.
ReplaceAllApplyCustomEnvs -.
ReplaceAllArgs -.
ReplaceAllContainerImageApply -.
SetAccStatus of csm.
SetStatus of csm.
SplitYaml divides a big bytes of yaml files in individual yaml files.
UpdateAccStatus of csm.
UpdateinitContainerApply -.
UpdateSideCarApply -.
UpdateStatus of csm.
WaitForNginxController - polls deployment status.

# Constants

ApplicationMobilityNamespace - application-mobility.
AuthorizationNamespace - authorization.
BrownfieldManifest - brownfield-onboard.yaml.
ClientNamespace - client namespace.
DefaultImagePullPolicy constant.
DefaultReleaseName constant.
DefaultReleaseNamespace constant.
DefaultSourceClusterID -.
ExistingNamespace - existing namespace.
KubeletConfigDir path.
ObservabilityNamespace - karavi.
PodmonControllerComponent - podmon-controller.
PodmonNodeComponent - podmon-node.
ReplicationControllerInit -.
ReplicationControllerManager -.
ReplicationControllerNameSpace -.
ReplicationSideCarName -.
ResiliencySideCarName -.

# Variables

NewControllerRuntimeClientWrapper -.
NewK8sClientWrapper -.

# Structs

ControllerYAML -.
FakeReconcileCSM -.
K8sImagesConfig -.
NodeYAML -.
OperatorConfig -.
RbacYAML -.
ReplicaCluster -.
StatefulControllerYAML -.
UpgradePaths a list of versions eligible to upgrade the current version.

# Interfaces

CSMComponentType - type constraint for DriverType and ModuleType.
ReconcileCSM is the interface which extends each of the respective Reconcile interfaces for drivers.