Documentation
¶
Index ¶
Constants ¶
View Source
const ( // TimedOutReason is added in a deployment when its newest replica set fails to show any progress // within the given deadline (progressDeadlineSeconds). TimedOutReason = "ProgressDeadlineExceeded" )
Variables ¶
This section is empty.
Functions ¶
func GetDeploymentCondition ¶ added in v1.0.148
func GetDeploymentCondition(status appsv1.DeploymentStatus, condType appsv1.DeploymentConditionType) *appsv1.DeploymentCondition
GetDeploymentCondition returns the condition with the provided type.
func UpdateStatusConditions ¶
func UpdateStatusConditions(ctx context.Context, c client.Client, obj client.Object, conditions *[]metav1.Condition, status metav1.ConditionStatus, conditionType string, reason string, msg string) error
UpdateStatusConditions updates the status conditions of the object if the passed conditions have changed. conditions is a pointer to the conditions of the object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.