kpa

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 Imports: 51 Imported by: 5

Documentation

Overview

Package kpa implements a kubernetes controller which tracks revisions and notifies a callback interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(
	ctx context.Context,
	cmw configmap.Watcher,
	deciders resources.Deciders,
) *controller.Impl

NewController returns a new KPA reconcile controller. TODO(mattmoor): Fix the signature to adhere to the injection type.

Types

type Reconciler

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

Reconciler tracks PAs and right sizes the ScaleTargetRef based on the information from Deciders.

func (*Reconciler) ObserveDeletion added in v0.23.0

func (c *Reconciler) ObserveDeletion(ctx context.Context, key types.NamespacedName) error

ObserveDeletion implements OnDeletionInterface.ObserveDeletion.

func (*Reconciler) ReconcileKind added in v0.13.0

ReconcileKind implements Interface.ReconcileKind.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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