# Functions
GetTikvClusterCondition returns the condition with the provided type.
GetTikvClusterReadyCondition extracts the tikvcluster ready condition from the given status and returns that.
NewTikvClusterCondition creates a new tikvcluster condition.
SetTikvClusterCondition updates the tikv cluster to include the provided condition.
# Constants
PDUnhealthy is added when one of pd members is unhealthy.
Ready.
StatefulSetNotUpToDate is added when one of statefulsets is not up to date.
TiKVStoreNotUp is added when one of tikv stores is not up.