buildconfigs

package
v3.6.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2017 License: Apache-2.0 Imports: 11 Imported by: 0 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 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