Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReleaseVersionAnnotation = "release.openshift.io/version" CriticalPodAnnotation = "scheduler.alpha.kubernetes.io/critical-pod" )
Common Kubernetes object annotations.
Variables ¶
This section is empty.
Functions ¶
func DeploymentUpdated ¶
func DeploymentUpdated(dep *appsv1.Deployment) bool
DeploymentUpdated checks whether a Kubernetes deployment object's replicas are fully updated and available.
func FilterString ¶
FilterString removes any instances of the needle from haystack. It returns a new slice with all instances of needle removed, and a count of the number instances encountered.
func ReleaseVersionMatches ¶
ReleaseVersionMatches checks whether a Kubernetes object has an OpenShift release version annotation that matches the given version.
func ResetProgressingTime ¶
func ResetProgressingTime(conds *[]configv1.ClusterOperatorStatusCondition)
ResetProgressingTime finds the Progressing condition in the given slice, or creates a default one if none is found, and sets the LastTransitionTime to the current time.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.