chaos

package
v1.28.5 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FOREVER = ptr.Ptr("999h")
)

Functions

func NewContainerKill

func NewContainerKill(namespace string, props *Props) (cdk8s.App, string, string)

func NewFailContainers

func NewFailContainers(namespace string, props *Props) (cdk8s.App, string, string)

func NewFailPods

func NewFailPods(namespace string, props *Props) (cdk8s.App, string, string)

func NewKillPods

func NewKillPods(namespace string, props *Props) (cdk8s.App, string, string)

func NewNetworkLatency

func NewNetworkLatency(namespace string, props *Props) (cdk8s.App, string, string)

func NewNetworkPartition

func NewNetworkPartition(namespace string, props *Props) (cdk8s.App, string, string)

Types

type ManifestFunc

type ManifestFunc func(namespace string, props *Props) (cdk8s.App, string, string)

type Props

type Props struct {
	LabelsSelector *map[string]*string
	ContainerNames *[]*string
	DurationStr    string
	Delay          string
	FromLabels     *map[string]*string
	ToLabels       *map[string]*string
}

Jump to

Keyboard shortcuts

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