network

package
v1.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2023 License: Apache-2.0 Imports: 10 Imported by: 9

Documentation

Index

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) Exec added in v1.7.2

func (ns *NetworkDnsDownExecutor) Exec(uid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*NetworkDnsDownExecutor) Name added in v1.7.2

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) Exec

func (ns *NetworkDnsExecutor) Exec(uid string, ctx context.Context, model *spec.ExpModel) *spec.Response

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) Exec

func (ne *NetworkDropExecutor) Exec(suid string, ctx context.Context, model *spec.ExpModel) *spec.Response

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) Exec

func (oae *OccupyActionExecutor) Exec(uid string, ctx context.Context, model *spec.ExpModel) *spec.Response

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL