lib

package
v0.0.0-...-7e08c69 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 22 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTargetIps

func GetTargetIps(targetIPs, targetHosts string, clients clients.ClientSets, serviceMesh bool) (string, error)

GetTargetIps return the comma separated target ips It fetches the ips from the target ips (if defined by users) it appends the ips from the host, if target host is provided

func PrepareAndInjectChaos

func PrepareAndInjectChaos(ctx context.Context, experimentsDetails *experimentTypes.ExperimentDetails, clients clients.ClientSets, resultDetails *types.ResultDetails, eventsDetails *types.EventDetails, chaosDetails *types.ChaosDetails, args string) error

PrepareAndInjectChaos contains the preparation & injection steps

func SetChaosTunables

func SetChaosTunables(experimentsDetails *experimentTypes.ExperimentDetails)

SetChaosTunables will set up a random value within a given range of values If the value is not provided in range it'll set up the initial provided value.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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