...

Package action

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

Overview ▾

type Delegate

type Delegate struct {
    // contains filtered or unexported fields
}

func New

func New(impl interface{}) Delegate

func (*Delegate) Apply

func (i *Delegate) Apply(ctx context.Context, index int, records []*v1alpha1.Record, obj v1alpha1.InnerObject) (v1alpha1.Phase, error)

func (*Delegate) Recover

func (i *Delegate) Recover(ctx context.Context, index int, records []*v1alpha1.Record, obj v1alpha1.InnerObject) (v1alpha1.Phase, error)