disk

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const BurnIOBin = "chaos_burnio"
View Source
const FillDiskBin = "chaos_filldisk"

Variables

This section is empty.

Functions

func NewBurnActionSpec

func NewBurnActionSpec() spec.ExpActionCommandSpec

func NewDiskCommandSpec

func NewDiskCommandSpec() spec.ExpModelCommandSpec

func NewFillActionSpec

func NewFillActionSpec() 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) Exec

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

func (*BurnIOExecutor) Name

func (*BurnIOExecutor) Name() string

func (*BurnIOExecutor) SetChannel

func (be *BurnIOExecutor) SetChannel(channel spec.Channel)

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 FillActionExecutor

type FillActionExecutor struct {
	// contains filtered or unexported fields
}

func (*FillActionExecutor) Exec

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

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

Jump to

Keyboard shortcuts

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