Documentation ¶
Index ¶
- func AppendDefaultTopo(topo map[string]interface{}, defaultTopo map[string]interface{}) map[string]interface{}
- func AutoInputV3Field(params common.KvMap, objId, url string, header http.Header) (common.KvMap, error)
- func GetAppTopo(req *restful.Request, cc *api.APIResource, ownerID string, appID int64, ...) (map[string]interface{}, int)
- func GetDefaultTopo(req *restful.Request, appID string, topoApi string) (map[string]interface{}, error)
- func GetModuleHostCount(appID, mouduleID interface{}, req *restful.Request, cc *api.APIResource) (int, error)
- func GetObjFieldIDs(objID, url string, header http.Header) (common.KvMap, error)
- func SetModuleHostCount(data []map[string]interface{}, req *restful.Request, cc *api.APIResource) error
- type UserAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendDefaultTopo ¶
func AppendDefaultTopo(topo map[string]interface{}, defaultTopo map[string]interface{}) map[string]interface{}
AppendDefaultTopo combin idle pool set
func AutoInputV3Field ¶
func AutoInputV3Field(params common.KvMap, objId, url string, header http.Header) (common.KvMap, error)
AutoInputV3Field fields required to automatically populate the current object v3
func GetAppTopo ¶
func GetDefaultTopo ¶
func GetDefaultTopo(req *restful.Request, appID string, topoApi string) (map[string]interface{}, error)
GetDefaultTopo 获取空闲机池topo
func GetModuleHostCount ¶
func GetModuleHostCount(appID, mouduleID interface{}, req *restful.Request, cc *api.APIResource) (int, error)
GetModuleHostCount get module host count
func GetObjFieldIDs ¶
getObjFieldIDs get the values of properyID and properyName
func SetModuleHostCount ¶
func SetModuleHostCount(data []map[string]interface{}, req *restful.Request, cc *api.APIResource) error
SetModuleHostCount get set host count
Types ¶
Click to show internal directories.
Click to hide internal directories.