chaos

package
v0.0.0-...-c6ffef3 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Teardown

type Teardown func(context.Context) error

Teardown is returned by every chaos action and executed by the caller once chaos needs to be stopped.

func Fail

func Fail(cctx *testcontext.Context, name string, pods ...string) (Teardown, error)

Fail the list of pods and prevents them from respawning until teardown is called.

func Partition2

func Partition2(ctx *testcontext.Context, name string, a, b []string) (Teardown, error)

Partition2 partitions pods in array a from pods in array b.

Jump to

Keyboard shortcuts

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