const ( // AnnotationCleanFinalizer key AnnotationCleanFinalizer = `chaos-mesh.chaos-mesh.org/cleanFinalizer` // AnnotationCleanFinalizerForced value AnnotationCleanFinalizerForced = `forced` )
ControllerCfg is a global variable to keep the configuration for Chaos Controller
var ControllerCfg *config.ChaosControllerConfig
Reconciler for common chaos
type Reconciler struct { reconciler.InnerReconciler client.Client client.Reader Log logr.Logger }
func NewReconciler(reconcile reconciler.InnerReconciler, c client.Client, r client.Reader, log logr.Logger) *Reconciler
NewReconciler would create Reconciler for common chaos
func (r *Reconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)
Reconcile the common chaos