Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentTriggerController ¶
type DeploymentTriggerController struct {
// contains filtered or unexported fields
}
DeploymentTriggerController processes all triggers for a deployment config and kicks new deployments whenever possible.
func NewDeploymentTriggerController ¶
func NewDeploymentTriggerController(oc osclient.Interface, kc kclient.Interface, codec runtime.Codec) *DeploymentTriggerController
NewDeploymentTriggerController returns a new DeploymentTriggerController.
func (*DeploymentTriggerController) Handle ¶
func (c *DeploymentTriggerController) Handle(config *deployapi.DeploymentConfig) error
Handle processes deployment triggers for a deployment config.
type DeploymentTriggerControllerFactory ¶
type DeploymentTriggerControllerFactory 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 }
DeploymentTriggerControllerFactory can create a DeploymentTriggerController that watches all DeploymentConfigs.
func (*DeploymentTriggerControllerFactory) Create ¶
func (factory *DeploymentTriggerControllerFactory) Create() controller.RunnableController
Create creates a DeploymentTriggerController.
Click to show internal directories.
Click to hide internal directories.