Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStatusCode ¶
GetStatusCode performs two functions: 1. It checks if the status code is provided or not. If it's not then it selects a random status code from supported list 2. It checks if the provided status code is valid or not.
func PodHttpStatusCodeChaos ¶
func PodHttpStatusCodeChaos(ctx context.Context, experimentsDetails *experimentTypes.ExperimentDetails, clients clients.ClientSets, resultDetails *types.ResultDetails, eventsDetails *types.EventDetails, chaosDetails *types.ChaosDetails) error
PodHttpStatusCodeChaos contains the steps to prepare and inject http status code chaos
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.