workgenerator

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 36 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
	// 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