Directories
¶
| Path | Synopsis |
|---|---|
|
adapter
|
|
|
http
Package http wraps an http.RoundTripper so outbound client calls are subject to chaos.
|
Package http wraps an http.RoundTripper so outbound client calls are subject to chaos. |
|
httpsrv
Package httpsrv provides net/http middleware that subjects inbound requests to chaos.
|
Package httpsrv provides net/http middleware that subjects inbound requests to chaos. |
|
sql
Package sql wraps a database/sql driver so calls are subject to chaos.
|
Package sql wraps a database/sql driver so calls are subject to chaos. |
|
Package chaos provides explicit injection points: chaos.Point(ctx, name) consults the engine bound to ctx and returns a fault error (or nil) at a place no adapter wraps - between two pure functions, inside a goroutine, at a state-machine transition.
|
Package chaos provides explicit injection points: chaos.Point(ctx, name) consults the engine bound to ctx and returns a fault error (or nil) at a place no adapter wraps - between two pure functions, inside a goroutine, at a state-machine transition. |
|
Package chaostest provides testing.TB integration helpers for chaotic.
|
Package chaostest provides testing.TB integration helpers for chaotic. |
|
quick
Package quick provides opinionated one-line shortcuts for the most common chaos test setups.
|
Package quick provides opinionated one-line shortcuts for the most common chaos test setups. |
|
Package engine holds the rules and decision logic that adapters consult on every wrapped operation.
|
Package engine holds the rules and decision logic that adapters consult on every wrapped operation. |
|
Package fault defines the fault primitives that rules execute when they fire.
|
Package fault defines the fault primitives that rules execute when they fire. |
Click to show internal directories.
Click to hide internal directories.