{"modulePath":"github.com/stackpointcloud/kubernetes","version":"v1.3.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package deployment\n\n## Constants\n\n```go\nconst (\n\t// FullDeploymentResyncPeriod means we'll attempt to recompute the required replicas\n\t// of all deployments.\n\t// This recomputation happens based on contents in the local caches.\n\tFullDeploymentResyncPeriod = 30 * time.Second\n\t// We must avoid creating new replica set / counting pods until the replica set / pods store has synced.\n\t// If it hasn't synced, to avoid a hot loop, we'll wait this long between checks.\n\tStoreSyncedPollPeriod = 100 * time.Millisecond\n)\n```\n\n## Types\n\n```go\ntype DeploymentController struct {\n\t// contains filtered or unexported fields\n}\n```\nDeploymentController is responsible for synchronizing Deployment objects stored in the system with actual running replica sets and pods.\n\n```go\nfunc NewDeploymentController(client clientset.Interface, resyncPeriod controller.ResyncPeriodFunc) *DeploymentController\n```\nNewDeploymentController creates a new DeploymentController.\n\n```go\nfunc (dc *DeploymentController) Run(workers int, stopCh \u003c-chan struct{})\n```\nRun begins watching and syncing.\n\n","path":"github.com/stackpointcloud/kubernetes/pkg/controller/deployment","name":"deployment","synopsis":"","isRedistributable":true}
