package
0.0.0-20211025122520-9e299b509706
Repository: https://github.com/tidb-incubator/serverlessdb-for-htap.git
Documentation: pkg.go.dev

# Functions

FilterOutCondition returns a new slice of ServerlessDB conditions without conditions with the provided type.
No description provided by the author
GetServerlessDBCondition returns the condition with the provided type.
IgnoreErrorf returns a IgnoreError.
IsIgnoreError returns whether err is a IgnoreError.
IsRequeueError returns whether err is a RequeueError.
IsServerlessDBRestart, true means tidb is restarting.
IsServerlessDBSilence, true means tidb server pods replica is zero.
No description provided by the author
LabelsProxyForServerlessDB returns the labels for selecting the resources belonging to the given CR name.
LabelsForServerlessDB returns the labels for selecting the resources belonging to the given CR name.
New initialize a new Label for components of tidb cluster.
NewServerlessDBCondition creates a new ServerlessDB condition.
RequeueErrorf returns a RequeueError.
SetServerlessDBCondition updates the ServerlessDB to include the provided condition.

# Constants

AnnPingcapToolOptions describes optional command line args for a tool.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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.
RestartAtAnnotationKey represents restart flag.
Ready.
RestartAtAnnotationKey represents restart flag.
No description provided by the author
SLDBOperator is ManagedByLabelKey label value.
TiDBInitialNotDone is added when ti is not done.
TiDBRestartNotDone is added when ti is not done.

# Variables

controllerKind contains the schema.GroupVersionKind for ServerlessDB controller type.

# Structs

IgnoreError is used to ignore this item, this error type should't be considered as a real error, no need to requeue.
RequeueError is used to requeue the item, this error type should't be considered as a real error.

# Type aliases

Label is the label field in metadata.