Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Phase ¶
type Phase string
Phase of a deployment.
const ( // TimedOutReason is used to determine if the deployment is PhaseDeadLineExceeded. TimedOutReason = "ProgressDeadlineExceeded" // PhaseDeadLineExceeded declares that a deployment has exceeded the deadline. PhaseDeadLineExceeded Phase = "DeadLineExceeded" // PhaseDeploying declares that a deploment is still has deploying. PhaseDeploying Phase = "Deploying" // PhaseDeployed declares that a deployment has finished deploying. PhaseDeployed Phase = "Deployed" )
func GetPhase ¶
func GetPhase(deployment *appsv1.Deployment) Phase
GetPhase returns the current state of a deployment.
Click to show internal directories.
Click to hide internal directories.