deploymentconfigs

package
v3.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

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 *appsapi.DeploymentConfig, tagRetriever trigger.TagRetriever) (*appsapi.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 appsclient.DeploymentConfigsGetter
}

DeploymentConfigReactor converts image trigger changes into updates on deployments.

func (*DeploymentConfigReactor) ImageChanged

func (r *DeploymentConfigReactor) ImageChanged(obj runtime.Object, 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