Documentation ¶
Index ¶
- Constants
- type API
- type LogicFunc
- type MetaShell
- type ParamsGetter
- type ParseOriginDataFunc
- type Service
- func (s *Service) Actions() []*httpserver.Action
- func (s *Service) AddMultiModule(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) AuditQuery(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) CreateAssociationInst(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) CreateAssociationType(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) CreateBusiness(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) CreateClassification(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) CreateDefaultBusiness(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) CreateInst(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) CreateMainLineObject(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (output interface{}, retErr error)
- func (s *Service) CreateModule(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) CreateObject(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) CreateObjectAssociation(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) CreateObjectAttribute(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) CreateObjectBatch(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) CreateObjectGroup(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) CreateObjectUnique(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) CreatePrivilege(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) CreateSet(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) CreateUserGroup(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteAssociationInst(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteAssociationType(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteBusiness(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteClassification(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteInst(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteInsts(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteMainLineObject(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteModule(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteMultiModule(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteMultiSet(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteObject(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteObjectAssociation(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteObjectAttribute(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteObjectAttributeGroup(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteObjectGroup(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteObjectUnique(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteSet(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteSetHost(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteSets(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) DeleteUserGroup(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) GetInternalModule(params types.ContextParams, pathParams, queryparams ParamsGetter, ...) (interface{}, error)
- func (s *Service) GetPrivilege(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) GetUserGroupPrivi(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) GetUserPrivi(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) Health(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) ImportInstanceAssociation(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) InstanceAuditQuery(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) ParseCreateRolePrivilegeOriginData(data []byte) (mapstr.MapStr, error)
- func (s Service) ParseOriginGraphicsUpdateInput(data []byte) (mapstr.MapStr, error)
- func (s *Service) ParseSearchIdentifierOriginData(data []byte) (mapstr.MapStr, error)
- func (s *Service) ParseUpdateObjectAttributeGroupPropertyInput(data []byte) (mapstr.MapStr, error)
- func (s *Service) SearchAllApp(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchArchivedBusiness(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchAssociationInst(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchAssociationType(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchBusiness(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchBusinessTopo(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchClassification(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchClassificationWithObjects(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchGroupByObject(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchIdentifier(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchInstAndAssociationDetail(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchInstByAssociation(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchInstByInstID(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchInstByObject(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchInstChildTopo(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchInstTopo(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchInsts(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchMainLineChildInstTopo(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchMainLineObjectTopo(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchModule(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchModuleByApp(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchModuleBySetProperty(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchObject(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchObjectAssoWithAssoKindList(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchObjectAssociation(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchObjectAttribute(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchObjectBatch(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchObjectByClassificationID(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchObjectTopo(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchObjectUnique(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchReducedBusinessList(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchSet(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SearchUserGroup(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) SelectObjectTopoGraphics(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateAssociationType(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateBusiness(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateBusinessStatus(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateClassification(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateInst(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateInsts(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateModule(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateMultiModule(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateMultiSet(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateObject(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateObjectAssociation(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateObjectAttribute(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateObjectAttributeGroupProperty(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateObjectGroup(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateObjectTopoGraphics(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateObjectTopoGraphicsNew(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateObjectUnique(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateSet(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateUserGroup(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) UpdateUserGroupPrivi(params types.ContextParams, pathParams, queryParams ParamsGetter, ...) (interface{}, error)
- func (s *Service) WebService() *restful.Container
Constants ¶
const CCTimeTypeParseFlag = "cc_time_type"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { SetCore(coreMgr core.Core) Actions() []*httpserver.Action }
API the API interface
type LogicFunc ¶
type LogicFunc func(params types.ContextParams, parthParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
LogicFunc the core logic function definition
type ParseOriginDataFunc ¶
ParseOriginDataFunc parse the origin data
type Service ¶
type Service struct { Engine *backbone.Engine Txn dal.DB Core core.Core Config options.Config AuthManager *extensions.AuthManager Error errors.CCErrorIf Language language.CCLanguageIf // contains filtered or unexported fields }
func (*Service) Actions ¶
func (s *Service) Actions() []*httpserver.Action
Actions return the all actions
func (*Service) AddMultiModule ¶
func (s *Service) AddMultiModule(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
AddMultiModule add multi modules
func (*Service) AuditQuery ¶
func (s *Service) AuditQuery(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
AuditQuery search audit logs
func (*Service) CreateAssociationInst ¶
func (s *Service) CreateAssociationInst(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) CreateAssociationType ¶
func (s *Service) CreateAssociationType(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) CreateBusiness ¶
func (s *Service) CreateBusiness(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
CreateBusiness create a new business
func (*Service) CreateClassification ¶
func (s *Service) CreateClassification(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
CreateClassification create a new object classification
func (*Service) CreateDefaultBusiness ¶
func (s *Service) CreateDefaultBusiness(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
CreateDefaultBusiness create the default business
func (*Service) CreateInst ¶
func (s *Service) CreateInst(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
CreateInst create a new inst
func (*Service) CreateMainLineObject ¶
func (s *Service) CreateMainLineObject(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (output interface{}, retErr error)
CreateMainLineObject create a new object in the main line topo
func (*Service) CreateModule ¶
func (s *Service) CreateModule(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
CreateModule create a new module
func (*Service) CreateObject ¶
func (s *Service) CreateObject(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
CreateObject create a new object
func (*Service) CreateObjectAssociation ¶
func (s *Service) CreateObjectAssociation(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
CreateObjectAssociation create a new object association
func (*Service) CreateObjectAttribute ¶
func (s *Service) CreateObjectAttribute(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
CreateObjectAttribute create a new object attribute
func (*Service) CreateObjectBatch ¶
func (s *Service) CreateObjectBatch(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
CreateObjectBatch batch to create some objects
func (*Service) CreateObjectGroup ¶
func (s *Service) CreateObjectGroup(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) CreateObjectUnique ¶
func (s *Service) CreateObjectUnique(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
CreateObjectUnique create a new object unique
func (*Service) CreatePrivilege ¶
func (s *Service) CreatePrivilege(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
CreatePrivilege search user goup
func (*Service) CreateSet ¶
func (s *Service) CreateSet(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
CreateSet create a new set
func (*Service) CreateUserGroup ¶
func (s *Service) CreateUserGroup(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
CreateUserGroup create user goup
func (*Service) DeleteAssociationInst ¶
func (s *Service) DeleteAssociationInst(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) DeleteAssociationType ¶
func (s *Service) DeleteAssociationType(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) DeleteBusiness ¶
func (s *Service) DeleteBusiness(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
DeleteBusiness delete the business
func (*Service) DeleteClassification ¶
func (s *Service) DeleteClassification(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
DeleteClassification delete the object classification
func (*Service) DeleteInst ¶
func (s *Service) DeleteInst(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
DeleteInst delete the inst
func (*Service) DeleteInsts ¶
func (s *Service) DeleteInsts(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) DeleteMainLineObject ¶
func (s *Service) DeleteMainLineObject(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
DeleteMainLineObject delete a object int the main line topo
func (*Service) DeleteModule ¶
func (s *Service) DeleteModule(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
DeleteModule delete the module
func (*Service) DeleteMultiModule ¶
func (s *Service) DeleteMultiModule(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
DeleteMultiModule delete multi modules
func (*Service) DeleteMultiSet ¶
func (s *Service) DeleteMultiSet(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
DeleteMultiSet delete multi sets
func (*Service) DeleteObject ¶
func (s *Service) DeleteObject(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
DeleteObject delete the object
func (*Service) DeleteObjectAssociation ¶
func (s *Service) DeleteObjectAssociation(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
DeleteObjectAssociation delete object association
func (*Service) DeleteObjectAttribute ¶
func (s *Service) DeleteObjectAttribute(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
DeleteObjectAttribute delete the object attribute
func (*Service) DeleteObjectAttributeGroup ¶
func (s *Service) DeleteObjectAttributeGroup(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) DeleteObjectGroup ¶
func (s *Service) DeleteObjectGroup(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
DeleteObjectGroup delete the object group
func (*Service) DeleteObjectUnique ¶
func (s *Service) DeleteObjectUnique(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
DeleteObjectUnique delete a object unique
func (*Service) DeleteSet ¶
func (s *Service) DeleteSet(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
DeleteSet delete the set
func (*Service) DeleteSetHost ¶
func (s *Service) DeleteSetHost(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
DeleteSetHost delete hosts in some sets
func (*Service) DeleteSets ¶
func (s *Service) DeleteSets(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) DeleteUserGroup ¶
func (s *Service) DeleteUserGroup(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
DeleteUserGroup delete user goup
func (*Service) GetInternalModule ¶
func (s *Service) GetInternalModule(params types.ContextParams, pathParams, queryparams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) GetPrivilege ¶
func (s *Service) GetPrivilege(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
GetPrivilege search user goup
func (*Service) GetUserGroupPrivi ¶
func (s *Service) GetUserGroupPrivi(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
GetUserGroupPrivi search user goup
func (*Service) GetUserPrivi ¶
func (s *Service) GetUserPrivi(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
GetUserPrivi search user goup
func (*Service) Health ¶
func (s *Service) Health(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) ImportInstanceAssociation ¶
func (s *Service) ImportInstanceAssociation(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
ImportInstanceAssociation import instance association
func (*Service) InstanceAuditQuery ¶
func (s *Service) InstanceAuditQuery(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
InstanceAuditQuery search instance audit logs current use case: get host and process related audit log in cmdb web
func (*Service) ParseCreateRolePrivilegeOriginData ¶
func (Service) ParseOriginGraphicsUpdateInput ¶
func (*Service) ParseSearchIdentifierOriginData ¶
func (*Service) ParseUpdateObjectAttributeGroupPropertyInput ¶
func (*Service) SearchAllApp ¶
func (s *Service) SearchAllApp(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchAllApp search all business
func (*Service) SearchArchivedBusiness ¶
func (s *Service) SearchArchivedBusiness(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
search archived business by condition
func (*Service) SearchAssociationInst ¶
func (s *Service) SearchAssociationInst(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) SearchAssociationType ¶
func (s *Service) SearchAssociationType(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) SearchBusiness ¶
func (s *Service) SearchBusiness(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchBusiness search the business by condition
func (*Service) SearchBusinessTopo ¶
func (s *Service) SearchBusinessTopo(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchBusinessTopo search the business topo
func (*Service) SearchClassification ¶
func (s *Service) SearchClassification(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchClassification search the classifications
func (*Service) SearchClassificationWithObjects ¶
func (s *Service) SearchClassificationWithObjects(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchClassificationWithObjects search the classification with objects
func (*Service) SearchGroupByObject ¶
func (s *Service) SearchGroupByObject(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchGroupByObject search the groups by the object
func (*Service) SearchIdentifier ¶
func (s *Service) SearchIdentifier(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) SearchInstAndAssociationDetail ¶
func (s *Service) SearchInstAndAssociationDetail(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchInstAndAssociationDetail search the inst with association details
func (*Service) SearchInstByAssociation ¶
func (s *Service) SearchInstByAssociation(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchInstByAssociation search inst by the association inst
func (*Service) SearchInstByInstID ¶
func (s *Service) SearchInstByInstID(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchInstByInstID search the inst by inst ID
func (*Service) SearchInstByObject ¶
func (s *Service) SearchInstByObject(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchInstByObject search the inst of the object
func (*Service) SearchInstChildTopo ¶
func (s *Service) SearchInstChildTopo(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchInstChildTopo search the child inst topo for a inst
func (*Service) SearchInstTopo ¶
func (s *Service) SearchInstTopo(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchInstTopo search the inst topo
func (*Service) SearchInsts ¶
func (s *Service) SearchInsts(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchInst search the inst
func (*Service) SearchMainLineChildInstTopo ¶
func (s *Service) SearchMainLineChildInstTopo(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchMainLineChildInstTopo search the child inst topo by a inst
func (*Service) SearchMainLineObjectTopo ¶
func (s *Service) SearchMainLineObjectTopo(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchMainLineOBjectTopo search the main line topo
func (*Service) SearchModule ¶
func (s *Service) SearchModule(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchModule search the modules
func (*Service) SearchModuleByApp ¶
func (s *Service) SearchModuleByApp(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchModuleByApp search module by business
func (*Service) SearchModuleBySetProperty ¶
func (s *Service) SearchModuleBySetProperty(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchModuleBySetProperty search module by set property
func (*Service) SearchObject ¶
func (s *Service) SearchObject(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchObject search some objects by condition
func (*Service) SearchObjectAssoWithAssoKindList ¶
func (s *Service) SearchObjectAssoWithAssoKindList(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) SearchObjectAssociation ¶
func (s *Service) SearchObjectAssociation(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchObjectAssociation search object association by object id
func (*Service) SearchObjectAttribute ¶
func (s *Service) SearchObjectAttribute(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchObjectAttribute search the object attributes
func (*Service) SearchObjectBatch ¶
func (s *Service) SearchObjectBatch(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchObjectBatch batch to search some objects
func (*Service) SearchObjectByClassificationID ¶
func (s *Service) SearchObjectByClassificationID(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchObjectByClassificationID search the object by classification ID
func (*Service) SearchObjectTopo ¶
func (s *Service) SearchObjectTopo(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchObjectTopo search the object topo
func (*Service) SearchObjectUnique ¶
func (s *Service) SearchObjectUnique(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchObjectUnique search object uniques
func (*Service) SearchReducedBusinessList ¶
func (s *Service) SearchReducedBusinessList(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
find business list with these info: 1. have any authorized resources in a business. 2. only returned with a few field for this business info.
func (*Service) SearchSet ¶
func (s *Service) SearchSet(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchSet search the set
func (*Service) SearchUserGroup ¶
func (s *Service) SearchUserGroup(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
SearchUserGroup search user goup
func (*Service) SelectObjectTopoGraphics ¶
func (s *Service) SelectObjectTopoGraphics(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) UpdateAssociationType ¶
func (s *Service) UpdateAssociationType(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) UpdateBusiness ¶
func (s *Service) UpdateBusiness(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
UpdateBusiness update the business
func (*Service) UpdateBusinessStatus ¶
func (s *Service) UpdateBusinessStatus(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
UpdateBusinessStatus update the business status
func (*Service) UpdateClassification ¶
func (s *Service) UpdateClassification(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
UpdateClassification update the object classification
func (*Service) UpdateInst ¶
func (s *Service) UpdateInst(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
UpdateInst update the inst
func (*Service) UpdateInsts ¶
func (s *Service) UpdateInsts(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) UpdateModule ¶
func (s *Service) UpdateModule(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
UpdateModule update the module
func (*Service) UpdateMultiModule ¶
func (s *Service) UpdateMultiModule(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
UpdateMultiModule update multi modules
func (*Service) UpdateMultiSet ¶
func (s *Service) UpdateMultiSet(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
UpdateMultiSet update multi sets
func (*Service) UpdateObject ¶
func (s *Service) UpdateObject(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
UpdateObject update the object
func (*Service) UpdateObjectAssociation ¶
func (s *Service) UpdateObjectAssociation(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
UpdateObjectAssociation update object association
func (*Service) UpdateObjectAttribute ¶
func (s *Service) UpdateObjectAttribute(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
UpdateObjectAttribute update the object attribute
func (*Service) UpdateObjectAttributeGroupProperty ¶
func (s *Service) UpdateObjectAttributeGroupProperty(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
UpdateObjectAttributeGroupProperty update the object attribute belongs to group information
func (*Service) UpdateObjectGroup ¶
func (s *Service) UpdateObjectGroup(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
UpdateObjectGroup update the object group information
func (*Service) UpdateObjectTopoGraphics ¶
func (s *Service) UpdateObjectTopoGraphics(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) UpdateObjectTopoGraphicsNew ¶
func (s *Service) UpdateObjectTopoGraphicsNew(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
func (*Service) UpdateObjectUnique ¶
func (s *Service) UpdateObjectUnique(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
UpdateObjectUnique update a object unique
func (*Service) UpdateSet ¶
func (s *Service) UpdateSet(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
UpdateSet update the set
func (*Service) UpdateUserGroup ¶
func (s *Service) UpdateUserGroup(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
UpdateUserGroup update user goup
func (*Service) UpdateUserGroupPrivi ¶
func (s *Service) UpdateUserGroupPrivi(params types.ContextParams, pathParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)
UpdateUserGroupPrivi search user goup
func (*Service) WebService ¶
func (s *Service) WebService() *restful.Container
WebService the web service
Source Files ¶
- association.go
- auditlog.go
- compatiblev2.go
- graphics.go
- health.go
- identifier.go
- inst.go
- inst_business.go
- inst_module.go
- inst_set.go
- object.go
- object_association.go
- object_attribute.go
- object_classification.go
- object_group.go
- privilege.go
- privilege_group.go
- privilege_role.go
- service.go
- service_business_initfunc.go
- service_initfunc.go
- types.go
- unique.go