workgenerator

package
v0.10.8 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 44 Imported by: 0

Documentation

Overview

Package workgenerator features a controller to generate work objects based on resource binding objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	client.Client
	// the max number of concurrent reconciles per controller.
	MaxConcurrentReconciles int

	// the informer contains the cache for all the resources we need.
	// to check the resource scope
	InformerManager informer.Manager
	// contains filtered or unexported fields
}

Reconciler watches binding objects and generate work objects in the designated cluster namespace according to the information in the binding objects. TODO: incorporate an overriding policy if one exists

func (*Reconciler) Reconcile

Reconcile triggers a single binding reconcile round.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr controllerruntime.Manager) error

SetupWithManager sets up the controller with the Manager. It watches binding events and also update/delete events for work.

Jump to

Keyboard shortcuts

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