Documentation ¶
Index ¶
- Constants
- func NewKillProcessActionCommandSpec() spec.ExpActionCommandSpec
- func NewProcessCommandModelSpec() spec.ExpModelCommandSpec
- func NewProcessLoadActionCommandSpec() spec.ExpActionCommandSpec
- func NewStopProcessActionCommandSpec() spec.ExpActionCommandSpec
- type KillProcessActionCommandSpec
- type KillProcessExecutor
- type ProcessCommandModelSpec
- type ProcessLoadActionCommandSpec
- type ProcessLoadExecutor
- type StopProcessActionCommandSpec
- type StopProcessExecutor
Constants ¶
View Source
const KillProcessBin = "chaos_killprocess"
View Source
const ProcessLoadBin = "chaos_processload"
View Source
const StopProcessBin = "chaos_stopprocess"
Variables ¶
This section is empty.
Functions ¶
func NewKillProcessActionCommandSpec ¶
func NewKillProcessActionCommandSpec() spec.ExpActionCommandSpec
func NewProcessCommandModelSpec ¶
func NewProcessCommandModelSpec() spec.ExpModelCommandSpec
func NewProcessLoadActionCommandSpec ¶ added in v1.7.4
func NewProcessLoadActionCommandSpec() spec.ExpActionCommandSpec
func NewStopProcessActionCommandSpec ¶
func NewStopProcessActionCommandSpec() spec.ExpActionCommandSpec
Types ¶
type KillProcessActionCommandSpec ¶
type KillProcessActionCommandSpec struct {
spec.BaseExpActionCommandSpec
}
func (*KillProcessActionCommandSpec) Aliases ¶
func (*KillProcessActionCommandSpec) Aliases() []string
func (*KillProcessActionCommandSpec) Categories ¶
func (*KillProcessActionCommandSpec) Categories() []string
func (*KillProcessActionCommandSpec) LongDesc ¶
func (k *KillProcessActionCommandSpec) LongDesc() string
func (*KillProcessActionCommandSpec) Name ¶
func (*KillProcessActionCommandSpec) Name() string
func (*KillProcessActionCommandSpec) ShortDesc ¶
func (*KillProcessActionCommandSpec) ShortDesc() string
type KillProcessExecutor ¶
type KillProcessExecutor struct {
// contains filtered or unexported fields
}
func (*KillProcessExecutor) Name ¶
func (kpe *KillProcessExecutor) Name() string
func (*KillProcessExecutor) SetChannel ¶
func (kpe *KillProcessExecutor) SetChannel(channel spec.Channel)
type ProcessCommandModelSpec ¶
type ProcessCommandModelSpec struct {
spec.BaseExpModelCommandSpec
}
func (*ProcessCommandModelSpec) LongDesc ¶
func (*ProcessCommandModelSpec) LongDesc() string
func (*ProcessCommandModelSpec) Name ¶
func (*ProcessCommandModelSpec) Name() string
func (*ProcessCommandModelSpec) ShortDesc ¶
func (*ProcessCommandModelSpec) ShortDesc() string
type ProcessLoadActionCommandSpec ¶ added in v1.7.4
type ProcessLoadActionCommandSpec struct {
spec.BaseExpActionCommandSpec
}
func (*ProcessLoadActionCommandSpec) Aliases ¶ added in v1.7.4
func (*ProcessLoadActionCommandSpec) Aliases() []string
func (*ProcessLoadActionCommandSpec) Categories ¶ added in v1.7.4
func (*ProcessLoadActionCommandSpec) Categories() []string
func (*ProcessLoadActionCommandSpec) LongDesc ¶ added in v1.7.4
func (l *ProcessLoadActionCommandSpec) LongDesc() string
func (*ProcessLoadActionCommandSpec) Name ¶ added in v1.7.4
func (*ProcessLoadActionCommandSpec) Name() string
func (*ProcessLoadActionCommandSpec) ShortDesc ¶ added in v1.7.4
func (*ProcessLoadActionCommandSpec) ShortDesc() string
type ProcessLoadExecutor ¶ added in v1.7.4
type ProcessLoadExecutor struct {
// contains filtered or unexported fields
}
func (*ProcessLoadExecutor) Name ¶ added in v1.7.4
func (pl *ProcessLoadExecutor) Name() string
func (*ProcessLoadExecutor) SetChannel ¶ added in v1.7.4
func (pl *ProcessLoadExecutor) SetChannel(channel spec.Channel)
type StopProcessActionCommandSpec ¶
type StopProcessActionCommandSpec struct {
spec.BaseExpActionCommandSpec
}
func (*StopProcessActionCommandSpec) Aliases ¶
func (*StopProcessActionCommandSpec) Aliases() []string
func (*StopProcessActionCommandSpec) LongDesc ¶
func (s *StopProcessActionCommandSpec) LongDesc() string
func (*StopProcessActionCommandSpec) Name ¶
func (*StopProcessActionCommandSpec) Name() string
func (*StopProcessActionCommandSpec) ShortDesc ¶
func (*StopProcessActionCommandSpec) ShortDesc() string
type StopProcessExecutor ¶
type StopProcessExecutor struct {
// contains filtered or unexported fields
}
func (*StopProcessExecutor) Name ¶
func (spe *StopProcessExecutor) Name() string
func (*StopProcessExecutor) SetChannel ¶
func (spe *StopProcessExecutor) SetChannel(channel spec.Channel)
Click to show internal directories.
Click to hide internal directories.