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

# Functions

ClusterListOptions returns a cluster ListOptions filter.
New initialize a new Label.

# Constants

AnnPodNameKey is pod name annotation key used in PV/PVC for synchronizing tidb cluster meta info.
AnnPVCDeferDeleting is pvc defer deletion annotation key used in PVC for defer deleting PVC.
Bootstrapping is bootstrapping key.
ClusterIDLabelKey is cluster id label key.
ComponentLabelKey is Kubernetes recommended label key, it represents the component within the architecture.
InstanceLabelKey is Kubernetes recommended label key, it represents a unique name identifying the instance of an application It's set by helm when installing a release.
ManagedByLabelKey is Kubernetes recommended label key, it represents the tool being used to manage the operation of an application For resources managed by TiDB Operator, its value is always tidb-operator.
MemberIDLabelKey is member id label key.
NameLabelKey is Kubernetes recommended label key, it represents the name of the application It should always be tidb-cluster in our case.
NamespaceLabelKey is label key used in PV for easy querying.
PDLabelVal is PD label value.
Replicas is replicas key.
StoreIDLabelKey is store id label key.
TiDBLabelVal is TiDB label value.
TiKVLabelVal is TiKV label value.

# Type aliases

Label is the label field in metadata.