api

package
Version: v0.0.0-...-72887b2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendArgs

func AppendArgs(args []string, level chaostypes.DisruptionLevel, kind chaostypes.DisruptionKindName, containerIDs []string, sink string, dryRun bool,
	disruptionName string, disruptionNamespace string, targetName string, onInit bool, allowedHosts []string, dnsServer string, kubeDNS string) []string

AppendArgs is a helper function generating common and global args and appending them to the given args array

Types

type DisruptionKind

type DisruptionKind interface {
	// generates CLI args for the given disruption sub-specification
	GenerateArgs() []string

	// validates schema for the given disruption sub-specification
	Validate() error
}

DisruptionKind contains all methods required for a disruption sub-specification (Network, DNS, CPUPressure, etc.)

Directories

Path Synopsis
Package v1beta1 contains API Schema definitions for the chaos v1beta1 API group +kubebuilder:object:generate=true +groupName=chaos.datadoghq.com
Package v1beta1 contains API Schema definitions for the chaos v1beta1 API group +kubebuilder:object:generate=true +groupName=chaos.datadoghq.com

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL