controllers

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PolicyReconciler

type PolicyReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	PolicyManager vault.PolicyManager
}

PolicyReconciler reconciles a Policy object

func (*PolicyReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*PolicyReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (PolicyReconciler) SpecToRulesString

func (r PolicyReconciler) SpecToRulesString(spec vaultv1alpha1.PolicySpec) (string, error)

type PolicyRequestReconciler

type PolicyRequestReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

PolicyRequestReconciler reconciles a PolicyRequest object

func (*PolicyRequestReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*PolicyRequestReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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