Versions in this module Expand all Collapse all v1 v1.0.0 Dec 17, 2020 Changes in this version + func NewContainerKillGenerator(name string) core.NemesisGenerator + func NewCoordinationKillGenerator(nodes []cluster.Node) (core.NemesisGenerator, *core.NemesisControl) + func NewIOChaosGenerator(name string) core.NemesisGenerator + func NewKillGenerator(name string) core.NemesisGenerator + func NewLeaderShuffleGenerator(name string) *leaderShuffleGenerator + func NewNetemChaos(name string) core.NemesisGenerator + func NewNetworkPartitionGenerator(name string) core.NemesisGenerator + func NewPodKillGenerator(name string) core.NemesisGenerator + func NewScalingGenerator(name string) core.NemesisGenerator + func NewSchedulerGenerator(name string) *schedulerGenerator + func NewTimeChaos(name string) core.NemesisGenerator + type Chaos struct + func New(cli client.Client) *Chaos + func (c *Chaos) ApplyIOChaos(ioc *v1alpha1.IoChaos) error + func (c *Chaos) ApplyNetChaos(nc *v1alpha1.NetworkChaos) error + func (c *Chaos) ApplyPodChaos(ctx context.Context, pc *v1alpha1.PodChaos) error + func (c *Chaos) ApplyTimeChaos(ctx context.Context, pc *v1alpha1.TimeChaos) error + func (c *Chaos) CancelIOChaos(ioc *v1alpha1.IoChaos) error + func (c *Chaos) CancelNetChaos(nc *v1alpha1.NetworkChaos) error + func (c *Chaos) CancelPodChaos(ctx context.Context, pc *v1alpha1.PodChaos) error + func (c *Chaos) CancelTimeChaos(ctx context.Context, pc *v1alpha1.TimeChaos) error + type IOChaosGenerator struct + func (g IOChaosGenerator) Generate(nodes []cluster.Node) []*core.NemesisOperation + func (g IOChaosGenerator) Name() string + type LeaderShuffler struct + func NewLeaderShuffler(pdAddr string, regionKey string) *LeaderShuffler + func (l *LeaderShuffler) Invoke(ctx context.Context, node *cluster.Node, args ...interface{}) error + func (l *LeaderShuffler) Recover(ctx context.Context, node *cluster.Node, args ...interface{}) error + func (l *LeaderShuffler) ShuffleLeader() error + func (l LeaderShuffler) Name() string