chaos

package
v0.0.0-...-e062edb Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Must be invoked

Types

type Chaos

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

func New

func New() *Chaos

func (*Chaos) AddMatchers

func (c *Chaos) AddMatchers(matchers ...matcher.Matcher)

func (*Chaos) Matchers

func (c *Chaos) Matchers() map[string]matcher.Matcher

func (*Chaos) Name

func (c *Chaos) Name() string

func (*Chaos) Set

func (c *Chaos) Set(ctx context.Context, action action.Action) response.Response

func (*Chaos) SetWithIndex

func (c *Chaos) SetWithIndex(ctx context.Context, actionIndex int, act action.Action) response.Response

是否

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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