service

package
v0.0.0-...-cb472e6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	*backbone.Engine

	*logics.Logics
	EnableTxn bool
	// contains filtered or unexported fields
}

func NewService

func NewService(ctx context.Context) *Service

func (*Service) CreateAccount

func (s *Service) CreateAccount(ctx *rest.Contexts)

新建云账户

func (*Service) CreateSyncTask

func (s *Service) CreateSyncTask(ctx *rest.Contexts)

func (*Service) DeleteAccount

func (s *Service) DeleteAccount(ctx *rest.Contexts)

删除云账户

func (*Service) DeleteSyncTask

func (s *Service) DeleteSyncTask(ctx *rest.Contexts)

func (*Service) Healthz

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

func (*Service) SearchAccount

func (s *Service) SearchAccount(ctx *rest.Contexts)

查询云账户

func (*Service) SearchAccountValidity

func (s *Service) SearchAccountValidity(ctx *rest.Contexts)

查询云账户有效性

func (*Service) SearchSyncHistory

func (s *Service) SearchSyncHistory(ctx *rest.Contexts)

func (*Service) SearchSyncRegion

func (s *Service) SearchSyncRegion(ctx *rest.Contexts)

func (*Service) SearchSyncTask

func (s *Service) SearchSyncTask(ctx *rest.Contexts)

func (*Service) SearchVpc

func (s *Service) SearchVpc(ctx *rest.Contexts)

func (*Service) SetAuthorizer

func (s *Service) SetAuthorizer(authorizer ac.AuthorizeInterface)

func (*Service) SetEncryptor

func (s *Service) SetEncryptor(cryptor cryptor.Cryptor)

func (*Service) UpdateAccount

func (s *Service) UpdateAccount(ctx *rest.Contexts)

更新云账户

func (*Service) UpdateSyncTask

func (s *Service) UpdateSyncTask(ctx *rest.Contexts)

func (*Service) VerifyConnectivity

func (s *Service) VerifyConnectivity(ctx *rest.Contexts)

云账户连通测试

func (*Service) WebService

func (s *Service) WebService() *restful.Container

Jump to

Keyboard shortcuts

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