package
0.21.4
Repository: https://github.com/openai/kubernetes.git
Documentation: pkg.go.dev

# Functions

NewChaosRoundTripper creates an http.RoundTripper that will intercept requests based on the provided Chaos functions.
NewSeed creates an object that assists in generating random chaotic events based on a deterministic seed.

# Variables

ErrSimulatedConnectionResetByPeer emulates the golang net error when a connection is reset by a peer.
LogChaos is the default ChaosNotifier and writes a message to the Golang log.

# Structs

Error returns the nested error when C() is invoked.
Seed represents a consistent stream of chaos.

# Interfaces

Chaos intercepts requests to a remote HTTP endpoint and can inject arbitrary failures.
ChaosNotifier notifies another component that the ChaosRoundTripper has simulated a failure.

# Type aliases

ChaosFunc takes an http.Request and decides whether to alter the response.