Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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.
Click to show internal directories.
Click to hide internal directories.