Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommandDeployer ¶
NewCommandDeployer provides a CLI handler for deploy.
Types ¶
type Deployer ¶ added in v0.6.1
type Deployer struct {
// contains filtered or unexported fields
}
Deployer prepares and executes the deployment process. It will:
1. Validate the deployment has a desired replica count and strategy. 2. Find the last completed deployment. 3. Scale down to 0 any old deployments which aren't the new deployment or the last complete deployment. 4. Pass the last completed deployment and the new deployment to a strategy to perform the deployment.
Click to show internal directories.
Click to hide internal directories.