resourcecontext

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr ctrl.Manager) error

func AddToMgr

func AddToMgr(mgr ctrl.Manager, r reconcile.Reconciler) error

func InitExpectations

func InitExpectations(c client.Client)

func NewReconciler

func NewReconciler(mgr ctrl.Manager) reconcile.Reconciler

NewReconciler returns a new reconcile.Reconciler

Types

type ExpectationEventHandler

type ExpectationEventHandler struct {
}

func (*ExpectationEventHandler) Create

Create is called in response to an create event - e.g. Pod Creation.

func (*ExpectationEventHandler) Delete

Delete is called in response to a delete event - e.g. Pod Deleted.

func (*ExpectationEventHandler) Generic

Generic is called in response to an event of an unknown type or a synthetic event triggered as a cron or external trigger request - e.g. reconcile Autoscaling, or a Webhook.

func (*ExpectationEventHandler) Update

Update is called in response to an update event - e.g. Pod Updated.

type ResourceContextReconciler

type ResourceContextReconciler struct {
	*mixin.ReconcilerMixin
}

ResourceContextReconciler reconciles and reclaims a ResourceContext object

func (*ResourceContextReconciler) Reconcile

Reconcile aims to reclaim ResourceContext which is not in used which means the ResourceContext contains no Context.

Jump to

Keyboard shortcuts

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