Documentation ¶
Index ¶
- func GetTargetIps(targetIPs, targetHosts string, clients clients.ClientSets, serviceMesh bool) (string, error)
- func PrepareAndInjectChaos(ctx context.Context, experimentsDetails *experimentTypes.ExperimentDetails, ...) error
- func SetChaosTunables(experimentsDetails *experimentTypes.ExperimentDetails)
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.
Click to show internal directories.
Click to hide internal directories.