package
0.0.0-20191024030528-a481964b876e
Repository: https://github.com/divinerapier/learn-kubernetes.git
Documentation: pkg.go.dev

# Functions

New creates and returns a Chaosmonkey, with which the caller should register Tests and call Do.

# Structs

Chaosmonkey is the type that holds the necessary content for chaosmonkey test.
Semaphore is taken by a Test and provides: Ready(), for the Test to call when it's ready for the disruption to start; and StopCh, the closure of which signals to the Test that the disruption is finished.

# Interfaces

Interface can be implemented if you prefer to define tests without dealing with a Semaphore.

# Type aliases

Disruption is the type to construct a Chaosmonkey with; see Do for more information.
Test is the type to register with a Chaosmonkey.