builder

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ReconcilerName is the name of the reconciler
	ReconcilerName = "Builders"
)

Variables

This section is empty.

Functions

func NewController

func NewController(
	opt reconciler.Options,
	configmapInformer coreinformers.ConfigMapInformer,
	knclusterbuildtemplateInformer knbuildinformers.ClusterBuildTemplateInformer,
) *controller.Impl

NewController initializes the controller and is called by the generated code Registers eventhandlers to enqueue events

Types

type Reconciler

type Reconciler struct {
	*reconciler.Base
	// contains filtered or unexported fields
}

Reconciler implements controller.Reconciler for ConfigMap resources.

func (*Reconciler) Reconcile

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

Reconcile compares the actual state with the desired, and attempts to converge the two. It then updates the Data block of the ConfigMap resource with the current status of the resource.

Jump to

Keyboard shortcuts

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