generictrigger

package
v1.3.0-alpha.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

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

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

Create creates a DeploymentTriggerController.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL