# Functions
No description provided by the author
CreateConfigPatch creates a patch for configuration files with different version.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FromStringMap converts a map[string]string to a map[string]interface{}.
FromStringPointerMap converts a map[string]string to a map[string]interface{}.
No description provided by the author
GenerateComponentConfigurationName generates configuration name for component.
GenerateConstraintsUniqLabelKeyWithConfig generates uniq key for configure template reference: docs/img/reconfigure-cr-relationship.drawio.png.
GenerateEnvFromName generates env configmap name.
No description provided by the author
GenerateTPLUniqLabelKeyWithConfig generates uniq key for configuration template reference: docs/img/reconfigure-cr-relationship.drawio.png.
GenerateUniqKeyWithConfig is similar to getInstanceCfgCMName, generates uniq label/annotations for configuration template.
No description provided by the author
GetComponentCfgName is similar to getInstanceCfgCMName, while without statefulSet object.
No description provided by the author
GetParameterFromConfiguration gets configure parameter ctx: apiserver context cli: apiserver client cluster: appsv1.Cluster component: component name.
No description provided by the author
No description provided by the author
IsDynamicParameter checks if the parameter supports hot update.
IsNotUserReconfigureOperation checks if the parameters are updated from operation.
IsParametersUpdateFromManager checks if the parameters are updated from manager.
No description provided by the author
IsUpdateDynamicParameters checks if the changed parameters require a restart.
IsValidLabelKeyOrValue checks if the input string is a valid label key or value https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MergeUpdatedConfig replaces the file content of the changed key.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SetParametersUpdateSource sets the parameters' update source manager: parameter only updated from manager external-template: parameter only updated from template ops: parameter updated from operation.
TransformConfigFileToKeyValueMap transforms a config file in appsv1alpha1.CfgFileFormat format to a map in which the key is config name and the value is config value sectionName means the desired section of config file, such as [mysqld] section.
No description provided by the author
ValidateConfigPatch Verifies if the changed parameters have been removed.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
XMLContext TODO(zt) Support Xml config.
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
Option for operator.
ParameterUpdateType describes how to update the parameters.
ReconfiguringProgress defines the progress percentage.