Documentation ¶
Index ¶
Constants ¶
View Source
const ( // annotations for deployment LatestReplicasetNameAnnotation = "latestreplicaset.kubeadmiral.io/name" LatestReplicasetReplicasAnnotation = "latestreplicaset.kubeadmiral.io/replicas" LatestReplicasetAvailableReplicasAnnotation = "latestreplicaset.kubeadmiral.io/available-replicas" LatestReplicasetReadyReplicasAnnotation = "latestreplicaset.kubeadmiral.io/ready-replicas" LatestReplicasetObservedGenerationAnnotation = "latestreplicaset.kubeadmiral.io/observed-generation" )
Variables ¶
This section is empty.
Functions ¶
func IsDerivedService ¶
Types ¶
type LatestReplicasetDigest ¶
type LatestReplicasetDigest struct { ClusterName string `json:"clusterName,omitempty"` ReplicasetName string `json:"replicasetName,omitempty"` Replicas int64 `json:"replicas,omitempty"` AvailableReplicas int64 `json:"availableReplicas,omitempty"` ReadyReplicas int64 `json:"readyReplicas,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` SourceGeneration int64 `json:"sourceGeneration,omitempty"` }
func LatestReplicasetDigestFromObject ¶
func LatestReplicasetDigestFromObject(clusterName string, object *unstructured.Unstructured) (LatestReplicasetDigest, []error)
Click to show internal directories.
Click to hide internal directories.