service

package
v1.0.40 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

Types

type BusinessService added in v1.0.22

type BusinessService struct {
	pb.UnimplementedBusinessServer
	// contains filtered or unexported fields
}

func NewBusinessService added in v1.0.22

func NewBusinessService(conf *conf.Config) *BusinessService

func (*BusinessService) CreateBusiness added in v1.0.35

CreateBusiness 创建业务配置信息

func (*BusinessService) DeleteBusiness added in v1.0.22

DeleteBusiness 删除业务配置信息

func (*BusinessService) GetBusiness added in v1.0.35

GetBusiness 获取指定的业务配置信息

func (*BusinessService) ListBusiness added in v1.0.35

ListBusiness 获取业务配置信息列表

func (*BusinessService) ListBusinessValue added in v1.0.35

ListBusinessValue 获取业务配置值信息列表

func (*BusinessService) UpdateBusiness added in v1.0.22

UpdateBusiness 更新业务配置信息

func (*BusinessService) UpdateBusinessValue added in v1.0.22

UpdateBusinessValue 更新业务配置值信息

type ConfigureService added in v1.0.22

type ConfigureService struct {
	pb.UnimplementedConfigureServer
	// contains filtered or unexported fields
}

func NewConfigureService added in v1.0.22

func NewConfigureService(conf *conf.Config) *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 (*ConfigureService) WatchConfigure added in v1.0.22

type EnvService added in v1.0.22

type EnvService struct {
	pb.UnimplementedEnvServer
	// contains filtered or unexported fields
}

func NewEnvService added in v1.0.22

func NewEnvService(conf *conf.Config) *EnvService

func (*EnvService) CreateEnv added in v1.0.35

func (s *EnvService) CreateEnv(c context.Context, req *pb.CreateEnvRequest) (*pb.CreateEnvReply, error)

CreateEnv 创建环境信息

func (*EnvService) DeleteEnv added in v1.0.22

func (s *EnvService) DeleteEnv(c context.Context, req *pb.DeleteEnvRequest) (*pb.DeleteEnvReply, error)

DeleteEnv 删除环境信息

func (*EnvService) GetEnv added in v1.0.35

func (s *EnvService) GetEnv(c context.Context, req *pb.GetEnvRequest) (*pb.GetEnvReply, error)

GetEnv 获取指定的环境信息

func (*EnvService) GetEnvToken added in v1.0.22

func (*EnvService) ListEnv added in v1.0.35

func (s *EnvService) ListEnv(c context.Context, req *pb.ListEnvRequest) (*pb.ListEnvReply, error)

ListEnv 获取环境信息列表

func (*EnvService) ResetEnvToken added in v1.0.22

func (*EnvService) UpdateEnv added in v1.0.22

func (s *EnvService) UpdateEnv(c context.Context, req *pb.UpdateEnvRequest) (*pb.UpdateEnvReply, error)

UpdateEnv 更新环境信息

func (*EnvService) UpdateEnvStatus added in v1.0.35

UpdateEnvStatus 更新环境信息状态

type ResourceService added in v1.0.22

type ResourceService struct {
	pb.UnimplementedResourceServer
	// contains filtered or unexported fields
}

func NewResourceService added in v1.0.22

func NewResourceService(conf *conf.Config) *ResourceService

func (*ResourceService) CreateResource added in v1.0.35

CreateResource 创建资源配置信息

func (*ResourceService) DeleteResource added in v1.0.22

DeleteResource 删除资源配置信息

func (*ResourceService) GetResource added in v1.0.35

GetResource 获取指定的资源配置信息

func (*ResourceService) ListResource added in v1.0.35

ListResource 获取资源配置信息列表

func (*ResourceService) ListResourceValue added in v1.0.35

ListResourceValue 获取业务配置值信息列表

func (*ResourceService) UpdateResource added in v1.0.22

UpdateResource 更新资源配置信息

func (*ResourceService) UpdateResourceValue added in v1.0.35

UpdateResourceValue 更新业务配置值信息

type ServerService added in v1.0.22

type ServerService struct {
	pb.UnimplementedServerServer
	// contains filtered or unexported fields
}

func NewServerService added in v1.0.22

func NewServerService(conf *conf.Config) *ServerService

func (*ServerService) CreateServer added in v1.0.35

CreateServer 创建服务信息

func (*ServerService) DeleteServer added in v1.0.22

DeleteServer 删除服务信息

func (*ServerService) GetServer added in v1.0.22

GetServer 获取指定的服务信息

func (*ServerService) ListServer added in v1.0.35

ListServer 获取服务信息列表

func (*ServerService) UpdateServer added in v1.0.22

UpdateServer 更新服务信息

func (*ServerService) UpdateServerStatus added in v1.0.35

UpdateServerStatus 更新服务信息状态

type TemplateService added in v1.0.22

type TemplateService struct {
	pb.UnimplementedTemplateServer
	// contains filtered or unexported fields
}

func NewTemplateService added in v1.0.22

func NewTemplateService(conf *conf.Config) *TemplateService

func (*TemplateService) CompareTemplate added in v1.0.22

func (*TemplateService) CreateTemplate added in v1.0.35

func (*TemplateService) CurrentTemplate added in v1.0.22

func (*TemplateService) GetTemplate added in v1.0.22

func (*TemplateService) ListTemplate added in v1.0.35

func (*TemplateService) ParseTemplate added in v1.0.22

func (*TemplateService) PreviewTemplate added in v1.0.22

func (*TemplateService) SwitchTemplate added in v1.0.22

type UserService added in v1.0.22

type UserService struct {
	pb.UnimplementedUserServer
	// contains filtered or unexported fields
}

func NewUserService added in v1.0.22

func NewUserService(conf *conf.Config) *UserService

func (*UserService) Login added in v1.0.22

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

func (*UserService) RefreshToken added in v1.0.22

Jump to

Keyboard shortcuts

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