...

Package iochaos

import "github.com/chaos-mesh/chaos-mesh/controllers/chaosimpl/iochaos"
Overview
Index
Subdirectories

Overview ▾

Variables

var Module = fx.Provide(
    fx.Annotated{
        Group:  "impl",
        Target: NewImpl,
    },
    podiochaosmanager.NewBuilder,
)

func NewImpl

func NewImpl(c client.Client, b *podiochaosmanager.Builder, log logr.Logger) *impltypes.ChaosImplPair

type Impl

type Impl struct {
    client.Client
    Log logr.Logger
    // contains filtered or unexported fields
}

func (*Impl) Apply

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

func (*Impl) Recover

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

Subdirectories

Name Synopsis
..
podiochaosmanager