service

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 9 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 {
	v1.UnimplementedServiceServer
	UserUseCase      *biz.UserUseCase
	EnvUseCase       *biz.EnvUseCase
	ServerUseCase    *biz.ServerUseCase
	ResourceUseCase  *biz.ResourceUseCase
	BusinessUseCase  *biz.BusinessUseCase
	TemplateUseCase  *biz.TemplateUseCase
	ConfigureUseCase *biz.ConfigureUseCase
}

func New

func New(config *config.Config) *Service

func (*Service) AddBusiness added in v1.0.15

func (s *Service) AddBusiness(ctx context.Context, in *v1.AddBusinessRequest) (*emptypb.Empty, error)

func (*Service) AddEnv added in v1.0.15

func (s *Service) AddEnv(ctx context.Context, in *v1.AddEnvRequest) (*emptypb.Empty, error)

func (*Service) AddResource added in v1.0.15

func (s *Service) AddResource(ctx context.Context, in *v1.AddResourceRequest) (*emptypb.Empty, error)

func (*Service) AddServer added in v1.0.15

func (s *Service) AddServer(ctx context.Context, in *v1.AddServerRequest) (*emptypb.Empty, error)

func (*Service) AddTemplate added in v1.0.15

func (s *Service) AddTemplate(ctx context.Context, in *v1.AddTemplateRequest) (*emptypb.Empty, error)

func (*Service) AllBusinessValue added in v1.0.15

func (s *Service) AllBusinessValue(ctx context.Context, in *v1.AllBusinessValueRequest) (*v1.AllBusinessValueReply, error)

func (*Service) AllEnv added in v1.0.15

func (s *Service) AllEnv(ctx context.Context, in *emptypb.Empty) (*v1.AllEnvReply, error)

func (*Service) AllResourceServer added in v1.0.15

func (s *Service) AllResourceServer(ctx context.Context, in *v1.AllResourceServerRequest) (*v1.AllResourceServerReply, error)

func (*Service) AllResourceValue added in v1.0.15

func (s *Service) AllResourceValue(ctx context.Context, in *v1.AllResourceValueRequest) (*v1.AllResourceValueReply, error)

func (*Service) CompareConfigure added in v1.0.15

func (s *Service) CompareConfigure(ctx context.Context, in *v1.CompareConfigureRequest) (*v1.CompareConfigureReply, error)

func (*Service) CompareTemplate added in v1.0.15

func (s *Service) CompareTemplate(ctx context.Context, in *v1.CompareTemplateRequest) (*v1.CompareTemplateReply, error)

func (*Service) CurrentTemplate added in v1.0.15

func (s *Service) CurrentTemplate(ctx context.Context, in *v1.CurrentTemplateRequest) (*v1.CurrentTemplateReply, error)

func (*Service) DeleteBusiness added in v1.0.15

func (s *Service) DeleteBusiness(ctx context.Context, in *v1.DeleteBusinessRequest) (*emptypb.Empty, error)

func (*Service) DeleteEnv added in v1.0.15

func (s *Service) DeleteEnv(ctx context.Context, in *v1.DeleteEnvRequest) (*emptypb.Empty, error)

func (*Service) DeleteResource added in v1.0.15

func (s *Service) DeleteResource(ctx context.Context, in *v1.DeleteResourceRequest) (*emptypb.Empty, error)

func (*Service) DeleteServer added in v1.0.15

func (s *Service) DeleteServer(ctx context.Context, in *v1.DeleteServerRequest) (*emptypb.Empty, error)

func (*Service) GetConfigure added in v1.0.15

func (s *Service) GetConfigure(ctx context.Context, in *v1.GetConfigureRequest) (*v1.GetConfigureReply, error)

func (*Service) GetEnvToken added in v1.0.15

func (s *Service) GetEnvToken(ctx context.Context, in *v1.GetEnvTokenRequest) (*v1.GetEnvTokenReply, error)

