{"modulePath":"github.1git.de/openshift/origin","version":"v3.6.1+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package deployment\n\n## Types\n\n```go\ntype DeploymentController struct {\n\t// contains filtered or unexported fields\n}\n```\nDeploymentController 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.\n\nWhen the deployment enters a terminal status:\n\n 1. If the deployment finished normally, the deployer pod is deleted.\n 2. If the deployment failed, the deployer pod is not deleted.\n\n```go\nfunc NewDeployerController(\n\trcInformer kcoreinformers.ReplicationControllerInformer,\n\tpodInformer kcoreinformers.PodInformer,\n\tkubeClientset kclientset.Interface,\n\tsa,\n\timage string,\n\tenv []kapi.EnvVar,\n\tcodec runtime.Codec,\n) *DeploymentController\n```\nNewDeployerController creates a new DeploymentController.\n\n```go\nfunc (c *DeploymentController) Run(workers int, stopCh \u003c-chan struct{})\n```\nRun begins watching and syncing.\n\n","path":"github.1git.de/openshift/origin/pkg/deploy/controller/deployer","name":"deployment","synopsis":"","isRedistributable":true}
