Documentation ¶
Index ¶
- Constants
- func NewKillProcessActionCommandSpec() spec.ExpActionCommandSpec
- func NewProcessCommandModelSpec() spec.ExpModelCommandSpec
- func NewStopProcessActionCommandSpec() spec.ExpActionCommandSpec
- type KillProcessActionCommandSpec
- type KillProcessExecutor
- type ProcessCommandModelSpec
- type StopProcessActionCommandSpec
- type StopProcessExecutor
Constants ¶
View Source
const KillProcessBin = "chaos_killprocess"
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 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 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.