deployment

package
v3.6.8-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2017 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeploymentController

type DeploymentController struct {
	// contains filtered or unexported fields
}

DeploymentController starts a deployment by creating a deployer pod which implements a deployment strategy. The status of the deployment will follow the status of the deployer pod. The deployer pod is correlated to the deployment with annotations.

When the deployment enters a terminal status:

  1. If the deployment finished normally, the deployer pod is deleted.
  2. If the deployment failed, the deployer pod is not deleted.

func NewDeploymentController added in v1.3.0

func NewDeploymentController(rcInformer, podInformer cache.SharedIndexInformer, kc kclientset.Interface, sa, image string, env []kapi.EnvVar, codec runtime.Codec) *DeploymentController

NewDeploymentController creates a new DeploymentController.

func (*DeploymentController) Run added in v1.3.0

func (c *DeploymentController) Run(workers int, stopCh <-chan struct{})

Run begins watching and syncing.

Jump to

Keyboard shortcuts

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