service

package
v3.1.0-rc.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 21 Imported by: 0

Documentation

Index

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) AddHost

func (s *Service) AddHost(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) GetHosts

func (s *Service) GetHosts(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) Healthz

func (s *Service) Healthz(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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL