# Functions
GetDB gets the registered db.
GetNemesis gets the registered nemesis.
MultiChecker assembles multiple checkers.
NewNemesisGenerators ...
NewOneRoundNemesisGenerators ...
RegisterDB registers db.
RegisterNemesis registers nemesis.
# Constants
ContainerKill will random kill the specified container of pod, but retain the pod.
Operation action.
Operation action.
IOChaos adds io chaos.
NetemChaos adds corrupt or other chaos.
NetworkPartition partitions network between nodes.
PDLeaderShuffler will randomly shuffle pds.
PDScheduler adds scheduler.
PodFailure Applies pod failure.
PodKill will random kill a pod, this will make the Node be illegal.
Operation action.
Operation action.
Scaling scales cluster.
TimeChaos means.
# Structs
DelayNemesisGenerator delays nemesis generation after `Delay`.
NemesisControl is used to operate nemesis between the control side and test client side.
NemesisGeneratorRecord is used to record operations generated by NemesisGenerator.Generate.
NemesisOperation is nemesis operation used in control.
NoopChecker is a noop checker.
NoopClientCreator creates a noop client.
NoopDB is a DB but does nothing.
OneRoundNemesisGenerators is easier than nemesisGenerators, and suitable in cases that need to interact between client and control.
Operation of a data object.
# Interfaces
Checker checks a history of operations.
Client applies the request to the database.
ClientCreator creates a client.
DB allows to set up and tear down database.
Model specifies the behavior of a data object.
Nemesis injects failure and disturbs the database.
NemesisGenerator is used in control, it will generate a nemesis operation and then the control can use it to disturb the cluster.
NemesisGenerators is a NemesisGenerator iterator.
UnknownResponse means we don't know whether this operation succeeds or not.
# Type aliases
ChaosKind is the kind of applying chaos.