reconciler

package
v0.0.0-...-4fc8c9b Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package reconciler defines implementations of the Reconciler interface defined at knative.dev/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

View Source
const (
	// KubectlLastAppliedAnnotationKey is the key used by kubectl to store its last applied configuration (using kubectl apply)
	KubectlLastAppliedAnnotationKey = "kubectl.kubernetes.io/last-applied-configuration"
)

Variables

This section is empty.

Functions

func IsYoungResource

func IsYoungResource(obj kmeta.Accessor) bool

IsYoungResource checks whether the resource is younger than minimumResourceAge, based on its creation timestamp.

Types

This section is empty.

Directories

Path Synopsis
Package events defines the interface and different implementations for events
Package events defines the interface and different implementations for events
notifications
pipeline
dag
Package resolutionrequest provides a reconciler for ResolutionRequest objects.
Package resolutionrequest provides a reconciler for ResolutionRequest objects.

Jump to

Keyboard shortcuts

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