controller

package
v0.0.38 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// A finalizer added to a ValidatorConfig to ensure that plugin Helm releases are properly garbage collected
	CleanupFinalizer = "validator/cleanup"

	// An annotation added to a ValidatorConfig to determine whether or not to update a plugin's Helm release
	PluginValuesHash = "validator/plugin-values"
)
View Source
const ValidationResultHash = "validator/validation-result-hash"

ValidationResultHash is used to determine whether to re-emit updates to a validation result sink.

Variables

This section is empty.

Functions

This section is empty.

Types

type ValidationResultReconciler

type ValidationResultReconciler struct {
	client.Client
	Log        logr.Logger
	Namespace  string
	Scheme     *runtime.Scheme
	SinkClient *sinks.Client
}

ValidationResultReconciler reconciles a ValidationResult object

func (*ValidationResultReconciler) Reconcile

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

func (*ValidationResultReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ValidatorConfigReconciler

type ValidatorConfigReconciler struct {
	client.Client
	HelmClient        helm.HelmClient
	HelmSecretsClient helm.SecretsClient
	Log               logr.Logger
	Scheme            *runtime.Scheme
}

ValidatorConfigReconciler reconciles a ValidatorConfig object

func (*ValidatorConfigReconciler) Reconcile

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

func (*ValidatorConfigReconciler) SetupWithManager

func (r *ValidatorConfigReconciler) 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