type ChaosImpl interface { Apply(ctx context.Context, index int, records []*v1alpha1.Record, obj v1alpha1.InnerObject) (v1alpha1.Phase, error) Recover(ctx context.Context, index int, records []*v1alpha1.Record, obj v1alpha1.InnerObject) (v1alpha1.Phase, error) }
type ChaosImplPair struct { Name string Object v1alpha1.InnerObjectWithSelector Impl ChaosImpl ObjectList v1alpha1.GenericChaosList Controlls []client.Object }