Documentation
¶
Overview ¶
Package deps holds a set of interfaces
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GetTrackers returns a list of trackers // This variable must be set in the init() method of a module imported by // the main module. GetTrackers func(*config.Monkey) ([]chaosmonkey.Tracker, error) // GetErrorCounter returns an error counter GetErrorCounter func(*config.Monkey) (chaosmonkey.ErrorCounter, error) // GetDecryptor returns a decryptor GetDecryptor func(*config.Monkey) (chaosmonkey.Decryptor, error) // GetEnv returns info about the deployed environment GetEnv func(*config.Monkey) (chaosmonkey.Env, error) // GetOutage returns an interface for checking if there is an outage GetOutage func(*config.Monkey) (chaosmonkey.Outage, error) )
Functions ¶
This section is empty.
Types ¶
type Deps ¶
type Deps struct {
MonkeyCfg *config.Monkey
Checker chaosmonkey.Checker
ConfGetter chaosmonkey.AppConfigGetter
Cl clock.Clock
Dep deploy.Deployment
T chaosmonkey.Terminator
Trackers []chaosmonkey.Tracker
Ou chaosmonkey.Outage
ErrCounter chaosmonkey.ErrorCounter
Env chaosmonkey.Env
}
Deps are a common set of external dependencies
Click to show internal directories.
Click to hide internal directories.