Documentation ¶
Index ¶
- Constants
- func NewConfigActionSpec() spec.ExpActionCommandSpec
- func NewCrashActionSpec() spec.ExpActionCommandSpec
- func NewNginxCommandSpec() spec.ExpModelCommandSpec
- func NewResponseActionSpec() spec.ExpActionCommandSpec
- func NewRestartActionSpec() spec.ExpActionCommandSpec
- type ConfigActionSpec
- type CrashActionSpec
- type NginxCommandSpec
- type NginxConfigExecutor
- type NginxCrashExecutor
- type NginxResponseExecutor
- type NginxRestartExecutor
- type ResponseActionSpec
- type RestartActionSpec
Constants ¶
View Source
const (
NginxConfigBin = "chaos_nginxconfig"
)
View Source
const NginxCrashBin = "chaos_nginxcrash"
View Source
const (
NginxResponseBin = "chaos_nginxresponse"
)
View Source
const NginxRestartBin = "chaos_nginxrestart"
Variables ¶
This section is empty.
Functions ¶
func NewConfigActionSpec ¶
func NewConfigActionSpec() spec.ExpActionCommandSpec
func NewCrashActionSpec ¶
func NewCrashActionSpec() spec.ExpActionCommandSpec
func NewNginxCommandSpec ¶
func NewNginxCommandSpec() spec.ExpModelCommandSpec
func NewResponseActionSpec ¶
func NewResponseActionSpec() spec.ExpActionCommandSpec
func NewRestartActionSpec ¶
func NewRestartActionSpec() spec.ExpActionCommandSpec
Types ¶
type ConfigActionSpec ¶
type ConfigActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*ConfigActionSpec) Aliases ¶
func (*ConfigActionSpec) Aliases() []string
func (*ConfigActionSpec) LongDesc ¶
func (d *ConfigActionSpec) LongDesc() string
func (*ConfigActionSpec) Name ¶
func (*ConfigActionSpec) Name() string
func (*ConfigActionSpec) ShortDesc ¶
func (*ConfigActionSpec) ShortDesc() string
type CrashActionSpec ¶
type CrashActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*CrashActionSpec) Aliases ¶
func (*CrashActionSpec) Aliases() []string
func (*CrashActionSpec) LongDesc ¶
func (d *CrashActionSpec) LongDesc() string
func (*CrashActionSpec) Name ¶
func (*CrashActionSpec) Name() string
func (*CrashActionSpec) ShortDesc ¶
func (*CrashActionSpec) ShortDesc() string
type NginxCommandSpec ¶
type NginxCommandSpec struct {
spec.BaseExpModelCommandSpec
}
func (*NginxCommandSpec) LongDesc ¶
func (*NginxCommandSpec) LongDesc() string
func (*NginxCommandSpec) Name ¶
func (*NginxCommandSpec) Name() string
func (*NginxCommandSpec) ShortDesc ¶
func (*NginxCommandSpec) ShortDesc() string
type NginxConfigExecutor ¶
type NginxConfigExecutor struct {
// contains filtered or unexported fields
}
func (*NginxConfigExecutor) Name ¶
func (*NginxConfigExecutor) Name() string
func (*NginxConfigExecutor) SetChannel ¶
func (ng *NginxConfigExecutor) SetChannel(channel spec.Channel)
type NginxCrashExecutor ¶
type NginxCrashExecutor struct {
// contains filtered or unexported fields
}
func (*NginxCrashExecutor) Name ¶
func (*NginxCrashExecutor) Name() string
func (*NginxCrashExecutor) SetChannel ¶
func (ng *NginxCrashExecutor) SetChannel(channel spec.Channel)
type NginxResponseExecutor ¶
type NginxResponseExecutor struct {
// contains filtered or unexported fields
}
func (*NginxResponseExecutor) Name ¶
func (*NginxResponseExecutor) Name() string
func (*NginxResponseExecutor) SetChannel ¶
func (ng *NginxResponseExecutor) SetChannel(channel spec.Channel)
type NginxRestartExecutor ¶
type NginxRestartExecutor struct {
// contains filtered or unexported fields
}
func (*NginxRestartExecutor) Name ¶
func (*NginxRestartExecutor) Name() string
func (*NginxRestartExecutor) SetChannel ¶
func (ng *NginxRestartExecutor) SetChannel(channel spec.Channel)
type ResponseActionSpec ¶
type ResponseActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*ResponseActionSpec) Aliases ¶
func (*ResponseActionSpec) Aliases() []string
func (*ResponseActionSpec) LongDesc ¶
func (d *ResponseActionSpec) LongDesc() string
func (*ResponseActionSpec) Name ¶
func (*ResponseActionSpec) Name() string
func (*ResponseActionSpec) ShortDesc ¶
func (*ResponseActionSpec) ShortDesc() string
type RestartActionSpec ¶
type RestartActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*RestartActionSpec) Aliases ¶
func (*RestartActionSpec) Aliases() []string
func (*RestartActionSpec) LongDesc ¶
func (d *RestartActionSpec) LongDesc() string
func (*RestartActionSpec) Name ¶
func (*RestartActionSpec) Name() string
func (*RestartActionSpec) ShortDesc ¶
func (*RestartActionSpec) ShortDesc() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.