package
Version:
v0.0.0-tn
Opens a new window with list of versions in this module.
Published: Sep 13, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
type Teardown
-
func Fail(cctx *testcontext.Context, name string, pods ...string) (Teardown, error)
-
func Partition2(ctx *testcontext.Context, name string, a, b []string) (Teardown, error)
-
func Timeskew(cctx *testcontext.Context, name, offset string, pods ...string) (Teardown, error)
Teardown is returned by every chaos action and executed
by the caller once chaos needs to be stopped.
Fail the list of pods and prevents them from respawning until teardown is called.
Partition2 partitions pods in array a from pods in array b.
Timeskew adjusts CLOCK_REALTIME on the specified pods by the offset.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.