...

Package common

import "github.com/chaos-mesh/chaos-mesh/controllers/common"
Overview
Index

Overview ▾

Constants

const (
    // AnnotationCleanFinalizer key
    AnnotationCleanFinalizer = `chaos-mesh.chaos-mesh.org/cleanFinalizer`
    // AnnotationCleanFinalizerForced value
    AnnotationCleanFinalizerForced = `forced`
)

type Reconciler

Reconciler for common chaos

type Reconciler struct {
    endpoint.Endpoint
    ctx.Context
}

func NewReconciler

func NewReconciler(req ctrl.Request, e endpoint.Endpoint, ctx ctx.Context) *Reconciler

NewReconciler would create Reconciler for common chaos

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile the common chaos