package
1.7.0-alpha.3
Repository: https://github.com/pingcap/tidb-operator.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
FindConfigMapNameFromTCAnno is used to find ConfigMap name from tc.annotations which is saved before deleting STS.
FindConfigMapVolume returns the configmap which's name matches the predicate in a PodSpec, empty indicates not found.
No description provided by the author
No description provided by the author
No description provided by the author
SetStatefulSetLastAppliedConfigAnnotation set last applied config to Statefulset's annotation.
SetUpgradePartition set statefulSet's rolling update partition.
No description provided by the author
StatefulSetIsUpgrading confirms whether the statefulSet is upgrading phase.
UpdateConfigMapIfNeed set the toml field as the old one if they are logically equal.
UpdateStatefulSet is a template function to update the statefulset of components.
No description provided by the author

# Constants

LastAppliedConfigAnnotation is annotation key of last applied configuration.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author