generictrigger

package
v1.5.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2017 License: Apache-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (

	// MaxRetries is the number of times a deployment config will be retried before it is dropped
	// out of the queue.
	MaxRetries = 5
)

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(dcInformer, rcInformer, streamInformer cache.SharedIndexInformer, oc osclient.Interface, codec runtime.Codec) *DeploymentTriggerController

NewDeploymentTriggerController returns a new DeploymentTriggerController.

func (*DeploymentTriggerController) Handle

Handle processes deployment triggers for a deployment config.

func (*DeploymentTriggerController) Run

func (c *DeploymentTriggerController) Run(workers int, stopCh <-chan struct{})

Run begins watching and syncing.

Jump to

Keyboard shortcuts

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