file

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 15 Imported by: 6

Documentation

Index

Constants

View Source
const AddFileBin = "chaos_addfile"
View Source
const AppendFileBin = "chaos_appendfile"
View Source
const ChmodFileBin = "chaos_chmodfile"
View Source
const DeleteFileBin = "chaos_deletefile"
View Source
const (
	MoveFileBin = "chaos_movefile"
)

Variables

This section is empty.

Functions

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

Types

type FileAddActionExecutor

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

func (*FileAddActionExecutor) Exec

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

func (*FileAppendActionExecutor) Name

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

func (*FileChmodActionExecutor) Name

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

func (*FileMoveActionExecutor) Name

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

func (*FileRemoveActionExecutor) Name

func (*FileRemoveActionExecutor) SetChannel

func (f *FileRemoveActionExecutor) SetChannel(channel spec.Channel)

Jump to

Keyboard shortcuts

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