Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChaosEngineReconciler ¶
type ChaosEngineReconciler struct { // This client, initialized using mgr.Client() above, is a split client // that reads objects from the cache and writes to the apiserver client.Client // Used for serializing and deserializing API objects(group, version, and kind) Scheme *runtime.Scheme // recorder is an event recorder for recording Event resources to the // Kubernetes API. Recorder record.EventRecorder }
ChaosEngineReconciler reconciles a ChaosEngine object
func (*ChaosEngineReconciler) Reconcile ¶
func (r *ChaosEngineReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile reads that state of the cluster for a ChaosEngine object and makes changes based on the state read and what is in the ChaosEngine.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 (*ChaosEngineReconciler) SetupWithManager ¶
func (r *ChaosEngineReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.