Versions in this module Expand all Collapse all v2 v2.1.1 Jan 20, 2023 Changes in this version + type AppConfig struct + Enabled bool + Exceptions []Exception + Grouping Group + MeanTimeBetweenKillsInWorkDays int + MinTimeBetweenKillsInWorkDays int + RegionsAreIndependent bool + Whitelist *[]Exception + func NewAppConfig(exceptions []Exception) AppConfig + type AppConfigGetter interface + Get func(app string) (*AppConfig, error) + type Checker interface + Check func(term Termination, appCfg AppConfig, endHour int, loc *time.Location) error + type Decryptor interface + Decrypt func(ciphertext string) (string, error) + type Env interface + InTest func() bool + type ErrViolatesMinTime struct + InstanceID string + KilledAt time.Time + Loc *time.Location + func (e ErrViolatesMinTime) Error() string + type ErrorCounter interface + Increment func() error + type Exception struct + Account string + Detail string + Region string + Stack string + func (ex Exception) Matches(account, stack, detail, region string) bool + type Group int + const App + const Cluster + const Stack + func (g Group) String() string + type Instance interface + ASGName func() string + AccountName func() string + AppName func() string + CloudProvider func() string + ClusterName func() string + ID func() string + RegionName func() string + StackName func() string + type Outage interface + Outage func() (bool, error) + type Termination struct + Instance Instance + Leashed bool + Time time.Time + type Terminator interface + Execute func(trm Termination) error + type Tracker interface + Track func(t Termination) error Other modules containing this package github.com/Netflix/chaosmonkey