Documentation ¶
Index ¶
- Constants
- type Service
- func (s *Service) AddHistory(req *restful.Request, resp *restful.Response)
- func (s *Service) AddHost(req *restful.Request, resp *restful.Response)
- func (s *Service) AddHostFavourite(req *restful.Request, resp *restful.Response)
- func (s *Service) AddModuleHostConfig(req *restful.Request, resp *restful.Response)
- func (s *Service) AddUserConfig(req *restful.Request, resp *restful.Response)
- func (s *Service) AddUserCustom(req *restful.Request, resp *restful.Response)
- func (s *Service) AssignHostToApp(req *restful.Request, resp *restful.Response)
- func (s *Service) DelDefaultModuleHostConfig(req *restful.Request, resp *restful.Response)
- func (s *Service) DelModuleHostConfig(req *restful.Request, resp *restful.Response)
- func (s *Service) DeleteHostFavouriteByID(req *restful.Request, resp *restful.Response)
- func (s *Service) DeleteUserConfig(req *restful.Request, resp *restful.Response)
- func (s *Service) GetDefaultUserCustom(req *restful.Request, resp *restful.Response)
- func (s *Service) GetHistorys(req *restful.Request, resp *restful.Response)
- func (s *Service) GetHostByID(req *restful.Request, resp *restful.Response)
- func (s *Service) GetHostFavouriteByID(req *restful.Request, resp *restful.Response)
- func (s *Service) GetHostFavourites(req *restful.Request, resp *restful.Response)
- func (s *Service) GetHostModulesIDs(req *restful.Request, resp *restful.Response)
- func (s *Service) GetHostSnap(req *restful.Request, resp *restful.Response)
- func (s *Service) GetHosts(req *restful.Request, resp *restful.Response)
- func (s *Service) GetModulesHostConfig(req *restful.Request, resp *restful.Response)
- func (s *Service) GetUserConfig(req *restful.Request, resp *restful.Response)
- func (s *Service) GetUserCustomByUser(req *restful.Request, resp *restful.Response)
- func (s *Service) Healthz(req *restful.Request, resp *restful.Response)
- func (s *Service) MoveHost2ResourcePool(req *restful.Request, resp *restful.Response)
- func (s *Service) UpdateHostFavouriteByID(req *restful.Request, resp *restful.Response)
- func (s *Service) UpdateUserConfig(req *restful.Request, resp *restful.Response)
- func (s *Service) UpdateUserCustomByID(req *restful.Request, resp *restful.Response)
- func (s *Service) UserConfigDetail(req *restful.Request, resp *restful.Response)
- func (s *Service) WebService() *restful.WebService
Constants ¶
View Source
const ( FavouriteCollection = "cc_HostFavourite" HostBaseCollection = "cc_HostBase" ModuleHostCollection = "cc_ModuleHostConfig" UserQueryCollection = "cc_UserAPI" )
View Source
const HistoryCollection = "cc_History"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { Core *backbone.Engine Instance storage.DI Cache *redis.Client Logics logics.Logics }
func (*Service) AddHistory ¶
func (s *Service) AddHistory(req *restful.Request, resp *restful.Response)
func (*Service) AddHostFavourite ¶
func (s *Service) AddHostFavourite(req *restful.Request, resp *restful.Response)
func (*Service) AddModuleHostConfig ¶
func (s *Service) AddModuleHostConfig(req *restful.Request, resp *restful.Response)
func (*Service) AddUserConfig ¶
func (s *Service) AddUserConfig(req *restful.Request, resp *restful.Response)
func (*Service) AddUserCustom ¶
func (s *Service) AddUserCustom(req *restful.Request, resp *restful.Response)
func (*Service) AssignHostToApp ¶
func (s *Service) AssignHostToApp(req *restful.Request, resp *restful.Response)
func (*Service) DelDefaultModuleHostConfig ¶
func (s *Service) DelDefaultModuleHostConfig(req *restful.Request, resp *restful.Response)
func (*Service) DelModuleHostConfig ¶
func (s *Service) DelModuleHostConfig(req *restful.Request, resp *restful.Response)
func (*Service) DeleteHostFavouriteByID ¶
func (s *Service) DeleteHostFavouriteByID(req *restful.Request, resp *restful.Response)
func (*Service) DeleteUserConfig ¶
func (s *Service) DeleteUserConfig(req *restful.Request, resp *restful.Response)
func (*Service) GetDefaultUserCustom ¶
func (s *Service) GetDefaultUserCustom(req *restful.Request, resp *restful.Response)
func (*Service) GetHistorys ¶
func (s *Service) GetHistorys(req *restful.Request, resp *restful.Response)
func (*Service) GetHostByID ¶
func (s *Service) GetHostByID(req *restful.Request, resp *restful.Response)
func (*Service) GetHostFavouriteByID ¶
func (s *Service) GetHostFavouriteByID(req *restful.Request, resp *restful.Response)
func (*Service) GetHostFavourites ¶
func (s *Service) GetHostFavourites(req *restful.Request, resp *restful.Response)
func (*Service) GetHostModulesIDs ¶
func (s *Service) GetHostModulesIDs(req *restful.Request, resp *restful.Response)
func (*Service) GetHostSnap ¶
func (s *Service) GetHostSnap(req *restful.Request, resp *restful.Response)
func (*Service) GetModulesHostConfig ¶
func (s *Service) GetModulesHostConfig(req *restful.Request, resp *restful.Response)
func (*Service) GetUserConfig ¶
func (s *Service) GetUserConfig(req *restful.Request, resp *restful.Response)
func (*Service) GetUserCustomByUser ¶
func (s *Service) GetUserCustomByUser(req *restful.Request, resp *restful.Response)
func (*Service) MoveHost2ResourcePool ¶
func (s *Service) MoveHost2ResourcePool(req *restful.Request, resp *restful.Response)
func (*Service) UpdateHostFavouriteByID ¶
func (s *Service) UpdateHostFavouriteByID(req *restful.Request, resp *restful.Response)
func (*Service) UpdateUserConfig ¶
func (s *Service) UpdateUserConfig(req *restful.Request, resp *restful.Response)
func (*Service) UpdateUserCustomByID ¶
func (s *Service) UpdateUserCustomByID(req *restful.Request, resp *restful.Response)
func (*Service) UserConfigDetail ¶
func (s *Service) UserConfigDetail(req *restful.Request, resp *restful.Response)
func (*Service) WebService ¶
func (s *Service) WebService() *restful.WebService
Click to show internal directories.
Click to hide internal directories.