Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // WaitForDeploymentRollout waits for the specified Deployment to reach its desired state within the given timeout. // This blocks until the Deployment's observed generation and ready replicas match the desired state, // ensuring it is fully rolled out. WaitForDeploymentRollout = func(c clientset.Interface, dep *appsv1.Deployment, timeoutSeconds int) error { return cmdutil.WaitForDeploymentRollout(c, dep, timeoutSeconds) } )
Functions ¶
func ParseTemplate ¶
ParseTemplate validates and parses passed as argument template
func SimulateDeploymentUnready ¶ added in v1.12.0
SimulateDeploymentUnready simulates a "not ready" status by incrementing the replicas of the specified Deployment, thus marking it as unready. This is useful for testing the handling of Deployment readiness in Karmada.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.