Discover Packages
git.scbeta.com/libopenstorage/openstorage
pkg
chaos
package
Version:
v9.4.20+incompatible
Opens a new window with list of versions in this module.
Published: Jun 9, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
var (
ErrNoEnt = errors .New ("ID does not exist")
ErrChaos = errors .New ("Chaos generated error")
)
func Activate(activate bool )
Activate activates chaos points in the system.
Disable chaos point identified by ID.
Enable chaos point identified by ID.
Now will trigger chaos point if it is enabled.
Action to take when a chaos point is triggered.
Chaos represents an instance of a chaos point
Enumerate all chaos points in the system for specified package.
If the pkg is "" enumerate all chaos points.
ID identifies a chaos point.
Add new chaos point. The ID returned can be used to perform operations on this Chaos Point.
When defines when a chaos point is triggered
Source Files
¶
Click to show internal directories.
Click to hide internal directories.