Documentation ¶
Index ¶
- Constants
- func AddProc(ownerID, appID string) error
- func AssginHostToSpecialModule() error
- func BindModuleInfo(ownerID, appID, procID, moduleName string) error
- func CreateApp(ownerID string) (int, error)
- func CreateFieldGroup(ownerID, objID string) (int, error)
- func CreateHostSearchHistory() error
- func CreateInst(appID, parentID int, ownerID, objID string) (int, error)
- func CreateMainlineObject(ownerID, objID, associationObjID, classificationID string) (int, error)
- func CreateModule(setID, appID, parentID int, ownerID string) (int, error)
- func CreateObject() (int, error)
- func CreateObjectCls() (int, error)
- func CreateSet(appID int) (int, error)
- func DeleteApp(ownerID string, appID int) error
- func DeleteFieldGroup(id int) error
- func DeleteHostBatch(ownerID string) error
- func DeleteHostFavourite(id string) error
- func DeleteInst(ownerID, objID string, instID int) error
- func DeleteMainlineObject(ownerID, objID string) error
- func DeleteModule(appID, setID, moduleID int) error
- func DeleteObject(id int) error
- func DeleteObjectCls(id int) error
- func DeleteProcDetailInfo(ownerID, appID, procID string) error
- func DeletePropertyGroup(ownerID, objID, propertyID, groupID string) error
- func DeleteSet(appID, id int) error
- func GetProcDetailInfo(ownerID, appID, procID string) error
- func HostFavourite() error
- func HostSearchFavourite() error
- func HostUpdateFavourite(id string) error
- func MoveHostToFaultModule() error
- func MoveHostToIDleModule() error
- func MoveHostToResource() error
- func MoveHostsToModule() error
- func SearchAllInsts(ownerID, objID string, appID int) error
- func SearchApp(ownerID string) error
- func SearchBaseHostDetail(hostID string) error
- func SearchFieldGroup(ownerID, objID string) error
- func SearchHostDetail(ownerID, hostID string) error
- func SearchHostHistory() error
- func SearchHostSnapshot(hostID string) error
- func SearchHosts() error
- func SearchInst(ownerID, objID string, appID, instID int) error
- func SearchModule(ownerID string, appID, setID int) error
- func SearchObjectCls(id int) error
- func SearchObjectTopo() error
- func SearchObjectWithAssociationByCls(ownerID string) error
- func SearchObjects() error
- func SearchProc(ownerID, appID string) error
- func SearchProcBindModuleInfo(ownerID, appID, procID string) error
- func SearchSet(ownerID string, appID int) error
- func SearchTopoInst(ownerID string, appID int) error
- func SearchTopoInstChild(ownerID, objID string, appID, instID int) error
- func SearchTopoObject(ownerID string) error
- func UnBindModuleInfo(ownerID, appID, procID, moduleName string) error
- func UpdateApp(ownerID string, appID int) error
- func UpdateFieldGroup() error
- func UpdateHostFavouriteIncr(id string) error
- func UpdateHosts() error
- func UpdateInst(ownerID, objID string, parentID, appID, instID int) error
- func UpdateModule(appID, setID, moduleID int) error
- func UpdateObject(id int) error
- func UpdateObjectCls(id int) error
- func UpdateProcDetailInfo(ownerID, appID, procID string) error
- func UpdatePropertyGroup(ownerID, objectID string) error
- func UpdateSet(appID, id int) error
Constants ¶
const (
// APIServerAddress api server address
APIServerAddress = "http://127.0.0.1:8080/api/v1"
)
Variables ¶
This section is empty.
Functions ¶
func AssginHostToSpecialModule ¶
func AssginHostToSpecialModule() error
AssginHostToSpecialModule assgin host to a special module
func BindModuleInfo ¶
BindModuleInfo bind a process detail info by id
func CreateFieldGroup ¶
CreateFieldGroup create a field group
func CreateHostSearchHistory ¶
func CreateHostSearchHistory() error
CreateHostSearchHistory create host search history
func CreateInst ¶
CreateInst create a common inst
func CreateMainlineObject ¶
CreateMainlineObject create a main line object
func CreateModule ¶
CreateModule create a module
func CreateObjectCls ¶
CreateObjectCls create a classification for a object
func DeleteFieldGroup ¶
DeleteFieldGroup delete the field group by id
func DeleteHostBatch ¶
DeleteHostBatch delete a lot of hosts once
func DeleteHostFavourite ¶
DeleteHostFavourite delete the host favourite by id
func DeleteMainlineObject ¶
DeleteMainlineObject delete a main line object
func DeleteModule ¶
DeleteModule delete the module by condition
func DeleteObjectCls ¶
DeleteObjectCls delete the object classification by id
func DeleteProcDetailInfo ¶
DeleteProcDetailInfo delete a process detail info by id
func DeletePropertyGroup ¶
DeletePropertyGroup delete the property group
func GetProcDetailInfo ¶
GetProcDetailInfo get a process detail info by id
func HostSearchFavourite ¶
func HostSearchFavourite() error
HostSearchFavourite search the host favourite
func HostUpdateFavourite ¶
HostUpdateFavourite update the host favourite
func MoveHostToFaultModule ¶
func MoveHostToFaultModule() error
MoveHostToFaultModule assgin host to a fault module
func MoveHostToIDleModule ¶
func MoveHostToIDleModule() error
MoveHostToIDleModule assgin host to a idle module
func MoveHostToResource ¶
func MoveHostToResource() error
MoveHostToResource assgin host to a resource module
func MoveHostsToModule ¶
func MoveHostsToModule() error
MoveHostsToModule move some hosts to a module
func SearchAllInsts ¶
SearchAllInsts search all insts
func SearchBaseHostDetail ¶
SearchBaseHostDetail search base host detail
func SearchFieldGroup ¶
SearchFieldGroup search the field group by condition
func SearchHostDetail ¶
SearchHostDetail search host detail
func SearchHostSnapshot ¶
SearchHostSnapshot search host snapshot
func SearchInst ¶
SearchInst search the inst by condition
func SearchModule ¶
SearchModule search the module by condition
func SearchObjectCls ¶
SearchObjectCls search all objects by classificationid
func SearchObjectWithAssociationByCls ¶
SearchObjectWithAssociationByCls select all object with association by classification
func SearchProcBindModuleInfo ¶
SearchProcBindModuleInfo update a process detail info by id
func SearchTopoInst ¶
SearchTopoInst search the main object topo inst
func SearchTopoInstChild ¶
SearchTopoInstChild search the topo inst child
func SearchTopoObject ¶
SearchTopoObject search the topo objects by ownerID
func UnBindModuleInfo ¶
UnBindModuleInfo bind a process detail info by id
func UpdateHostFavouriteIncr ¶
UpdateHostFavouriteIncr get favourite used count
func UpdateInst ¶
UpdateInst update the inst information
func UpdateModule ¶
UpdateModule update the module by condition
func UpdateObjectCls ¶
UpdateObjectCls update the object classification by id
func UpdateProcDetailInfo ¶
UpdateProcDetailInfo update a process detail info by id
func UpdatePropertyGroup ¶
UpdatePropertyGroup update property group
Types ¶
This section is empty.