...

Package networkchaos

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

Overview ▾

Variables

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

func NewImpl

func NewImpl(impl Impl) *impltypes.ChaosImplPair

type Impl

type Impl struct {
    fx.In

    TrafficControl *trafficcontrol.Impl `action:"bandwidth,netem,delay,loss,duplicate,corrupt"`
    Partition      *partition.Impl      `action:"partition"`
}

Subdirectories