Documentation
¶
Index ¶
Constants ¶
View Source
const ControllerName string = "policy-automation"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyAutomationReconciler ¶
type PolicyAutomationReconciler struct { client.Client DynamicClient dynamic.Interface Scheme *runtime.Scheme Recorder record.EventRecorder // contains filtered or unexported fields }
PolicyAutomationReconciler reconciles a PolicyAutomation object
func (*PolicyAutomationReconciler) Reconcile ¶
func (r *PolicyAutomationReconciler) Reconcile( ctx context.Context, request ctrl.Request, ) (ctrl.Result, error)
Reconcile reads that state of the cluster for a Policy object and makes changes based on the state read and what is in the Policy.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*PolicyAutomationReconciler) SetupWithManager ¶
func (r *PolicyAutomationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.