Documentation ¶
Index ¶
- Constants
- func NewCorruptActionSpec() spec.ExpActionCommandSpec
- func NewDelayActionSpec() spec.ExpActionCommandSpec
- func NewDuplicateActionSpec() spec.ExpActionCommandSpec
- func NewLossActionSpec() spec.ExpActionCommandSpec
- func NewReorderActionSpec() spec.ExpActionCommandSpec
- type CorruptActionSpec
- type DelayActionSpec
- type DuplicateActionSpec
- type LossActionSpec
- type NetworkCorruptExecutor
- type NetworkDelayExecutor
- type NetworkDuplicateExecutor
- type NetworkLossExecutor
- type NetworkReorderExecutor
- type ReorderActionSpec
Constants ¶
View Source
const TcNetworkBin = "chaos_tcnetwork"
TcNetworkBin for network delay, loss, duplicate, reorder and corrupt experiments
Variables ¶
This section is empty.
Functions ¶
func NewCorruptActionSpec ¶
func NewCorruptActionSpec() spec.ExpActionCommandSpec
func NewDelayActionSpec ¶
func NewDelayActionSpec() spec.ExpActionCommandSpec
func NewDuplicateActionSpec ¶
func NewDuplicateActionSpec() spec.ExpActionCommandSpec
func NewLossActionSpec ¶
func NewLossActionSpec() spec.ExpActionCommandSpec
func NewReorderActionSpec ¶
func NewReorderActionSpec() spec.ExpActionCommandSpec
Types ¶
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 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 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 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 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 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 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
Click to show internal directories.
Click to hide internal directories.