service

package
v0.0.0-...-7378411 Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppResult

type AppResult struct {
	Result  bool        `json:result`
	Code    int         `json:code`
	Message interface{} `json:message`
	Data    DataInfo    `json:data`
}

type DataInfo

type DataInfo struct {
	Count int                      `json:count`
	Info  []map[string]interface{} `json:info`
}

type Service

type Service struct {
	*options.Config
	*backbone.Engine
	*logics.Logics
	// contains filtered or unexported fields
}

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

func (s *Service) AddHostFromAgent(req *restful.Request, resp *restful.Response)

func (*Service) AddHostMultiAppModuleRelation

func (s *Service) AddHostMultiAppModuleRelation(req *restful.Request, resp *restful.Response)

func (*Service) AddUserCustomQuery

func (s *Service) AddUserCustomQuery(req *restful.Request, resp *restful.Response)

func (*Service) AssignHostToApp

func (s *Service) AssignHostToApp(req *restful.Request, resp *restful.Response)

func (*Service) AssignHostToAppModule

func (s *Service) AssignHostToAppModule(req *restful.Request, resp *restful.Response)

func (*Service) CloneHostProperty

func (s *Service) CloneHostProperty(req *restful.Request, resp *restful.Response)

func (*Service) CreatePlat

func (s *Service) CreatePlat(req *restful.Request, resp *restful.Response)

func (*Service) DelHostInApp

func (s *Service) DelHostInApp(req *restful.Request, resp *restful.Response)

func (*Service) DelPlat

func (s *Service) DelPlat(req *restful.Request, resp *restful.Response)

func (*Service) DeleteHostBatch

func (s *Service) DeleteHostBatch(req *restful.Request, resp *restful.Response)

func (*Service) DeleteHostFavouriteByID

func (s *Service) DeleteHostFavouriteByID(req *restful.Request, resp *restful.Response)

func (*Service) DeleteUserCustomQuery

func (s *Service) DeleteUserCustomQuery(req *restful.Request, resp *restful.Response)

func (*Service) GetAgentStatus

func (s *Service) GetAgentStatus(req *restful.Request, resp *restful.Response)

func (*Service) GetDefaultCustom

func (s *Service) GetDefaultCustom(req *restful.Request, resp *restful.Response)

func (*Service) GetGitServerIp

func (s *Service) GetGitServerIp(req *restful.Request, resp *restful.Response)

func (*Service) GetHistorys

func (s *Service) GetHistorys(req *restful.Request, resp *restful.Response)

func (*Service) GetHostAppByCompanyId

func (s *Service) GetHostAppByCompanyId(req *restful.Request, resp *restful.Response)

func (*Service) GetHostFavourites

func (s *Service) GetHostFavourites(req *restful.Request, resp *restful.Response)

func (*Service) GetHostInstanceProperties

func (s *Service) GetHostInstanceProperties(req *restful.Request, resp *restful.Response)

func (*Service) GetIPAndProxyByCompany

func (s *Service) GetIPAndProxyByCompany(req *restful.Request, resp *restful.Response)

func (*Service) GetPlat

func (s *Service) GetPlat(req *restful.Request, resp *restful.Response)

func (*Service) GetUserCustom

func (s *Service) GetUserCustom(req *restful.Request, resp *restful.Response)

func (*Service) GetUserCustomQuery

func (s *Service) GetUserCustomQuery(req *restful.Request, resp *restful.Response)

func (*Service) GetUserCustomQueryDetail

func (s *Service) GetUserCustomQueryDetail(req *restful.Request, resp *restful.Response)

func (*Service) GetUserCustomQueryResult

func (s *Service) GetUserCustomQueryResult(req *restful.Request, resp *restful.Response)

func (*Service) Healthz

func (s *Service) Healthz(req *restful.Request, resp *restful.Response)

func (*Service) HostModuleRelation

func (s *Service) HostModuleRelation(req *restful.Request, resp *restful.Response)

func (*Service) HostSearchByAppID

func (s *Service) HostSearchByAppID(req *restful.Request, resp *restful.Response)

func (*Service) HostSearchByConds

func (s *Service) HostSearchByConds(req *restful.Request, resp *restful.Response)

func (*Service) HostSearchByIP

func (s *Service) HostSearchByIP(req *restful.Request, resp *restful.Response)

func (*Service) HostSearchByModuleID

func (s *Service) HostSearchByModuleID(req *restful.Request, resp *restful.Response)

func (*Service) HostSearchByProperty

func (s *Service) HostSearchByProperty(req *restful.Request, resp *restful.Response)

func (*Service) HostSearchBySetID

func (s *Service) HostSearchBySetID(req *restful.Request, resp *restful.Response)

func (*Service) HostSnapInfo

func (s *Service) HostSnapInfo(req *restful.Request, resp *restful.Response)

func (*Service) IncrHostFavouritesCount

func (s *Service) IncrHostFavouritesCount(req *restful.Request, resp *restful.Response)

func (*Service) LockHost

func (s *Service) LockHost(req *restful.Request, resp *restful.Response)

func (*Service) MoveHost2EmptyModule

func (s *Service) MoveHost2EmptyModule(req *restful.Request, resp *restful.Response)

func (*Service) MoveHost2FaultModule

func (s *Service) MoveHost2FaultModule(req *restful.Request, resp *restful.Response)

func (*Service) MoveHostToResourcePool

func (s *Service) MoveHostToResourcePool(req *restful.Request, resp *restful.Response)

func (*Service) MoveSetHost2IdleModule

func (s *Service) MoveSetHost2IdleModule(req *restful.Request, resp *restful.Response)

func (*Service) NewHostSyncAppTopo

func (s *Service) NewHostSyncAppTopo(req *restful.Request, resp *restful.Response)

func (*Service) QueryHostLock

func (s *Service) QueryHostLock(req *restful.Request, resp *restful.Response)

func (*Service) SaveUserCustom

func (s *Service) SaveUserCustom(req *restful.Request, resp *restful.Response)

func (*Service) SearchHost

func (s *Service) SearchHost(req *restful.Request, resp *restful.Response)

func (*Service) SearchHostWithAsstDetail

func (s *Service) SearchHostWithAsstDetail(req *restful.Request, resp *restful.Response)

func (*Service) UnlockHost

func (s *Service) UnlockHost(req *restful.Request, resp *restful.Response)

func (*Service) UpdateCustomProperty

func (s *Service) UpdateCustomProperty(req *restful.Request, resp *restful.Response)

func (*Service) UpdateHost

func (s *Service) UpdateHost(req *restful.Request, resp *restful.Response)

updateHostPlat 根据条件更新主机信息

func (*Service) UpdateHostBatch

func (s *Service) UpdateHostBatch(req *restful.Request, resp *restful.Response)

func (*Service) UpdateHostByAppID

func (s *Service) UpdateHostByAppID(req *restful.Request, resp *restful.Response)

func (*Service) UpdateHostFavouriteByID

func (s *Service) UpdateHostFavouriteByID(req *restful.Request, resp *restful.Response)

func (*Service) UpdateUserCustomQuery

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