Documentation ¶
Overview ¶
Package factory contains code used to create deployment controllers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentConfigChangeControllerFactory ¶
type DeploymentConfigChangeControllerFactory struct { Client osclient.Interface KubeClient kclient.Interface Codec runtime.Codec // Stop may be set to allow controllers created by this factory to be terminated. Stop <-chan struct{} }
DeploymentConfigChangeControllerFactory can create a DeploymentConfigChangeController which obtains DeploymentConfigs from a queue populated from a watch of all DeploymentConfigs.
func (*DeploymentConfigChangeControllerFactory) Create ¶
func (factory *DeploymentConfigChangeControllerFactory) Create() *controller.DeploymentConfigChangeController
type DeploymentConfigControllerFactory ¶
type DeploymentConfigControllerFactory struct { Client *osclient.Client KubeClient kclient.Interface Codec runtime.Codec Stop <-chan struct{} }
DeploymentConfigControllerFactory can create a DeploymentConfigController which obtains DeploymentConfigs from a queue populated from a watch of all DeploymentConfigs.
func (*DeploymentConfigControllerFactory) Create ¶
func (factory *DeploymentConfigControllerFactory) Create() *controller.DeploymentConfigController
type DeploymentControllerFactory ¶ added in v0.2.1
type DeploymentControllerFactory struct { // Client satisfies DeploymentInterface. Client *osclient.Client // KubeClient satisfies PodInterface. KubeClient *kclient.Client // Environment is a set of environment which should be injected into all deployment pod containers. Environment []kapi.EnvVar // RecreateStrategyImage specifies which Docker image which should implement the Recreate strategy. RecreateStrategyImage string // Codec is used to decode DeploymentConfigs. Codec runtime.Codec // Stop may be set to allow controllers created by this factory to be terminated. Stop <-chan struct{} }
DeploymentControllerFactory can create a DeploymentController which obtains Deployments from a queue populated from a watch of Deployments. Pods are obtained from a queue populated from a watch of all pods.
func (*DeploymentControllerFactory) Create ¶ added in v0.2.1
func (factory *DeploymentControllerFactory) Create() *controller.DeploymentController
type ImageChangeControllerFactory ¶
type ImageChangeControllerFactory struct { Client *osclient.Client // Stop may be set to allow controllers created by this factory to be terminated. Stop <-chan struct{} }
ImageChangeControllerFactory can create an ImageChangeController which obtains ImageRepositories from a queue populated from a watch of all ImageRepositories.
func (*ImageChangeControllerFactory) Create ¶
func (factory *ImageChangeControllerFactory) Create() *controller.ImageChangeController