Documentation ¶
Index ¶
- func New(c *config.Config, hs *http.Server, gs *grpc.Server)
- type BusinessService
- func (s *BusinessService) AddBusiness(ctx context.Context, in *v1.AddBusinessRequest) (*emptypb.Empty, error)
- func (s *BusinessService) DeleteBusiness(ctx context.Context, in *v1.DeleteBusinessRequest) (*emptypb.Empty, error)
- func (s *BusinessService) GetBusinessValues(ctx context.Context, in *v1.GetBusinessValuesRequest) (*v1.GetBusinessValuesReply, error)
- func (s *BusinessService) PageBusiness(ctx context.Context, in *v1.PageBusinessRequest) (*v1.PageBusinessReply, error)
- func (s *BusinessService) UpdateBusiness(ctx context.Context, in *v1.UpdateBusinessRequest) (*emptypb.Empty, error)
- func (s *BusinessService) UpdateBusinessValue(ctx context.Context, in *v1.UpdateBusinessValueRequest) (*emptypb.Empty, error)
- type ConfigureService
- func (s *ConfigureService) CompareConfigure(ctx context.Context, in *v1.CompareConfigureRequest) (*v1.CompareConfigureReply, error)
- func (s *ConfigureService) GetConfigure(ctx context.Context, in *v1.GetConfigureRequest) (*v1.GetConfigureReply, error)
- func (s *ConfigureService) UpdateConfigure(ctx context.Context, in *v1.UpdateConfigureRequest) (*emptypb.Empty, error)
- func (s *ConfigureService) WatchConfigure(in *v1.WatchConfigureRequest, reply v1.Service_WatchConfigureServer) error
- type EnvService
- func (s *EnvService) AddEnv(ctx context.Context, in *v1.AddEnvRequest) (*v1.AddEnvReply, error)
- func (s *EnvService) AllEnv(ctx context.Context, in *emptypb.Empty) (*v1.AllEnvReply, error)
- func (s *EnvService) DeleteEnv(ctx context.Context, in *v1.DeleteEnvRequest) (*emptypb.Empty, error)
- func (s *EnvService) GetEnvToken(ctx context.Context, in *v1.GetEnvTokenRequest) (*v1.GetEnvTokenReply, error)
- func (s *EnvService) ResetEnvToken(ctx context.Context, in *v1.ResetEnvTokenRequest) (*v1.ResetEnvTokenReply, error)
- func (s *EnvService) UpdateEnv(ctx context.Context, in *v1.UpdateEnvRequest) (*emptypb.Empty, error)
- type ResourceService
- func (s *ResourceService) AddResource(ctx context.Context, in *v1.AddResourceRequest) (*v1.AddResourceReply, error)
- func (s *ResourceService) DeleteResource(ctx context.Context, in *v1.DeleteResourceRequest) (*emptypb.Empty, error)
- func (s *ResourceService) GetResourceServerIds(ctx context.Context, in *v1.GetResourceServerIdsRequest) (*v1.GetResourceServerIdsReply, error)
- func (s *ResourceService) GetResourceValues(ctx context.Context, in *v1.GetResourceValuesRequest) (*v1.GetResourceValuesReply, error)
- func (s *ResourceService) PageResource(ctx context.Context, in *v1.PageResourceRequest) (*v1.PageResourceReply, error)
- func (s *ResourceService) UpdateResource(ctx context.Context, in *v1.UpdateResourceRequest) (*emptypb.Empty, error)
- func (s *ResourceService) UpdateResourceValues(ctx context.Context, in *v1.UpdateResourceValuesRequest) (*emptypb.Empty, error)
- type ServerService
- func (s *ServerService) AddServer(ctx context.Context, in *v1.AddServerRequest) (*v1.AddServerReply, error)
- func (s *ServerService) DeleteServer(ctx context.Context, in *v1.DeleteServerRequest) (*emptypb.Empty, error)
- func (s *ServerService) GetServer(ctx context.Context, in *v1.GetServerRequest) (*v1.Server, error)
- func (s *ServerService) PageServer(ctx context.Context, in *v1.PageServerRequest) (*v1.PageServerReply, error)
- func (s *ServerService) UpdateServer(ctx context.Context, in *v1.UpdateServerRequest) (*emptypb.Empty, error)
- type TemplateService
- func (s *TemplateService) AddTemplate(ctx context.Context, in *v1.AddTemplateRequest) (*emptypb.Empty, error)
- func (s *TemplateService) CompareTemplate(ctx context.Context, in *v1.CompareTemplateRequest) (*v1.CompareTemplateReply, error)
- func (s *TemplateService) CurrentTemplate(ctx context.Context, in *v1.CurrentTemplateRequest) (*v1.CurrentTemplateReply, error)
- func (s *TemplateService) GetTemplate(ctx context.Context, in *v1.GetTemplateRequest) (*v1.GetTemplateReply, error)
- func (s *TemplateService) PageTemplate(ctx context.Context, in *v1.PageTemplateRequest) (*v1.PageTemplateReply, error)
- func (s *TemplateService) ParseTemplate(ctx context.Context, in *v1.ParseTemplateRequest) (*v1.ParseTemplateReply, error)
- func (s *TemplateService) PreviewTemplate(ctx context.Context, in *v1.PreviewTemplateRequest) (*v1.PreviewTemplateReply, error)
- func (s *TemplateService) SwitchTemplate(ctx context.Context, in *v1.SwitchTemplateRequest) (*emptypb.Empty, 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 { 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 (s *BusinessService) GetBusinessValues(ctx context.Context, in *v1.GetBusinessValuesRequest) (*v1.GetBusinessValuesReply, error)
func (*BusinessService) PageBusiness ¶ added in v1.0.22
func (s *BusinessService) PageBusiness(ctx context.Context, in *v1.PageBusinessRequest) (*v1.PageBusinessReply, error)
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 (*ConfigureService) CompareConfigure ¶ added in v1.0.22
func (s *ConfigureService) CompareConfigure(ctx context.Context, in *v1.CompareConfigureRequest) (*v1.CompareConfigureReply, error)
func (*ConfigureService) GetConfigure ¶ added in v1.0.22
func (s *ConfigureService) GetConfigure(ctx context.Context, in *v1.GetConfigureRequest) (*v1.GetConfigureReply, error)
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
func (s *ConfigureService) WatchConfigure(in *v1.WatchConfigureRequest, reply v1.Service_WatchConfigureServer) error
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 (s *EnvService) ResetEnvToken(ctx context.Context, in *v1.ResetEnvTokenRequest) (*v1.ResetEnvTokenReply, error)
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 (s *ResourceService) AddResource(ctx context.Context, in *v1.AddResourceRequest) (*v1.AddResourceReply, error)
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 (s *ResourceService) GetResourceServerIds(ctx context.Context, in *v1.GetResourceServerIdsRequest) (*v1.GetResourceServerIdsReply, error)
func (*ResourceService) GetResourceValues ¶ added in v1.0.22
func (s *ResourceService) GetResourceValues(ctx context.Context, in *v1.GetResourceValuesRequest) (*v1.GetResourceValuesReply, error)
func (*ResourceService) PageResource ¶ added in v1.0.22
func (s *ResourceService) PageResource(ctx context.Context, in *v1.PageResourceRequest) (*v1.PageResourceReply, error)
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 (s *ServerService) AddServer(ctx context.Context, in *v1.AddServerRequest) (*v1.AddServerReply, error)
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 (s *ServerService) PageServer(ctx context.Context, in *v1.PageServerRequest) (*v1.PageServerReply, error)
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 (s *TemplateService) CompareTemplate(ctx context.Context, in *v1.CompareTemplateRequest) (*v1.CompareTemplateReply, error)
func (*TemplateService) CurrentTemplate ¶ added in v1.0.22
func (s *TemplateService) CurrentTemplate(ctx context.Context, in *v1.CurrentTemplateRequest) (*v1.CurrentTemplateReply, error)
func (*TemplateService) GetTemplate ¶ added in v1.0.22
func (s *TemplateService) GetTemplate(ctx context.Context, in *v1.GetTemplateRequest) (*v1.GetTemplateReply, error)
func (*TemplateService) PageTemplate ¶ added in v1.0.22
func (s *TemplateService) PageTemplate(ctx context.Context, in *v1.PageTemplateRequest) (*v1.PageTemplateReply, error)
func (*TemplateService) ParseTemplate ¶ added in v1.0.22
func (s *TemplateService) ParseTemplate(ctx context.Context, in *v1.ParseTemplateRequest) (*v1.ParseTemplateReply, error)
func (*TemplateService) PreviewTemplate ¶ added in v1.0.22
func (s *TemplateService) PreviewTemplate(ctx context.Context, in *v1.PreviewTemplateRequest) (*v1.PreviewTemplateReply, error)
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)
Click to show internal directories.
Click to hide internal directories.