Documentation ¶
Index ¶
- Constants
- Variables
- func ConvertOutputToResponse(output string, err error, defaultResponse *spec.Response) *spec.Response
- func NewBurnActionSpec() spec.ExpActionCommandSpec
- func NewCorruptActionSpec() spec.ExpActionCommandSpec
- func NewCpuCommandModelSpec() spec.ExpModelCommandSpec
- func NewDelayActionSpec() spec.ExpActionCommandSpec
- func NewDiskCommandSpec() spec.ExpModelCommandSpec
- func NewDnsActionSpec() spec.ExpActionCommandSpec
- func NewDropActionSpec() spec.ExpActionCommandSpec
- func NewDuplicateActionSpec() spec.ExpActionCommandSpec
- func NewFileAddActionSpec() spec.ExpActionCommandSpec
- func NewFileAppendActionSpec() spec.ExpActionCommandSpec
- func NewFileChmodActionSpec() spec.ExpActionCommandSpec
- func NewFileCommandSpec() spec.ExpModelCommandSpec
- func NewFileDeleteActionSpec() spec.ExpActionCommandSpec
- func NewFileMoveActionSpec() spec.ExpActionCommandSpec
- func NewFillActionSpec() spec.ExpActionCommandSpec
- func NewKernelInjectCommandSpec() spec.ExpModelCommandSpec
- func NewKillProcessActionCommandSpec() spec.ExpActionCommandSpec
- func NewLossActionSpec() spec.ExpActionCommandSpec
- func NewMemCommandModelSpec() spec.ExpModelCommandSpec
- func NewNetworkCommandSpec() spec.ExpModelCommandSpec
- func NewOccupyActionSpec() spec.ExpActionCommandSpec
- func NewProcessCommandModelSpec() spec.ExpModelCommandSpec
- func NewReorderActionSpec() spec.ExpActionCommandSpec
- func NewSSHExecutor() spec.Executor
- func NewScriptCommandModelSpec() spec.ExpModelCommandSpec
- func NewScriptDelayActionCommand() spec.ExpActionCommandSpec
- func NewScriptExitActionCommand() spec.ExpActionCommandSpec
- func NewStopProcessActionCommandSpec() spec.ExpActionCommandSpec
- func NewStraceDelayActionSpec() spec.ExpActionCommandSpec
- func NewStraceErrorActionSpec() spec.ExpActionCommandSpec
- type BurnActionSpec
- type BurnIOExecutor
- type CorruptActionSpec
- type CpuCommandModelSpec
- type DelayActionSpec
- type DiskCommandSpec
- type DnsActionSpec
- type DropActionSpec
- type DuplicateActionSpec
- type FileAddActionExecutor
- type FileAddActionSpec
- type FileAppendActionExecutor
- type FileAppendActionSpec
- type FileChmodActionExecutor
- type FileChmodActionSpec
- type FileCommandSpec
- type FileDeleteActionSpec
- type FileMoveActionExecutor
- type FileMoveActionSpec
- type FileRemoveActionExecutor
- type FillActionExecutor
- type FillActionSpec
- type FullLoadActionCommand
- func (*FullLoadActionCommand) Aliases() []string
- func (*FullLoadActionCommand) Flags() []spec.ExpFlagSpec
- func (f *FullLoadActionCommand) LongDesc() string
- func (*FullLoadActionCommand) Matchers() []spec.ExpFlagSpec
- func (*FullLoadActionCommand) Name() string
- func (*FullLoadActionCommand) ShortDesc() string
- type KernelInjectCommandSpec
- type KillProcessActionCommandSpec
- type KillProcessExecutor
- type LossActionSpec
- type MemCommandModelSpec
- type MemLoadActionCommand
- func (*MemLoadActionCommand) Aliases() []string
- func (*MemLoadActionCommand) Flags() []spec.ExpFlagSpec
- func (l *MemLoadActionCommand) LongDesc() string
- func (*MemLoadActionCommand) Matchers() []spec.ExpFlagSpec
- func (*MemLoadActionCommand) Name() string
- func (*MemLoadActionCommand) ShortDesc() string
- type NetworkCommandSpec
- type NetworkCorruptExecutor
- type NetworkDelayExecutor
- type NetworkDnsExecutor
- type NetworkDropExecutor
- type NetworkDuplicateExecutor
- type NetworkLossExecutor
- type NetworkReorderExecutor
- type OccupyActionExecutor
- type OccupyActionSpec
- type ProcessCommandModelSpec
- type ReorderActionSpec
- type SSHClient
- type SSHExecutor
- type ScriptCommandModelSpec
- type ScriptDelayActionCommand
- type ScriptDelayExecutor
- type ScriptExitActionCommand
- type ScriptExitExecutor
- type StopProcessActionCommandSpec
- type StopProcessExecutor
- type StraceDelayActionExecutor
- type StraceDelayActionSpec
- type StraceErrorActionExecutor
- type StraceErrorActionSpec
Constants ¶
View Source
const ( DefaultInstallPath = "/opt/chaosblade" BladeBin = "blade" DefaultSSHPort = 22 BladeReleaseURL = "http://nginxfile.dds-sysu.tech:8080/%s/chaosblade-%s.tar.gz" )
View Source
const AddFileBin = "chaos_addfile"
View Source
const AppendFileBin = "chaos_appendfile"
View Source
const BurnCpuBin = "chaos_burncpu"
View Source
const BurnIOBin = "chaos_burnio"
View Source
const BurnMemBin = "chaos_burnmem"
View Source
const ChmodFileBin = "chaos_chmodfile"
View Source
const DeleteFileBin = "chaos_deletefile"
View Source
const DropNetworkBin = "chaos_dropnetwork"
View Source
const FillDiskBin = "chaos_filldisk"
View Source
const KillProcessBin = "chaos_killprocess"
View Source
const MoveFileBin = "chaos_movefile"
View Source
const StopProcessBin = "chaos_stopprocess"
View Source
const StraceDelayBin = "chaos_stracedelay"
View Source
const StraceErrorBin = "chaos_straceerror"
View Source
const TcNetworkBin = "chaos_tcnetwork"
TcNetworkBin for network delay, loss, duplicate, reorder and corrupt experiments
Variables ¶
View Source
var BladeRelease = &spec.ExpFlag{ Name: "blade-release", Desc: "Blade release package,use this flag when the channel is ssh", NoArgs: false, Required: false, }
View Source
var ChannelFlag = &spec.ExpFlag{ Name: "channel", Desc: "Select the channel for execution, and you can now select SSH", NoArgs: false, Required: false, }
support ssh channel flags
View Source
var InstallPath = &spec.ExpFlag{ Name: "install-path", Desc: "install path default /opt/chaosblade,use this flag when the channel is ssh", NoArgs: false, Required: false, }
View Source
var OccupyNetworkBin = "chaos_occupynetwork"
View Source
var OverrideBladeRelease = &spec.ExpFlag{ Name: "override-blade-release", Desc: "Override blade release,use this flag when the channel is ssh", NoArgs: true, Required: false, }
View Source
var SSHHostFlag = &spec.ExpFlag{ Name: "ssh-host", Desc: "Use this flag when the channel is ssh", NoArgs: false, Required: false, }
View Source
var SSHKeyFlag = &spec.ExpFlag{ Name: "ssh-key", Desc: "Use this flag when the channel is ssh", NoArgs: false, Required: false, }
View Source
var SSHKeyPassphraseFlag = &spec.ExpFlag{ Name: "ssh-key-passphrase", Desc: "Use this flag when the channel is ssh", NoArgs: true, Required: false, }
View Source
var SSHPortFlag = &spec.ExpFlag{ Name: "ssh-port", Desc: "Use this flag when the channel is ssh", NoArgs: false, Required: false, }
View Source
var SSHUserFlag = &spec.ExpFlag{ Name: "ssh-user", Desc: "Use this flag when the channel is ssh", NoArgs: false, Required: false, }
Functions ¶
func ConvertOutputToResponse ¶
func NewBurnActionSpec ¶
func NewBurnActionSpec() spec.ExpActionCommandSpec
func NewCorruptActionSpec ¶
func NewCorruptActionSpec() spec.ExpActionCommandSpec
func NewCpuCommandModelSpec ¶
func NewCpuCommandModelSpec() spec.ExpModelCommandSpec
func NewDelayActionSpec ¶
func NewDelayActionSpec() spec.ExpActionCommandSpec
func NewDiskCommandSpec ¶
func NewDiskCommandSpec() spec.ExpModelCommandSpec
func NewDnsActionSpec ¶
func NewDnsActionSpec() spec.ExpActionCommandSpec
func NewDropActionSpec ¶
func NewDropActionSpec() spec.ExpActionCommandSpec
func NewDuplicateActionSpec ¶
func NewDuplicateActionSpec() spec.ExpActionCommandSpec
func NewFileAddActionSpec ¶
func NewFileAddActionSpec() spec.ExpActionCommandSpec
func NewFileAppendActionSpec ¶
func NewFileAppendActionSpec() spec.ExpActionCommandSpec
func NewFileChmodActionSpec ¶
func NewFileChmodActionSpec() spec.ExpActionCommandSpec
func NewFileCommandSpec ¶
func NewFileCommandSpec() spec.ExpModelCommandSpec
func NewFileDeleteActionSpec ¶
func NewFileDeleteActionSpec() spec.ExpActionCommandSpec
func NewFileMoveActionSpec ¶
func NewFileMoveActionSpec() spec.ExpActionCommandSpec
func NewFillActionSpec ¶
func NewFillActionSpec() spec.ExpActionCommandSpec
func NewKernelInjectCommandSpec ¶
func NewKernelInjectCommandSpec() spec.ExpModelCommandSpec
func NewKillProcessActionCommandSpec ¶
func NewKillProcessActionCommandSpec() spec.ExpActionCommandSpec
func NewLossActionSpec ¶
func NewLossActionSpec() spec.ExpActionCommandSpec
func NewMemCommandModelSpec ¶
func NewMemCommandModelSpec() spec.ExpModelCommandSpec
func NewNetworkCommandSpec ¶
func NewNetworkCommandSpec() spec.ExpModelCommandSpec
func NewOccupyActionSpec ¶
func NewOccupyActionSpec() spec.ExpActionCommandSpec
func NewProcessCommandModelSpec ¶
func NewProcessCommandModelSpec() spec.ExpModelCommandSpec
func NewReorderActionSpec ¶
func NewReorderActionSpec() spec.ExpActionCommandSpec
func NewSSHExecutor ¶
func NewScriptCommandModelSpec ¶
func NewScriptCommandModelSpec() spec.ExpModelCommandSpec
func NewScriptDelayActionCommand ¶
func NewScriptDelayActionCommand() spec.ExpActionCommandSpec
func NewScriptExitActionCommand ¶
func NewScriptExitActionCommand() spec.ExpActionCommandSpec
func NewStopProcessActionCommandSpec ¶
func NewStopProcessActionCommandSpec() spec.ExpActionCommandSpec
func NewStraceDelayActionSpec ¶
func NewStraceDelayActionSpec() spec.ExpActionCommandSpec
func NewStraceErrorActionSpec ¶
func NewStraceErrorActionSpec() spec.ExpActionCommandSpec
Types ¶
type BurnActionSpec ¶
type BurnActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*BurnActionSpec) Aliases ¶
func (*BurnActionSpec) Aliases() []string
func (*BurnActionSpec) LongDesc ¶
func (b *BurnActionSpec) LongDesc() string
func (*BurnActionSpec) Name ¶
func (*BurnActionSpec) Name() string
func (*BurnActionSpec) ShortDesc ¶
func (*BurnActionSpec) ShortDesc() string
type BurnIOExecutor ¶
type BurnIOExecutor struct {
// contains filtered or unexported fields
}
func (*BurnIOExecutor) Name ¶
func (*BurnIOExecutor) Name() string
func (*BurnIOExecutor) SetChannel ¶
func (be *BurnIOExecutor) SetChannel(channel spec.Channel)
type CorruptActionSpec ¶
type CorruptActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*CorruptActionSpec) Aliases ¶
func (*CorruptActionSpec) Aliases() []string
func (*CorruptActionSpec) LongDesc ¶
func (c *CorruptActionSpec) LongDesc() string
func (*CorruptActionSpec) Name ¶
func (*CorruptActionSpec) Name() string
func (*CorruptActionSpec) ShortDesc ¶
func (*CorruptActionSpec) ShortDesc() string
type CpuCommandModelSpec ¶
type CpuCommandModelSpec struct {
spec.BaseExpModelCommandSpec
}
func (*CpuCommandModelSpec) LongDesc ¶
func (*CpuCommandModelSpec) LongDesc() string
func (*CpuCommandModelSpec) Name ¶
func (*CpuCommandModelSpec) Name() string
func (*CpuCommandModelSpec) ShortDesc ¶
func (*CpuCommandModelSpec) ShortDesc() string
type DelayActionSpec ¶
type DelayActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*DelayActionSpec) Aliases ¶
func (*DelayActionSpec) Aliases() []string
func (*DelayActionSpec) LongDesc ¶
func (d *DelayActionSpec) LongDesc() string
func (*DelayActionSpec) Name ¶
func (*DelayActionSpec) Name() string
func (*DelayActionSpec) ShortDesc ¶
func (*DelayActionSpec) ShortDesc() string
type DiskCommandSpec ¶
type DiskCommandSpec struct {
spec.BaseExpModelCommandSpec
}
func (*DiskCommandSpec) LongDesc ¶
func (*DiskCommandSpec) LongDesc() string
func (*DiskCommandSpec) Name ¶
func (*DiskCommandSpec) Name() string
func (*DiskCommandSpec) ShortDesc ¶
func (*DiskCommandSpec) ShortDesc() string
type DnsActionSpec ¶
type DnsActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*DnsActionSpec) Aliases ¶
func (*DnsActionSpec) Aliases() []string
func (*DnsActionSpec) LongDesc ¶
func (d *DnsActionSpec) LongDesc() string
func (*DnsActionSpec) Name ¶
func (*DnsActionSpec) Name() string
func (*DnsActionSpec) ShortDesc ¶
func (*DnsActionSpec) ShortDesc() string
type DropActionSpec ¶
type DropActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*DropActionSpec) Aliases ¶
func (*DropActionSpec) Aliases() []string
func (*DropActionSpec) LongDesc ¶
func (d *DropActionSpec) LongDesc() string
func (*DropActionSpec) Name ¶
func (*DropActionSpec) Name() string
func (*DropActionSpec) ShortDesc ¶
func (*DropActionSpec) ShortDesc() string
type DuplicateActionSpec ¶
type DuplicateActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*DuplicateActionSpec) Aliases ¶
func (*DuplicateActionSpec) Aliases() []string
func (*DuplicateActionSpec) LongDesc ¶
func (d *DuplicateActionSpec) LongDesc() string
func (*DuplicateActionSpec) Name ¶
func (*DuplicateActionSpec) Name() string
func (*DuplicateActionSpec) ShortDesc ¶
func (*DuplicateActionSpec) ShortDesc() string
type FileAddActionExecutor ¶
type FileAddActionExecutor struct {
// contains filtered or unexported fields
}
func (*FileAddActionExecutor) Name ¶
func (*FileAddActionExecutor) Name() string
func (*FileAddActionExecutor) SetChannel ¶
func (f *FileAddActionExecutor) SetChannel(channel spec.Channel)
type FileAddActionSpec ¶
type FileAddActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*FileAddActionSpec) Aliases ¶
func (*FileAddActionSpec) Aliases() []string
func (*FileAddActionSpec) LongDesc ¶
func (f *FileAddActionSpec) LongDesc() string
func (*FileAddActionSpec) Name ¶
func (*FileAddActionSpec) Name() string
func (*FileAddActionSpec) ShortDesc ¶
func (*FileAddActionSpec) ShortDesc() string
type FileAppendActionExecutor ¶
type FileAppendActionExecutor struct {
// contains filtered or unexported fields
}
func (*FileAppendActionExecutor) Name ¶
func (*FileAppendActionExecutor) Name() string
func (*FileAppendActionExecutor) SetChannel ¶
func (f *FileAppendActionExecutor) SetChannel(channel spec.Channel)
type FileAppendActionSpec ¶
type FileAppendActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*FileAppendActionSpec) Aliases ¶
func (*FileAppendActionSpec) Aliases() []string
func (*FileAppendActionSpec) LongDesc ¶
func (f *FileAppendActionSpec) LongDesc() string
func (*FileAppendActionSpec) Name ¶
func (*FileAppendActionSpec) Name() string
func (*FileAppendActionSpec) ShortDesc ¶
func (*FileAppendActionSpec) ShortDesc() string
type FileChmodActionExecutor ¶
type FileChmodActionExecutor struct {
// contains filtered or unexported fields
}
func (*FileChmodActionExecutor) Name ¶
func (*FileChmodActionExecutor) Name() string
func (*FileChmodActionExecutor) SetChannel ¶
func (f *FileChmodActionExecutor) SetChannel(channel spec.Channel)
type FileChmodActionSpec ¶
type FileChmodActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*FileChmodActionSpec) Aliases ¶
func (*FileChmodActionSpec) Aliases() []string
func (*FileChmodActionSpec) LongDesc ¶
func (f *FileChmodActionSpec) LongDesc() string
func (*FileChmodActionSpec) Name ¶
func (*FileChmodActionSpec) Name() string
func (*FileChmodActionSpec) ShortDesc ¶
func (*FileChmodActionSpec) ShortDesc() string
type FileCommandSpec ¶
type FileCommandSpec struct {
spec.BaseExpModelCommandSpec
}
func (*FileCommandSpec) LongDesc ¶
func (*FileCommandSpec) LongDesc() string
func (*FileCommandSpec) Name ¶
func (*FileCommandSpec) Name() string
func (*FileCommandSpec) ShortDesc ¶
func (*FileCommandSpec) ShortDesc() string
type FileDeleteActionSpec ¶
type FileDeleteActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*FileDeleteActionSpec) Aliases ¶
func (*FileDeleteActionSpec) Aliases() []string
func (*FileDeleteActionSpec) LongDesc ¶
func (f *FileDeleteActionSpec) LongDesc() string
func (*FileDeleteActionSpec) Name ¶
func (*FileDeleteActionSpec) Name() string
func (*FileDeleteActionSpec) ShortDesc ¶
func (*FileDeleteActionSpec) ShortDesc() string
type FileMoveActionExecutor ¶
type FileMoveActionExecutor struct {
// contains filtered or unexported fields
}
func (*FileMoveActionExecutor) Name ¶
func (*FileMoveActionExecutor) Name() string
func (*FileMoveActionExecutor) SetChannel ¶
func (f *FileMoveActionExecutor) SetChannel(channel spec.Channel)
type FileMoveActionSpec ¶
type FileMoveActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*FileMoveActionSpec) Aliases ¶
func (*FileMoveActionSpec) Aliases() []string
func (*FileMoveActionSpec) LongDesc ¶
func (f *FileMoveActionSpec) LongDesc() string
func (*FileMoveActionSpec) Name ¶
func (*FileMoveActionSpec) Name() string
func (*FileMoveActionSpec) ShortDesc ¶
func (*FileMoveActionSpec) ShortDesc() string
type FileRemoveActionExecutor ¶
type FileRemoveActionExecutor struct {
// contains filtered or unexported fields
}
func (*FileRemoveActionExecutor) Name ¶
func (*FileRemoveActionExecutor) Name() string
func (*FileRemoveActionExecutor) SetChannel ¶
func (f *FileRemoveActionExecutor) SetChannel(channel spec.Channel)
type FillActionExecutor ¶
type FillActionExecutor struct {
// contains filtered or unexported fields
}
func (*FillActionExecutor) Name ¶
func (*FillActionExecutor) Name() string
func (*FillActionExecutor) SetChannel ¶
func (fae *FillActionExecutor) SetChannel(channel spec.Channel)
type FillActionSpec ¶
type FillActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*FillActionSpec) Aliases ¶
func (*FillActionSpec) Aliases() []string
func (*FillActionSpec) LongDesc ¶
func (f *FillActionSpec) LongDesc() string
func (*FillActionSpec) Name ¶
func (*FillActionSpec) Name() string
func (*FillActionSpec) ShortDesc ¶
func (*FillActionSpec) ShortDesc() string
type FullLoadActionCommand ¶
type FullLoadActionCommand struct {
spec.BaseExpActionCommandSpec
}
func (*FullLoadActionCommand) Aliases ¶
func (*FullLoadActionCommand) Aliases() []string
func (*FullLoadActionCommand) Flags ¶
func (*FullLoadActionCommand) Flags() []spec.ExpFlagSpec
func (*FullLoadActionCommand) LongDesc ¶
func (f *FullLoadActionCommand) LongDesc() string
func (*FullLoadActionCommand) Matchers ¶
func (*FullLoadActionCommand) Matchers() []spec.ExpFlagSpec
func (*FullLoadActionCommand) Name ¶
func (*FullLoadActionCommand) Name() string
func (*FullLoadActionCommand) ShortDesc ¶
func (*FullLoadActionCommand) ShortDesc() string
type KernelInjectCommandSpec ¶
type KernelInjectCommandSpec struct {
spec.BaseExpModelCommandSpec
}
func (*KernelInjectCommandSpec) LongDesc ¶
func (*KernelInjectCommandSpec) LongDesc() string
func (*KernelInjectCommandSpec) Name ¶
func (*KernelInjectCommandSpec) Name() string
func (*KernelInjectCommandSpec) ShortDesc ¶
func (*KernelInjectCommandSpec) ShortDesc() string
type KillProcessActionCommandSpec ¶
type KillProcessActionCommandSpec struct {
spec.BaseExpActionCommandSpec
}
func (*KillProcessActionCommandSpec) Aliases ¶
func (*KillProcessActionCommandSpec) Aliases() []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 LossActionSpec ¶
type LossActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*LossActionSpec) Aliases ¶
func (*LossActionSpec) Aliases() []string
func (*LossActionSpec) LongDesc ¶
func (l *LossActionSpec) LongDesc() string
func (*LossActionSpec) Name ¶
func (*LossActionSpec) Name() string
func (*LossActionSpec) ShortDesc ¶
func (*LossActionSpec) ShortDesc() string
type MemCommandModelSpec ¶
type MemCommandModelSpec struct {
spec.BaseExpModelCommandSpec
}
func (*MemCommandModelSpec) Example ¶
func (*MemCommandModelSpec) Example() string
func (*MemCommandModelSpec) LongDesc ¶
func (*MemCommandModelSpec) LongDesc() string
func (*MemCommandModelSpec) Name ¶
func (*MemCommandModelSpec) Name() string
func (*MemCommandModelSpec) ShortDesc ¶
func (*MemCommandModelSpec) ShortDesc() string
type MemLoadActionCommand ¶
type MemLoadActionCommand struct {
spec.BaseExpActionCommandSpec
}
func (*MemLoadActionCommand) Aliases ¶
func (*MemLoadActionCommand) Aliases() []string
func (*MemLoadActionCommand) Flags ¶
func (*MemLoadActionCommand) Flags() []spec.ExpFlagSpec
func (*MemLoadActionCommand) LongDesc ¶
func (l *MemLoadActionCommand) LongDesc() string
func (*MemLoadActionCommand) Matchers ¶
func (*MemLoadActionCommand) Matchers() []spec.ExpFlagSpec
func (*MemLoadActionCommand) Name ¶
func (*MemLoadActionCommand) Name() string
func (*MemLoadActionCommand) ShortDesc ¶
func (*MemLoadActionCommand) ShortDesc() string
type NetworkCommandSpec ¶
type NetworkCommandSpec struct {
spec.BaseExpModelCommandSpec
}
func (*NetworkCommandSpec) LongDesc ¶
func (*NetworkCommandSpec) LongDesc() string
func (*NetworkCommandSpec) Name ¶
func (*NetworkCommandSpec) Name() string
func (*NetworkCommandSpec) ShortDesc ¶
func (*NetworkCommandSpec) ShortDesc() string
type NetworkCorruptExecutor ¶
type NetworkCorruptExecutor struct {
// contains filtered or unexported fields
}
func (*NetworkCorruptExecutor) Name ¶
func (ce *NetworkCorruptExecutor) Name() string
func (*NetworkCorruptExecutor) SetChannel ¶
func (ce *NetworkCorruptExecutor) SetChannel(channel spec.Channel)
type NetworkDelayExecutor ¶
type NetworkDelayExecutor struct {
// contains filtered or unexported fields
}
func (*NetworkDelayExecutor) Name ¶
func (de *NetworkDelayExecutor) Name() string
func (*NetworkDelayExecutor) SetChannel ¶
func (de *NetworkDelayExecutor) SetChannel(channel spec.Channel)
type NetworkDnsExecutor ¶
type NetworkDnsExecutor struct {
// contains filtered or unexported fields
}
func (*NetworkDnsExecutor) Name ¶
func (*NetworkDnsExecutor) Name() string
func (*NetworkDnsExecutor) SetChannel ¶
func (ns *NetworkDnsExecutor) SetChannel(channel spec.Channel)
type NetworkDropExecutor ¶
type NetworkDropExecutor struct {
// contains filtered or unexported fields
}
func (*NetworkDropExecutor) Name ¶
func (*NetworkDropExecutor) Name() string
func (*NetworkDropExecutor) SetChannel ¶
func (ne *NetworkDropExecutor) SetChannel(channel spec.Channel)
type NetworkDuplicateExecutor ¶
type NetworkDuplicateExecutor struct {
// contains filtered or unexported fields
}
func (*NetworkDuplicateExecutor) Name ¶
func (de *NetworkDuplicateExecutor) Name() string
func (*NetworkDuplicateExecutor) SetChannel ¶
func (de *NetworkDuplicateExecutor) SetChannel(channel spec.Channel)
type NetworkLossExecutor ¶
type NetworkLossExecutor struct {
// contains filtered or unexported fields
}
func (*NetworkLossExecutor) Name ¶
func (*NetworkLossExecutor) Name() string
func (*NetworkLossExecutor) SetChannel ¶
func (nle *NetworkLossExecutor) SetChannel(channel spec.Channel)
type NetworkReorderExecutor ¶
type NetworkReorderExecutor struct {
// contains filtered or unexported fields
}
func (*NetworkReorderExecutor) Name ¶
func (ce *NetworkReorderExecutor) Name() string
func (*NetworkReorderExecutor) SetChannel ¶
func (ce *NetworkReorderExecutor) SetChannel(channel spec.Channel)
type OccupyActionExecutor ¶
type OccupyActionExecutor struct {
// contains filtered or unexported fields
}
func (*OccupyActionExecutor) Name ¶
func (*OccupyActionExecutor) Name() string
func (*OccupyActionExecutor) SetChannel ¶
func (oae *OccupyActionExecutor) SetChannel(channel spec.Channel)
type OccupyActionSpec ¶
type OccupyActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*OccupyActionSpec) Aliases ¶
func (*OccupyActionSpec) Aliases() []string
func (*OccupyActionSpec) LongDesc ¶
func (o *OccupyActionSpec) LongDesc() string
func (*OccupyActionSpec) Name ¶
func (*OccupyActionSpec) Name() string
func (*OccupyActionSpec) ShortDesc ¶
func (*OccupyActionSpec) ShortDesc() string
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 ReorderActionSpec ¶
type ReorderActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*ReorderActionSpec) Aliases ¶
func (*ReorderActionSpec) Aliases() []string
func (*ReorderActionSpec) LongDesc ¶
func (r *ReorderActionSpec) LongDesc() string
func (*ReorderActionSpec) Name ¶
func (*ReorderActionSpec) Name() string
func (*ReorderActionSpec) ShortDesc ¶
func (*ReorderActionSpec) ShortDesc() string
type SSHClient ¶
type SSHExecutor ¶
func (*SSHExecutor) Name ¶
func (*SSHExecutor) Name() string
func (*SSHExecutor) SetChannel ¶
func (e *SSHExecutor) SetChannel(channel spec.Channel)
type ScriptCommandModelSpec ¶
type ScriptCommandModelSpec struct {
spec.BaseExpModelCommandSpec
}
func (*ScriptCommandModelSpec) LongDesc ¶
func (*ScriptCommandModelSpec) LongDesc() string
func (*ScriptCommandModelSpec) Name ¶
func (*ScriptCommandModelSpec) Name() string
func (*ScriptCommandModelSpec) ShortDesc ¶
func (*ScriptCommandModelSpec) ShortDesc() string
type ScriptDelayActionCommand ¶
type ScriptDelayActionCommand struct {
spec.BaseExpActionCommandSpec
}
func (*ScriptDelayActionCommand) Aliases ¶
func (*ScriptDelayActionCommand) Aliases() []string
func (*ScriptDelayActionCommand) LongDesc ¶
func (s *ScriptDelayActionCommand) LongDesc() string
func (*ScriptDelayActionCommand) Name ¶
func (*ScriptDelayActionCommand) Name() string
func (*ScriptDelayActionCommand) ShortDesc ¶
func (*ScriptDelayActionCommand) ShortDesc() string
type ScriptDelayExecutor ¶
type ScriptDelayExecutor struct {
// contains filtered or unexported fields
}
func (*ScriptDelayExecutor) Name ¶
func (*ScriptDelayExecutor) Name() string
func (*ScriptDelayExecutor) SetChannel ¶
func (sde *ScriptDelayExecutor) SetChannel(channel spec.Channel)
type ScriptExitActionCommand ¶
type ScriptExitActionCommand struct {
spec.BaseExpActionCommandSpec
}
func (*ScriptExitActionCommand) Aliases ¶
func (*ScriptExitActionCommand) Aliases() []string
func (*ScriptExitActionCommand) LongDesc ¶
func (s *ScriptExitActionCommand) LongDesc() string
func (*ScriptExitActionCommand) Name ¶
func (*ScriptExitActionCommand) Name() string
func (*ScriptExitActionCommand) ShortDesc ¶
func (*ScriptExitActionCommand) ShortDesc() string
type ScriptExitExecutor ¶
type ScriptExitExecutor struct {
// contains filtered or unexported fields
}
func (*ScriptExitExecutor) Name ¶
func (*ScriptExitExecutor) Name() string
func (*ScriptExitExecutor) SetChannel ¶
func (see *ScriptExitExecutor) 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)
type StraceDelayActionExecutor ¶
type StraceDelayActionExecutor struct {
// contains filtered or unexported fields
}
func (*StraceDelayActionExecutor) Name ¶
func (*StraceDelayActionExecutor) Name() string
func (*StraceDelayActionExecutor) SetChannel ¶
func (dae *StraceDelayActionExecutor) SetChannel(channel spec.Channel)
type StraceDelayActionSpec ¶
type StraceDelayActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*StraceDelayActionSpec) Aliases ¶
func (*StraceDelayActionSpec) Aliases() []string
func (*StraceDelayActionSpec) LongDesc ¶
func (f *StraceDelayActionSpec) LongDesc() string
func (*StraceDelayActionSpec) Name ¶
func (*StraceDelayActionSpec) Name() string
func (*StraceDelayActionSpec) ShortDesc ¶
func (*StraceDelayActionSpec) ShortDesc() string
type StraceErrorActionExecutor ¶
type StraceErrorActionExecutor struct {
// contains filtered or unexported fields
}
func (*StraceErrorActionExecutor) Name ¶
func (*StraceErrorActionExecutor) Name() string
func (*StraceErrorActionExecutor) SetChannel ¶
func (dae *StraceErrorActionExecutor) SetChannel(channel spec.Channel)
type StraceErrorActionSpec ¶
type StraceErrorActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*StraceErrorActionSpec) Aliases ¶
func (*StraceErrorActionSpec) Aliases() []string
func (*StraceErrorActionSpec) LongDesc ¶
func (f *StraceErrorActionSpec) LongDesc() string
func (*StraceErrorActionSpec) Name ¶
func (*StraceErrorActionSpec) Name() string
func (*StraceErrorActionSpec) ShortDesc ¶
func (*StraceErrorActionSpec) ShortDesc() string
Source Files ¶
- cpu.go
- disk.go
- disk_burn.go
- disk_fill.go
- executor_ssh.go
- file.go
- file_add.go
- file_append.go
- file_chmod.go
- file_delete.go
- file_move.go
- kernel_delay.go
- kernel_error.go
- kernel_inject.go
- mem.go
- network.go
- network_corrupt.go
- network_delay.go
- network_dns.go
- network_drop.go
- network_duplicate.go
- network_loss.go
- network_occupy.go
- network_reorder.go
- process.go
- process_kill.go
- process_stop.go
- script.go
- script_delay.go
- script_exit.go
Click to show internal directories.
Click to hide internal directories.