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 ¶
Support for other project about chaosblade
func GetSHHExecutor ¶
func GetSSHExpFlags ¶
func GetSSHExpFlags() []spec.ExpFlagSpec
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.