Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CleanupFinalizer ensures that plugin Helm releases are properly garbage collected. CleanupFinalizer = "validator/cleanup" // PluginValuesHash is an annotation key added to a ValidatorConfig to determine whether 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)
Reconcile reconciles a ValidationResult.
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.Client HelmReleaseClient helmrelease.Client 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)
Reconcile reconciles a ValidatorConfig.
func (*ValidatorConfigReconciler) SetupWithManager ¶
func (r *ValidatorConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.