controllers

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultBundleTimeout = time.Second * 30
)

Functions

func AddManagerIndices

func AddManagerIndices(indexer client.FieldIndexer) error

AddManagerIndices adds the needed manager indices for faster listing of resources

func Register

func Register(mgr manager.Manager, controllerPolicyManager controller.PolicyManager) error

Register registers the webhooks to the manager

Types

type JsPolicyReconciler

type JsPolicyReconciler struct {
	client.Client
	Log     loghelper.Logger
	Scheme  *runtime.Scheme
	Bundler bundle.JavascriptBundler

	ControllerPolicyManager controller.PolicyManager
	CaBundle                []byte
	// contains filtered or unexported fields
}

JsPolicyReconciler reconciles a JsPolicy object

func (*JsPolicyReconciler) Reconcile

func (r *JsPolicyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, reterr error)

Reconcile reads that state of the cluster for an Account object and makes changes based on the state read

func (*JsPolicyReconciler) SetupWithManager

func (r *JsPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager adds the controller to the manager

Jump to

Keyboard shortcuts

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