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() *deploycontroller.DeploymentConfigChangeController
type DeploymentControllerFactory ¶
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 ¶
func (factory *DeploymentControllerFactory) Create() *deploycontroller.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() *deploycontroller.ImageChangeController
Click to show internal directories.
Click to hide internal directories.