statuscode

package
v0.0.0-...-ed49413 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStatusCode

func GetStatusCode(statusCode string) (string, error)

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.

Jump to

Keyboard shortcuts

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