Documentation
¶
Index ¶
- Constants
- Variables
- func NewDnsActionSpec() spec.ExpActionCommandSpec
- func NewDnsDownActionSpec() spec.ExpActionCommandSpec
- func NewDropActionSpec() spec.ExpActionCommandSpec
- func NewNetworkCommandSpec() spec.ExpModelCommandSpec
- func NewOccupyActionSpec() spec.ExpActionCommandSpec
- type DnsActionSpec
- type DnsDownActionSpec
- type DropActionSpec
- type NetworkCommandSpec
- type NetworkDnsDownExecutor
- type NetworkDnsExecutor
- type NetworkDropExecutor
- type OccupyActionExecutor
- type OccupyActionSpec
Constants ¶
View Source
const DnsDown = "chaos_dns_down"
View Source
const DropNetworkBin = "chaos_dropnetwork"
Variables ¶
View Source
var OccupyNetworkBin = "chaos_occupynetwork"
Functions ¶
func NewDnsActionSpec ¶
func NewDnsActionSpec() spec.ExpActionCommandSpec
func NewDnsDownActionSpec ¶ added in v1.7.2
func NewDnsDownActionSpec() spec.ExpActionCommandSpec
func NewDropActionSpec ¶
func NewDropActionSpec() spec.ExpActionCommandSpec
func NewNetworkCommandSpec ¶
func NewNetworkCommandSpec() spec.ExpModelCommandSpec
func NewOccupyActionSpec ¶
func NewOccupyActionSpec() spec.ExpActionCommandSpec
Types ¶
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 DnsDownActionSpec ¶ added in v1.7.2
type DnsDownActionSpec struct {
spec.BaseExpActionCommandSpec
}
func (*DnsDownActionSpec) Aliases ¶ added in v1.7.2
func (*DnsDownActionSpec) Aliases() []string
func (*DnsDownActionSpec) LongDesc ¶ added in v1.7.2
func (d *DnsDownActionSpec) LongDesc() string
func (*DnsDownActionSpec) Name ¶ added in v1.7.2
func (*DnsDownActionSpec) Name() string
func (*DnsDownActionSpec) ShortDesc ¶ added in v1.7.2
func (*DnsDownActionSpec) 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 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 NetworkDnsDownExecutor ¶ added in v1.7.2
type NetworkDnsDownExecutor struct {
// contains filtered or unexported fields
}
func (*NetworkDnsDownExecutor) Name ¶ added in v1.7.2
func (*NetworkDnsDownExecutor) Name() string
func (*NetworkDnsDownExecutor) SetChannel ¶ added in v1.7.2
func (ns *NetworkDnsDownExecutor) 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 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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.