package client

const (
	ReplicaSetStatusType                      = "replicaSetStatus"
	ReplicaSetStatusFieldAvailableReplicas    = "availableReplicas"
	ReplicaSetStatusFieldConditions           = "conditions"
	ReplicaSetStatusFieldFullyLabeledReplicas = "fullyLabeledReplicas"
	ReplicaSetStatusFieldObservedGeneration   = "observedGeneration"
	ReplicaSetStatusFieldReadyReplicas        = "readyReplicas"
	ReplicaSetStatusFieldReplicas             = "replicas"
	ReplicaSetStatusFieldTerminatingReplicas  = "terminatingReplicas"
)

type ReplicaSetStatus struct {
	AvailableReplicas    int64                 `json:"availableReplicas,omitempty" yaml:"availableReplicas,omitempty"`
	Conditions           []ReplicaSetCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
	FullyLabeledReplicas int64                 `json:"fullyLabeledReplicas,omitempty" yaml:"fullyLabeledReplicas,omitempty"`
	ObservedGeneration   int64                 `json:"observedGeneration,omitempty" yaml:"observedGeneration,omitempty"`
	ReadyReplicas        int64                 `json:"readyReplicas,omitempty" yaml:"readyReplicas,omitempty"`
	Replicas             int64                 `json:"replicas,omitempty" yaml:"replicas,omitempty"`
	TerminatingReplicas  *int64                `json:"terminatingReplicas,omitempty" yaml:"terminatingReplicas,omitempty"`
}
