MCPcopy
hub / github.com/Netflix/chaosmonkey / Set

Method Set

config/monkey.go:182–184  ·  view source on GitHub ↗

Set overrides the config value. Used for testing

(key string, value interface{})

Source from the content-addressed store, hash-verified

180
181// Set overrides the config value. Used for testing
182func (m *Monkey) Set(key string, value interface{}) {
183 m.v.Set(key, value)
184}
185
186// readRemoteConfig retrieves config parameters from a remote source
187// If no remote source has been configured, this is a no-op

Callers 15

TestRegisterWithCronFunction · 0.80
TestScheduleCommandFunction · 0.80
initInstallationConfigFunction · 0.80
TestEnabledAccountsFunction · 0.80
mockDepsFunction · 0.80
DepsFunction · 0.80
TestPopulateFunction · 0.80
TestGetStringSliceFunction · 0.80
SetRemoteProviderMethod · 0.80

Calls

no outgoing calls

Tested by 15

TestRegisterWithCronFunction · 0.64
TestScheduleCommandFunction · 0.64
initInstallationConfigFunction · 0.64
TestEnabledAccountsFunction · 0.64
mockDepsFunction · 0.64
TestPopulateFunction · 0.64
TestGetStringSliceFunction · 0.64
TestDefaultCronFunction · 0.64