ChaosStages

Types

Link copied to clipboard
class Variable(current: Stage = Wait) : Function1<Request, Filter?>

Provide a means of modifying a ChaosBehaviour at runtime.

Link copied to clipboard
data object Wait : Function1<Request, Filter?>

Does not apply any ChaosBehaviour.

Functions

Link copied to clipboard
fun Repeat(newStageFn: () -> Stage): Stage

Repeats a stage (or composite stage in repeating pattern). Since ChaosStages are STATEFUL, the stage function will be fired on each iteration and expecting a NEW instance.