model

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChannelFlag = spec.ExpFlag{
	Name:    "channel",
	Desc:    "channel",
	Default: "local",
}
View Source
var DebugFlag = spec.ExpFlag{
	Name:    "debug",
	Desc:    "debug",
	Default: "",
}
View Source
var NsMntFlag = spec.ExpFlag{
	Name:    channel.NSMntFlagName,
	Desc:    "mnt namespace",
	Default: "false",
}
View Source
var NsNetFlag = spec.ExpFlag{
	Name:    channel.NSNetFlagName,
	Desc:    "net namespace",
	Default: "false",
}
View Source
var NsPidFlag = spec.ExpFlag{
	Name:    channel.NSPidFlagName,
	Desc:    "pid namespace",
	Default: "false",
}
View Source
var NsTargetFlag = spec.ExpFlag{
	Name:    channel.NSTargetFlagName,
	Desc:    "target pid",
	Default: "",
}
View Source
var UidFlag = spec.ExpFlag{
	Name:    "uid",
	Desc:    "uid",
	Default: "",
}

Functions

func ExtractExecutorFromExpModel

func ExtractExecutorFromExpModel(expModel spec.ExpModelCommandSpec) map[string]spec.Executor

func GetAllExpModels

func GetAllExpModels() []spec.ExpModelCommandSpec

GetAllExpModels returns the experiment model specs in the project. Support for other project about chaosblade

func GetAllOsExecutors

func GetAllOsExecutors() map[string]spec.Executor

Support for other project about chaosblade

func GetSHHExecutor

func GetSHHExecutor() spec.Executor

func GetSSHExpFlags

func GetSSHExpFlags() []spec.ExpFlagSpec

Types

This section is empty.

Jump to

Keyboard shortcuts

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