func Step(ctx *pipeline.PipelineContext) reconcile.Reconciler
type Operation string
const (
Apply Operation = "apply"
Recover Operation = "recover"
Nothing Operation = ""
)
Reconciler for chaos records
type Reconciler struct {
Impl types.ChaosImpl
// 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
client.Reader
Recorder recorder.ChaosRecorder
Selector *selector.Selector
Log logr.Logger
}
func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile the chaos records