package
Version:
v3.1.1+incompatible
Opens a new window with list of versions in this module.
Published: Nov 7, 2018
License: MIT
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Node struct {
ObjID string `json:"bk_obj_id,omitempty"`
Data map[string]interface{} `json:"data,omitempty"`
Childs []*Node `json:"childs,omitempty"`
}
Node topo node define
type ProModule struct {
ProcessID int64 `json:"bk_process_id" bson:"bk_process_id,omitempty"`
ModuleName string `json:"bk_module_name" bson:"bk_module_name,omitempty"`
BizID int64 `json:"bk_biz_id" bson:"bk_biz_id,omitempty"`
OwnerID string `json:"bk_supplier_account" bson:"bk_supplier_account"`
}
type Process struct {
Data map[string]interface{} `json:"data"`
Modules []string `json:"modules"`
}
type ProcessTopo struct {
BizName string `json:"bk_biz_name"`
Procs []*Process `json:"procs"`
}
type Topo struct {
Mainline []string `json:"mainline,omitempty"`
BizTopo *Node `json:"biz_topo,omitempty"`
ProcTopos *ProcessTopo `json:"proc_topo,omitempty"`
}
Topo define
Source Files
¶
Click to show internal directories.
Click to hide internal directories.