func (*Service) GetServer added in v1.0.15

func (s *Service) GetServer(ctx context.Context, in *v1.GetServerRequest) (*v1.GetServerReply, error)

func (*Service) GetTemplate added in v1.0.15

func (s *Service) GetTemplate(ctx context.Context, in *v1.GetTemplateRequest) (*v1.GetTemplateReply, error)

func (*Service) Login added in v1.0.15

func (s *Service) Login(ctx context.Context, in *v1.LoginRequest) (*v1.LoginReply, error)

func (*Service) PageBusiness added in v1.0.15

func (s *Service) PageBusiness(ctx context.Context, in *v1.PageBusinessRequest) (*v1.PageBusinessReply, error)

func (*Service) PageResource added in v1.0.15

func (s *Service) PageResource(ctx context.Context, in *v1.PageResourceRequest) (*v1.PageResourceReply, error)

func (*Service) PageServer added in v1.0.15

func (s *Service) PageServer(ctx context.Context, in *v1.PageServerRequest) (*v1.PageServerReply, error)

func (*Service) PageServerResource added in v1.0.15

func (s *Service) PageServerResource(ctx context.Context, in *v1.PageServerResourceRequest) (*v1.PageServerResourceReply, error)

func (*Service) PageTemplate added in v1.0.15

func (s *Service) PageTemplate(ctx context.Context, in *v1.PageTemplateRequest) (*v1.PageTemplateReply, error)

func (*Service) ParseTemplate added in v1.0.15

func (s *Service) ParseTemplate(ctx context.Context, in *v1.ParseTemplateRequest) (*v1.ParseTemplateReply, error)

func (*Service) ParseTemplatePreview added in v1.0.15

func (*Service) RefreshToken added in v1.0.15

func (s *Service) RefreshToken(ctx context.Context, in *emptypb.Empty) (*v1.RefreshTokenReply, error)

func (*Service) ResetEnvToken added in v1.0.15

func (s *Service) ResetEnvToken(ctx context.Context, in *v1.ResetEnvTokenRequest) (*v1.ResetEnvTokenReply, error)

func (*Service) SwitchTemplate added in v1.0.15

func (s *Service) SwitchTemplate(ctx context.Context, in *v1.SwitchTemplateRequest) (*emptypb.Empty, error)

func (*Service) UpdateBusiness added in v1.0.15

func (s *Service) UpdateBusiness(ctx context.Context, in *v1.UpdateBusinessRequest) (*emptypb.Empty, error)

func (*Service) UpdateBusinessValue added in v1.0.15

func (s *Service) UpdateBusinessValue(ctx context.Context, in *v1.UpdateBusinessValueRequest) (*emptypb.Empty, error)

func (*Service) UpdateConfigure added in v1.0.15

func (s *Service) UpdateConfigure(ctx context.Context, in *v1.UpdateConfigureRequest) (*emptypb.Empty, error)

func (*Service) UpdateEnv added in v1.0.15

func (s *Service) UpdateEnv(ctx context.Context, in *v1.UpdateEnvRequest) (*emptypb.Empty, error)

func (*Service) UpdateResource added in v1.0.15

func (s *Service) UpdateResource(ctx context.Context, in *v1.UpdateResourceRequest) (*emptypb.Empty, error)

func (*Service) UpdateResourceValue added in v1.0.15

func (s *Service) UpdateResourceValue(ctx context.Context, in *v1.UpdateResourceValueRequest) (*emptypb.Empty, error)

func (*Service) UpdateServer added in v1.0.15

func (s *Service) UpdateServer(ctx context.Context, in *v1.UpdateServerRequest) (*emptypb.Empty, error)

func (*Service) WatchConfigure added in v1.0.15

func (s *Service) WatchConfigure(in *v1.WatchConfigureRequest, reply v1.Service_WatchConfigureServer) error

Jump to

Keyboard shortcuts

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