Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionOption ¶
type ActionOption struct {
Driver string `json:"driver"` // driver namespace
Action string `json:"action"` // action namespace
OutputVar string `json:"outputVar"` // 定义输出结果存储的变量名
Input drivers.Values `json:"input"`
}
ActionOption 信息
type Box ¶
type Box struct {
Title string `json:"title"` //魔盒名称,简称
Namespace string `json:"namespace"` //魔盒标识符,必须全局唯一。依次同其他魔盒器进行区分
Description string `json:"desc"` //魔盒描述,在使用魔盒时,可以显示对魔盒的描述,以方便了解魔盒功能
Options drivers.Options `json:"options"` //魔盒器配置信息
Actions []ActionOption `json:"actions"`
Input drivers.Values `json:"input"`
}
Box Driver的变种
Click to show internal directories.
Click to hide internal directories.