package
2.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb-operator.git
Documentation: pkg.go.dev

# Functions

GetPodCondition extracts the provided condition from the given status and returns that.
GetPodConditionFromList extracts the provided condition from the given list of condition and returns the index of the condition and the condition.
GetPodReadyCondition extracts the pod ready condition from the given status and returns that.
IsPodAvailable returns true if a pod is available; false otherwise.
IsPodCreated returns true if pod has been created and is maintained by the API server.
IsPodFailed returns true if pod has a Phase of PodFailed.
IsPodHealthy returns true if pod is running and ready and has not been terminated.
IsPodPending returns true if pod has a Phase of PodPending.
IsPodReady returns true if a pod is ready; false otherwise.
No description provided by the author
IsPodRunningAndReady returns true if pod is in the PodRunning Phase, if it has a condition of PodReady.
IsPodSucceeded returns true if pod has a Phase of PodSucceeded.
IsPodTerminating returns true if pod's DeletionTimestamp has been set.
NextRevision finds the next valid revision number based on revisions.