Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentConfigChangeController ¶
type DeploymentConfigChangeController struct {
// contains filtered or unexported fields
}
DeploymentConfigChangeController increments the version of a DeploymentConfig which has a config change trigger when a pod template change is detected.
Use the DeploymentConfigChangeControllerFactory to create this controller.
func (*DeploymentConfigChangeController) Handle ¶
func (c *DeploymentConfigChangeController) Handle(config *deployapi.DeploymentConfig) error
Handle processes change triggers for config.
type DeploymentConfigChangeControllerFactory ¶
type DeploymentConfigChangeControllerFactory struct {
// Client is an OpenShift client.
Client osclient.Interface
// KubeClient is a Kubernetes client.
KubeClient kclient.Interface
// Codec is used for encoding/decoding.
Codec runtime.Codec
}
DeploymentConfigChangeControllerFactory can create a DeploymentConfigChangeController that watches all DeploymentConfigs.
func (*DeploymentConfigChangeControllerFactory) Create ¶
func (factory *DeploymentConfigChangeControllerFactory) Create() controller.RunnableController
Create creates a DeploymentConfigChangeController.
Click to show internal directories.
Click to hide internal directories.