Documentation ¶
Index ¶
- func New(c *conf.Config, hs *http.Server, gs *grpc.Server)
- type BusinessService
- func (s *BusinessService) CreateBusiness(c context.Context, req *pb.CreateBusinessRequest) (*pb.CreateBusinessReply, error)
- func (s *BusinessService) DeleteBusiness(c context.Context, req *pb.DeleteBusinessRequest) (*pb.DeleteBusinessReply, error)
- func (s *BusinessService) GetBusiness(c context.Context, req *pb.GetBusinessRequest) (*pb.GetBusinessReply, error)
- func (s *BusinessService) ListBusiness(c context.Context, req *pb.ListBusinessRequest) (*pb.ListBusinessReply, error)
- func (s *BusinessService) ListBusinessValue(c context.Context, req *pb.ListBusinessValueRequest) (*pb.ListBusinessValueReply, error)
- func (s *BusinessService) UpdateBusiness(c context.Context, req *pb.UpdateBusinessRequest) (*pb.UpdateBusinessReply, error)
- func (s *BusinessService) UpdateBusinessValue(c context.Context, req *pb.UpdateBusinessValueRequest) (*pb.UpdateBusinessValueReply, error)
- type ConfigureService
- func (s *ConfigureService) CompareConfigure(c context.Context, in *pb.CompareConfigureRequest) (*pb.CompareConfigureReply, error)
- func (s *ConfigureService) GetConfigure(ctx context.Context, in *pb.GetConfigureRequest) (*pb.GetConfigureReply, error)
- func (s *ConfigureService) UpdateConfigure(ctx context.Context, in *pb.UpdateConfigureRequest) (*pb.UpdateConfigureReply, error)
- func (s *ConfigureService) WatchConfigure(in *pb.WatchConfigureRequest, reply pb.Configure_WatchConfigureServer) error
- type EnvService
- func (s *EnvService) CreateEnv(c context.Context, req *pb.CreateEnvRequest) (*pb.CreateEnvReply, error)
- func (s *EnvService) DeleteEnv(c context.Context, req *pb.DeleteEnvRequest) (*pb.DeleteEnvReply, error)
- func (s *EnvService) GetEnv(c context.Context, req *pb.GetEnvRequest) (*pb.GetEnvReply, error)
- func (s *EnvService) GetEnvToken(c context.Context, req *pb.GetEnvTokenRequest) (*pb.GetEnvTokenReply, error)
- func (s *EnvService) ListEnv(c context.Context, req *pb.ListEnvRequest) (*pb.ListEnvReply, error)
- func (s *EnvService) ResetEnvToken(c context.Context, req *pb.ResetEnvTokenRequest) (*pb.ResetEnvTokenReply, error)
- func (s *EnvService) UpdateEnv(c context.Context, req *pb.UpdateEnvRequest) (*pb.UpdateEnvReply, error)
- func (s *EnvService) UpdateEnvStatus(c context.Context, req *pb.UpdateEnvStatusRequest) (*pb.UpdateEnvStatusReply, error)
- type ResourceService
- func (s *ResourceService) CreateResource(c context.Context, req *pb.CreateResourceRequest) (*pb.CreateResourceReply, error)
- func (s *ResourceService) DeleteResource(c context.Context, req *pb.DeleteResourceRequest) (*pb.DeleteResourceReply, error)
- func (s *ResourceService) GetResource(c context.Context, req *pb.GetResourceRequest) (*pb.GetResourceReply, error)
- func (s *ResourceService) ListResource(c context.Context, req *pb.ListResourceRequest) (*pb.ListResourceReply, error)
- func (s *ResourceService) ListResourceValue(c context.Context, req *pb.ListResourceValueRequest) (*pb.ListResourceValueReply, error)
- func (s *ResourceService) UpdateResource(c context.Context, req *pb.UpdateResourceRequest) (*pb.UpdateResourceReply, error)
- func (s *ResourceService) UpdateResourceValue(c context.Context, req *pb.UpdateResourceValueRequest) (*pb.UpdateResourceValueReply, error)
- type ServerService
- func (s *ServerService) CreateServer(c context.Context, req *pb.CreateServerRequest) (*pb.CreateServerReply, error)
- func (s *ServerService) DeleteServer(c context.Context, req *pb.DeleteServerRequest) (*pb.DeleteServerReply, error)
- func (s *ServerService) GetServer(c context.Context, req *pb.GetServerRequest) (*pb.GetServerReply, error)
- func (s *ServerService) ListServer(c context.Context, req *pb.ListServerRequest) (*pb.ListServerReply, error)
- func (s *ServerService) UpdateServer(c context.Context, req *pb.UpdateServerRequest) (*pb.UpdateServerReply, error)
- func (s *ServerService) UpdateServerStatus(c context.Context, req *pb.UpdateServerStatusRequest) (*pb.UpdateServerStatusReply, error)
- type TemplateService
- func (s *TemplateService) CompareTemplate(ctx context.Context, req *pb.CompareTemplateRequest) (*pb.CompareTemplateReply, error)
- func (s *TemplateService) CreateTemplate(c context.Context, req *pb.CreateTemplateRequest) (*pb.CreateTemplateReply, error)
- func (s *TemplateService) CurrentTemplate(ctx context.Context, req *pb.CurrentTemplateRequest) (*pb.CurrentTemplateReply, error)
- func (s *TemplateService) GetTemplate(ctx context.Context, req *pb.GetTemplateRequest) (*pb.GetTemplateReply, error)
- func (s *TemplateService) ListTemplate(ctx context.Context, req *pb.ListTemplateRequest) (*pb.ListTemplateReply, error)
- func (s *TemplateService) ParseTemplate(ctx context.Context, req *pb.ParseTemplateRequest) (*pb.ParseTemplateReply, error)
- func (s *TemplateService) PreviewTemplate(ctx context.Context, req *pb.PreviewTemplateRequest) (*pb.PreviewTemplateReply, error)
- func (s *TemplateService) SwitchTemplate(ctx context.Context, req *pb.SwitchTemplateRequest) (*pb.SwitchTemplateReply, error)
- type UserService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
func (s *BusinessService) CreateBusiness(c context.Context, req *pb.CreateBusinessRequest) (*pb.CreateBusinessReply, error)
CreateBusiness 创建业务配置信息
func (*BusinessService) DeleteBusiness ¶ added in v1.0.22
func (s *BusinessService) DeleteBusiness(c context.Context, req *pb.DeleteBusinessRequest) (*pb.DeleteBusinessReply, error)
DeleteBusiness 删除业务配置信息
func (*BusinessService) GetBusiness ¶ added in v1.0.35
func (s *BusinessService) GetBusiness(c context.Context, req *pb.GetBusinessRequest) (*pb.GetBusinessReply, error)
GetBusiness 获取指定的业务配置信息
func (*BusinessService) ListBusiness ¶ added in v1.0.35
func (s *BusinessService) ListBusiness(c context.Context, req *pb.ListBusinessRequest) (*pb.ListBusinessReply, error)
ListBusiness 获取业务配置信息列表
func (*BusinessService) ListBusinessValue ¶ added in v1.0.35
func (s *BusinessService) ListBusinessValue(c context.Context, req *pb.ListBusinessValueRequest) (*pb.ListBusinessValueReply, error)
ListBusinessValue 获取业务配置值信息列表
func (*BusinessService) UpdateBusiness ¶ added in v1.0.22
func (s *BusinessService) UpdateBusiness(c context.Context, req *pb.UpdateBusinessRequest) (*pb.UpdateBusinessReply, error)
UpdateBusiness 更新业务配置信息
func (*BusinessService) UpdateBusinessValue ¶ added in v1.0.22
func (s *BusinessService) UpdateBusinessValue(c context.Context, req *pb.UpdateBusinessValueRequest) (*pb.UpdateBusinessValueReply, error)
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 (s *ConfigureService) CompareConfigure(c context.Context, in *pb.CompareConfigureRequest) (*pb.CompareConfigureReply, error)
func (*ConfigureService) GetConfigure ¶ added in v1.0.22
func (s *ConfigureService) GetConfigure(ctx context.Context, in *pb.GetConfigureRequest) (*pb.GetConfigureReply, error)
func (*ConfigureService) UpdateConfigure ¶ added in v1.0.22
func (s *ConfigureService) UpdateConfigure(ctx context.Context, in *pb.UpdateConfigureRequest) (*pb.UpdateConfigureReply, error)
func (*ConfigureService) WatchConfigure ¶ added in v1.0.22
func (s *ConfigureService) WatchConfigure(in *pb.WatchConfigureRequest, reply pb.Configure_WatchConfigureServer) error
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 (s *EnvService) GetEnvToken(c context.Context, req *pb.GetEnvTokenRequest) (*pb.GetEnvTokenReply, error)
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 (s *EnvService) ResetEnvToken(c context.Context, req *pb.ResetEnvTokenRequest) (*pb.ResetEnvTokenReply, error)
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
func (s *EnvService) UpdateEnvStatus(c context.Context, req *pb.UpdateEnvStatusRequest) (*pb.UpdateEnvStatusReply, error)
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
func (s *ResourceService) CreateResource(c context.Context, req *pb.CreateResourceRequest) (*pb.CreateResourceReply, error)
CreateResource 创建资源配置信息
func (*ResourceService) DeleteResource ¶ added in v1.0.22
func (s *ResourceService) DeleteResource(c context.Context, req *pb.DeleteResourceRequest) (*pb.DeleteResourceReply, error)
DeleteResource 删除资源配置信息
func (*ResourceService) GetResource ¶ added in v1.0.35
func (s *ResourceService) GetResource(c context.Context, req *pb.GetResourceRequest) (*pb.GetResourceReply, error)
GetResource 获取指定的资源配置信息
func (*ResourceService) ListResource ¶ added in v1.0.35
func (s *ResourceService) ListResource(c context.Context, req *pb.ListResourceRequest) (*pb.ListResourceReply, error)
ListResource 获取资源配置信息列表
func (*ResourceService) ListResourceValue ¶ added in v1.0.35
func (s *ResourceService) ListResourceValue(c context.Context, req *pb.ListResourceValueRequest) (*pb.ListResourceValueReply, error)
ListResourceValue 获取业务配置值信息列表
func (*ResourceService) UpdateResource ¶ added in v1.0.22
func (s *ResourceService) UpdateResource(c context.Context, req *pb.UpdateResourceRequest) (*pb.UpdateResourceReply, error)
UpdateResource 更新资源配置信息
func (*ResourceService) UpdateResourceValue ¶ added in v1.0.35
func (s *ResourceService) UpdateResourceValue(c context.Context, req *pb.UpdateResourceValueRequest) (*pb.UpdateResourceValueReply, error)
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
func (s *ServerService) CreateServer(c context.Context, req *pb.CreateServerRequest) (*pb.CreateServerReply, error)
CreateServer 创建服务信息
func (*ServerService) DeleteServer ¶ added in v1.0.22
func (s *ServerService) DeleteServer(c context.Context, req *pb.DeleteServerRequest) (*pb.DeleteServerReply, error)
DeleteServer 删除服务信息
func (*ServerService) GetServer ¶ added in v1.0.22
func (s *ServerService) GetServer(c context.Context, req *pb.GetServerRequest) (*pb.GetServerReply, error)
GetServer 获取指定的服务信息
func (*ServerService) ListServer ¶ added in v1.0.35
func (s *ServerService) ListServer(c context.Context, req *pb.ListServerRequest) (*pb.ListServerReply, error)
ListServer 获取服务信息列表
func (*ServerService) UpdateServer ¶ added in v1.0.22
func (s *ServerService) UpdateServer(c context.Context, req *pb.UpdateServerRequest) (*pb.UpdateServerReply, error)
UpdateServer 更新服务信息
func (*ServerService) UpdateServerStatus ¶ added in v1.0.35
func (s *ServerService) UpdateServerStatus(c context.Context, req *pb.UpdateServerStatusRequest) (*pb.UpdateServerStatusReply, error)
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 (s *TemplateService) CompareTemplate(ctx context.Context, req *pb.CompareTemplateRequest) (*pb.CompareTemplateReply, error)
func (*TemplateService) CreateTemplate ¶ added in v1.0.35
func (s *TemplateService) CreateTemplate(c context.Context, req *pb.CreateTemplateRequest) (*pb.CreateTemplateReply, error)
func (*TemplateService) CurrentTemplate ¶ added in v1.0.22
func (s *TemplateService) CurrentTemplate(ctx context.Context, req *pb.CurrentTemplateRequest) (*pb.CurrentTemplateReply, error)
func (*TemplateService) GetTemplate ¶ added in v1.0.22
func (s *TemplateService) GetTemplate(ctx context.Context, req *pb.GetTemplateRequest) (*pb.GetTemplateReply, error)
func (*TemplateService) ListTemplate ¶ added in v1.0.35
func (s *TemplateService) ListTemplate(ctx context.Context, req *pb.ListTemplateRequest) (*pb.ListTemplateReply, error)
func (*TemplateService) ParseTemplate ¶ added in v1.0.22
func (s *TemplateService) ParseTemplate(ctx context.Context, req *pb.ParseTemplateRequest) (*pb.ParseTemplateReply, error)
func (*TemplateService) PreviewTemplate ¶ added in v1.0.22
func (s *TemplateService) PreviewTemplate(ctx context.Context, req *pb.PreviewTemplateRequest) (*pb.PreviewTemplateReply, error)
func (*TemplateService) SwitchTemplate ¶ added in v1.0.22
func (s *TemplateService) SwitchTemplate(ctx context.Context, req *pb.SwitchTemplateRequest) (*pb.SwitchTemplateReply, error)
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
func (s *UserService) RefreshToken(ctx context.Context, _ *pb.RefreshTokenRequest) (*pb.RefreshTokenReply, error)
Click to show internal directories.
Click to hide internal directories.