service

package
v1.0.32 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c *config.Config, hs *http.Server, gs *grpc.Server)

Types

type BusinessService added in v1.0.22

type BusinessService struct {
	v1.UnimplementedServiceServer
	// contains filtered or unexported fields
}

func NewBusinessService added in v1.0.22

func NewBusinessService(conf *config.Config) *BusinessService

func (*BusinessService) AddBusiness added in v1.0.22

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

func (*BusinessService) DeleteBusiness added in v1.0.22

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

func (*BusinessService) GetBusinessValues added in v1.0.22

func (*BusinessService) PageBusiness added in v1.0.22

func (*BusinessService) UpdateBusiness added in v1.0.22

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

func (*BusinessService) UpdateBusinessValue added in v1.0.22

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

type ConfigureService added in v1.0.22

type ConfigureService struct {
	v1.UnimplementedServiceServer
	// contains filtered or unexported fields
}

func NewConfigureService added in v1.0.22

func NewConfigureService(conf *config.Config, tpuc *tpbiz.UseCase, envuc *envbiz.UseCase, srvuc *srvbiz.UseCase) *ConfigureService

func (*ConfigureService) CompareConfigure added in v1.0.22

func (*ConfigureService) GetConfigure added in v1.0.22

func (*ConfigureService) UpdateConfigure added in v1.0.22

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

func (*ConfigureService) WatchConfigure added in v1.0.22

type EnvService added in v1.0.22

type EnvService struct {
	v1.UnimplementedServiceServer
	// contains filtered or unexported fields
}

func NewEnvService added in v1.0.22

func NewEnvService(conf *config.Config) *EnvService

func (*EnvService) AddEnv added in v1.0.22

func (s *EnvService) AddEnv(ctx context.Context, in *v1.AddEnvRequest) (*v1.AddEnvReply, error)

func (*EnvService) AllEnv added in v1.0.22

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

func (*EnvService) DeleteEnv added in v1.0.22

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

func (*EnvService) GetEnvToken added in v1.0.22

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

func (*EnvService) ResetEnvToken added in v1.0.22

func (*EnvService) UpdateEnv added in v1.0.22

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

type ResourceService added in v1.0.22

type ResourceService struct {
	v1.UnimplementedServiceServer
	// contains filtered or unexported fields
}

func NewResourceService added in v1.0.22

func NewResourceService(conf *config.Config) *ResourceService

func (*ResourceService) AddResource added in v1.0.22

func (*ResourceService) DeleteResource added in v1.0.22

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

func (*ResourceService) GetResourceServerIds added in v1.0.22

func (*ResourceService) GetResourceValues added in v1.0.22

func (*ResourceService) PageResource added in v1.0.22

func (*ResourceService) UpdateResource added in v1.0.22

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

func (*ResourceService) UpdateResourceValues added in v1.0.22

func (s *ResourceService) UpdateResourceValues(ctx context.Context, in *v1.UpdateResourceValuesRequest) (*emptypb.Empty, error)

type ServerService added in v1.0.22

type ServerService struct {
	v1.UnimplementedServiceServer
	// contains filtered or unexported fields
}

func NewServerService added in v1.0.22

func NewServerService(conf *config.Config) *ServerService

func (*ServerService) AddServer added in v1.0.22

func (*ServerService) DeleteServer added in v1.0.22

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

func (*ServerService) GetServer added in v1.0.22

func (s *ServerService) GetServer(ctx context.Context, in *v1.GetServerRequest) (*v1.Server, error)

func (*ServerService) PageServer added in v1.0.22

func (*ServerService) UpdateServer added in v1.0.22

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

type TemplateService added in v1.0.22

type TemplateService struct {
	v1.UnimplementedServiceServer
	// contains filtered or unexported fields
}

func NewTemplateService added in v1.0.22

func NewTemplateService(conf *config.Config) *TemplateService

func (*TemplateService) AddTemplate added in v1.0.22

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

func (*TemplateService) CompareTemplate added in v1.0.22

func (*TemplateService) CurrentTemplate added in v1.0.22

func (*TemplateService) GetTemplate added in v1.0.22

func (*TemplateService) PageTemplate added in v1.0.22

func (*TemplateService) ParseTemplate added in v1.0.22

func (*TemplateService) PreviewTemplate added in v1.0.22

func (*TemplateService) SwitchTemplate added in v1.0.22

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

type UserService added in v1.0.22

type UserService struct {
	v1.UnimplementedServiceServer
	// contains filtered or unexported fields
}

func NewUserService added in v1.0.22

func NewUserService(conf *config.Config) *UserService

func (*UserService) Login added in v1.0.22

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

func (*UserService) RefreshToken added in v1.0.22

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

Jump to

Keyboard shortcuts

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