Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AnnotationCleanFinalizer key AnnotationCleanFinalizer = `chaos-mesh.chaos-mesh.org/cleanFinalizer` // AnnotationCleanFinalizerForced value AnnotationCleanFinalizerForced = `forced` RecordFinalizer = "chaos-mesh/records" )
Variables ¶
This section is empty.
Functions ¶
func CleanStep ¶
func CleanStep(ctx *pipeline.PipelineContext) reconcile.Reconciler
func ContainsFinalizer ¶
ContainsFinalizer checks an Object that the provided finalizer is present.
func InitStep ¶
func InitStep(ctx *pipeline.PipelineContext) reconcile.Reconciler
Types ¶
type CleanReconciler ¶
type CleanReconciler struct {
ReconcilerMeta
}
CleanReconciler for common chaos to clean the finalizer
type InitReconciler ¶
type InitReconciler struct {
ReconcilerMeta
}
InitReconciler for common chaos to init the finalizer
type ReconcilerMeta ¶
type ReconcilerMeta struct { // Object is used to mark the target type of this Reconciler Object v1alpha1.InnerObject // Client is used to operate on the Kubernetes cluster client.Client Recorder recorder.ChaosRecorder Log logr.Logger }
ReconcilerMeta defines the meta of InitReconciler and CleanReconciler struct.
Click to show internal directories.
Click to hide internal directories.