deploymentconfigs

package
v3.7.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 License: Apache-2.0 Imports: 10 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

This section is empty.

Variables

This section is empty.

Functions

func NewDeploymentConfigTriggerIndexer

func NewDeploymentConfigTriggerIndexer(prefix string) trigger.Indexer

func UpdateDeploymentConfigImages

func UpdateDeploymentConfigImages(dc *deployapi.DeploymentConfig, tagRetriever trigger.TagRetriever) (*deployapi.DeploymentConfig, bool, error)

UpdateDeploymentConfigImages sets the latest image value from all triggers onto each container, returning false if one or more triggers could not be resolved yet or an error. The returned dc will be copied if mutated.

Types

type DeploymentConfigReactor

type DeploymentConfigReactor struct {
	Client client.DeploymentConfigsNamespacer
}

DeploymentConfigReactor converts image trigger changes into updates on deployments.

func (*DeploymentConfigReactor) ImageChanged

func (r *DeploymentConfigReactor) ImageChanged(obj interface{}, tagRetriever trigger.TagRetriever) error

ImageChanged is passed a deployment config and a set of changes.

Jump to

Keyboard shortcuts

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