reconciler

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 69

Documentation

Overview

Package reconciler defines implementations of the Reconciler interface defined at github.com/knative/pkg/controller.Reconciler. These implement the basic workhorse functionality of controllers, while leaving the shared controller implementation to manage things like the workqueue.

Despite defining a Reconciler, each of the packages here are expected to expose a controller constructor like:

func NewController(...) *controller.Impl { ... }

These constructors will:

  1. Construct the Reconciler,
  2. Construct a controller.Impl with that Reconciler,
  3. Wire the assorted informers this Reconciler watches to call appropriate enqueue methods on the controller.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnnotateLoggerWithName added in v0.13.0

func AnnotateLoggerWithName(ctx context.Context, name string) context.Context

AnnotateLoggerWithName names the logger in the context with the supplied name

Deprecated - this is a stop gap until the generated reconcilers can do this automatically for you

Types

This section is empty.

Directories

Path Synopsis
gc
Package labeler holds the logic that applies Route labels to Configurations to implement knative/serving#226.
Package labeler holds the logic that applies Route labels to Configurations to implement knative/serving#226.
Package route implements a kubernetes controller which tracks Route resource and reconcile Ingress as its child resource.
Package route implements a kubernetes controller which tracks Route resource and reconcile Ingress as its child resource.
testing

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