deployment

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL