Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Re2Prefix re2 regexp string prefix
Re2Prefix = "re2:"
)
Variables ¶
View Source
var ( // DockerClient Docker client instance DockerClient container.Client )
Functions ¶
func RunChaosCommand ¶
func RunChaosCommand(topContext context.Context, command Command, params *GlobalParams) error
RunChaosCommand run chaos command in go routine
Types ¶
type GlobalParams ¶
type GlobalParams struct { Random bool Labels []string Pattern string Names []string Interval time.Duration DryRun bool SkipErrors bool }
GlobalParams global parameters passed through CLI flags
func ParseGlobalParams ¶
func ParseGlobalParams(c *cli.Context) (*GlobalParams, error)
ParseGlobalParams parse global parameters
Click to show internal directories.
Click to hide internal directories.