buildtemplate

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMissingImageCaches

func CreateMissingImageCaches(ctx context.Context, client cachingclientset.Interface,
	desired []caching.Image, observed []*caching.Image) error

func NewController

func NewController(
	logger *zap.SugaredLogger,
	kubeclientset kubernetes.Interface,
	buildclientset clientset.Interface,
	cachingclientset cachingclientset.Interface,
	buildTemplateInformer informers.BuildTemplateInformer,
	imageInformer cachinginformers.ImageInformer,
) *controller.Impl

NewController returns a new build template controller

Types

type Reconciler

type Reconciler struct {

	// Sugared logger is easier to use but is not as performant as the
	// raw logger. In performance critical paths, call logger.Desugar()
	// and use the returned raw logger instead. In addition to the
	// performance benefits, raw logger also preserves type-safety at
	// the expense of slightly greater verbosity.
	Logger *zap.SugaredLogger
	// contains filtered or unexported fields
}

Reconciler is the controller.Reconciler implementation for BuildTemplates resources

func (*Reconciler) Reconcile

func (c *Reconciler) Reconcile(ctx context.Context, key string) error

Reconcile implements controller.Reconciler

Directories

Path Synopsis
names
Package names holds simple functions for synthesizing resource names.
Package names holds simple functions for synthesizing resource names.

Jump to

Keyboard shortcuts

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