buildconfigs

package
v3.7.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBuildConfigTriggerIndexer

func NewBuildConfigTriggerIndexer(prefix string) trigger.Indexer

Types

type BuildConfigInstantiator

type BuildConfigInstantiator interface {
	// Instantiate should launch a build from the provided build request.
	Instantiate(namespace string, request *buildapi.BuildRequest) (*buildapi.Build, error)
}

BuildConfigInstantiator abstracts creating builds from build requests.

type BuildConfigReactor

type BuildConfigReactor struct {
	Instantiator BuildConfigInstantiator
}

BuildConfigReactor converts trigger changes into new builds. It will request a build if at least one image is out of date.

func (*BuildConfigReactor) ImageChanged

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

ImageChanged is passed a build config and a set of changes and updates the object if necessary.

Jump to

Keyboard shortcuts

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