orchestra

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner interface {
	// Execute will run the game plan and load all the required services
	Execute(plan *types.Plan) error

	// Shutdown is an idempotent operation that will
	// ensure the stared skirmish will cancel straight away
	Shutdown() error
}

Runner defines the operation for the orchestration of chaos

func NewRunner

func NewRunner(ctx context.Context, cancel context.CancelFunc, logger *zap.Logger) (Runner, error)

NewRunner returns an orchestrator configured to party

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL