controller

package
v3.6.0-0.0.alpha.1.804... Latest Latest
Warning

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

Go to latest
Published: May 25, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsFatal added in v1.1.2

func IsFatal(err error) bool

IsFatal returns true if err is a fatal error

Types

type BuildConfigController added in v1.0.5

type BuildConfigController struct {
	BuildConfigInstantiator buildclient.BuildConfigInstantiator
	BuildConfigGetter       buildclient.BuildConfigGetter
	BuildLister             buildclient.BuildLister
	BuildDeleter            buildclient.BuildDeleter
	// recorder is used to record events.
	Recorder record.EventRecorder
}

func (*BuildConfigController) HandleBuildConfig added in v1.0.5

func (c *BuildConfigController) HandleBuildConfig(bc *buildapi.BuildConfig) error

type ConfigControllerFatalError added in v1.1.2

type ConfigControllerFatalError struct {
	// Reason the fatal error occurred
	Reason string
}

ConfigControllerFatalError represents a fatal error while generating a build. An operation that fails because of a fatal error should not be retried.

func (*ConfigControllerFatalError) Error added in v1.1.2

Error returns the error string for this fatal error

type ImageChangeController added in v0.2.1

type ImageChangeController struct {
	BuildConfigIndex        oscache.StoreToBuildConfigLister
	BuildConfigInstantiator buildclient.BuildConfigInstantiator
}

ImageChangeController watches for changes to ImageRepositories and triggers builds when a new version of a tag referenced by a BuildConfig is available.

func (*ImageChangeController) HandleImageStream added in v1.4.0

func (c *ImageChangeController) HandleImageStream(stream *imageapi.ImageStream) error

HandleImageStream processes the next ImageStream event.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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