controllers

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddControllers

func AddControllers(ctx context.Context, opts Options) error

AddControllers adds all internal controllers.

Types

type Options

type Options struct {
	// Log is the shared logger used by controllers.
	Log logr.Logger

	// Manager is the controller-runtime manager that controllers will be added
	// to.
	Manager manager.Manager

	// Evaluators is the list of registered Approver Evaluators that  will be
	// used to build the approver manager.
	Evaluators []approver.Evaluator

	// Reconcilers is the list of registered Approver Reconcilers that  will be
	// used to manager CertificateRequestPolicy Ready conditions.
	Reconcilers []approver.Reconciler
}

Options hold options for the internal approver-policy controllers.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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