var Module = fx.Provide( fx.Annotated{ Group: "impl", Target: NewImpl, }, trafficcontrol.NewImpl, partition.NewImpl, podnetworkchaosmanager.NewBuilder, )
func NewImpl(impl Impl) *common.ChaosImplPair
type Impl struct {
fx.In
TrafficControl *trafficcontrol.Impl `action:"bandwidth,netem,delay,loss,duplicate,corrupt"`
Partition *partition.Impl `action:"partition"`
}
| Name | Synopsis |
|---|---|
| .. | |
| partition | |
| podnetworkchaosmanager | |
| trafficcontrol | |