Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelperFunction ¶
type HelperFunction struct { // SelectInstTopo return the inst topo SelectInstTopo func(forward *api.ForwardParam, ownerid, objid string, appid, instid, level int, req *restful.Request) ([]manager.TopoInstRst, error) }
HelperFunction helper function definition
func CreateHelperFunction ¶
func CreateHelperFunction() *HelperFunction
CreateHelperFunction return the helper function items
type ObjInstRsp ¶
type ObjInstRsp struct { Result bool `json:"result"` Code int `json:"code"` Message interface{} `json:"message"` Data InstItem `json:"data"` }
ObjInstRsp 用于提取controller 返回的实例数据结构
type ObjectTopo ¶
type ObjectTopo struct { LabelType string `json:"label_type"` LabelName string `json:"label_name"` Label string `json:"label"` From TopoItem `json:"from"` To TopoItem `json:"to"` Arrows string `json:"arrows"` }
ObjectTopo define the common object topo
Click to show internal directories.
Click to hide internal directories.