Define member cluster available condition.

This commit is contained in:
RainbowMango 2020-12-22 20:02:14 +08:00 committed by Kevin Wang
parent 786538765a
commit 12eed97771
1 changed files with 6 additions and 0 deletions

View File

@ -90,6 +90,12 @@ type LocalSecretReference struct {
Name string `json:"name"`
}
// Define valid conditions of a member cluster.
const (
// ClusterConditionReady means the cluster is healthy and ready to accept workloads.
ClusterConditionReady = "Ready"
)
// MemberClusterStatus contains information about the current status of a
// cluster updated periodically by cluster controller.
type MemberClusterStatus struct {