Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildController ¶
type BuildController struct {
BuildUpdater buildclient.BuildUpdater
PodManager podManager
BuildStrategy BuildStrategy
ImageRepositoryClient imageRepositoryClient
}
BuildController watches build resources and manages their state
func (*BuildController) HandleBuild ¶
func (bc *BuildController) HandleBuild(build *buildapi.Build) error
type BuildPodController ¶ added in v0.4.1
type BuildPodController struct {
BuildStore cache.Store
BuildUpdater buildclient.BuildUpdater
PodManager podManager
}
BuildPodController watches pods running builds and manages the build state
func (*BuildPodController) CancelBuild ¶ added in v0.4.1
CancelBuild updates a build status to Cancelled, after its associated pod is deleted.
type BuildStrategy ¶
BuildStrategy knows how to create a pod spec for a pod which can execute a build.
type ImageChangeController ¶ added in v0.2.1
type ImageChangeController struct {
BuildConfigStore cache.Store
BuildConfigInstantiator buildclient.BuildConfigInstantiator
BuildConfigUpdater buildclient.BuildConfigUpdater
// Stop is an optional channel that controls when the controller exits
Stop <-chan struct{}
}
ImageChangeController watches for changes to ImageRepositories and triggers builds when a new version of a tag referenced by a BuildConfig is available.
func (*ImageChangeController) HandleImageRepo ¶ added in v0.2.1
func (c *ImageChangeController) HandleImageRepo(repo *imageapi.ImageRepository) error
HandleImageRepo processes the next ImageRepository event.
type ImageChangeControllerFatalError ¶ added in v0.4.1
func (ImageChangeControllerFatalError) Error ¶ added in v0.4.1
func (e ImageChangeControllerFatalError) Error() string
Click to show internal directories.
Click to hide internal directories.