Documentation ¶
Index ¶
- func AddHost(req *restful.Request, data map[string]interface{}, objURL string) (int64, error)
- func AddModuleHostConfig(req *restful.Request, hostID, appID int64, moduleIDs []int64, hostCtrl string) error
- func GetCustomerPropertyByOwner(req *restful.Request, OwnerId interface{}, ObjCtrl string) ([]map[string]interface{}, error)
- func GetDefaultModules(req *restful.Request, appID int, objURL string) (interface{}, error)
- func GetHostByCond(req *restful.Request, param map[string]interface{}, objURL string) (interface{}, error)
- func GetHostByIPAndSource(req *restful.Request, innerIP string, platID int, objURL string) (interface{}, error)
- func GetHostDataByConfig(req *restful.Request, configData []map[string]int) ([]interface{}, error)
- func GetHostMapByCond(req *restful.Request, condition map[string]interface{}) (map[int]interface{}, []int, error)
- func In_existIpArr(arr []string, ip string) bool
- func SetHostData(req *restful.Request, moduleHostConfig []map[string]int, ...) ([]interface{}, error)
- func UpdateHostMain(req *restful.Request, hostCondition, data map[string]interface{}, appID int, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddModuleHostConfig ¶
func GetDefaultModules ¶
func GetHostByCond ¶
func GetHostByIPAndSource ¶
func GetHostDataByConfig ¶
GetHostDataByConfig get host info
func GetHostMapByCond ¶
func In_existIpArr ¶
In_existIpArr exsit ip in array
func SetHostData ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.