chaos

package
v0.0.0-...-d89597d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chaos

type Chaos struct {
	// contains filtered or unexported fields
}

Chaos knows how to operate the chaos provided by pingcap/chaos-mesh

func New

func New(cli client.Client) *Chaos

func (*Chaos) ApplyIOChaos

func (c *Chaos) ApplyIOChaos(ioc *v1alpha1.IoChaos) error

func (*Chaos) ApplyNetChaos

func (c *Chaos) ApplyNetChaos(nc *v1alpha1.NetworkChaos) error

func (*Chaos) ApplyPodChaos

func (c *Chaos) ApplyPodChaos(pc *v1alpha1.PodChaos) error

func (*Chaos) CancelIOChaos

func (c *Chaos) CancelIOChaos(ioc *v1alpha1.IoChaos) error

func (*Chaos) CancelNetChaos

func (c *Chaos) CancelNetChaos(nc *v1alpha1.NetworkChaos) error

func (*Chaos) CancelPodChaos

func (c *Chaos) CancelPodChaos(pc *v1alpha1.PodChaos) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL