controller

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddApprover

func AddApprover(ctx context.Context, log logr.Logger, opts Options) error

AddApprover will register the approver controller.

Types

type Options

type Options struct {
	// IssuerRef will be used to match against CertificateRequest that need
	// evaluation.
	IssuerRef cmmeta.ObjectReference

	// Evaluator will be used to evaluate whether CertificateRequests should be
	// Approved or Denied.
	Evaluator evaluator.Interface

	// Manager is a controller-runtime Manager that the Approver controller will
	// be registered against.
	Manager manager.Manager
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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