Documentation ¶
Index ¶
- func New(c *conf.Config, hs *http.Server, gs *grpc.Server)
- type Business
- func (s *Business) CreateBusiness(c context.Context, req *pb.CreateBusinessRequest) (*pb.CreateBusinessReply, error)
- func (s *Business) DeleteBusiness(c context.Context, req *pb.DeleteBusinessRequest) (*pb.DeleteBusinessReply, error)
- func (s *Business) ListBusiness(c context.Context, req *pb.ListBusinessRequest) (*pb.ListBusinessReply, error)
- func (s *Business) ListBusinessValue(c context.Context, req *pb.ListBusinessValueRequest) (*pb.ListBusinessValueReply, error)
- func (s *Business) UpdateBusiness(c context.Context, req *pb.UpdateBusinessRequest) (*pb.UpdateBusinessReply, error)
- func (s *Business) UpdateBusinessValue(c context.Context, req *pb.UpdateBusinessValueRequest) (*pb.UpdateBusinessValueReply, error)
- type Configure
- func (s *Configure) CompareConfigure(c context.Context, in *pb.CompareConfigureRequest) (*pb.CompareConfigureReply, error)
- func (s *Configure) GetConfigure(ctx context.Context, in *pb.GetConfigureRequest) (*pb.GetConfigureReply, error)
- func (s *Configure) UpdateConfigure(ctx context.Context, in *pb.UpdateConfigureRequest) (*pb.UpdateConfigureReply, error)
- func (s *Configure) WatchConfigure(in *pb.WatchConfigureRequest, reply pb.Configure_WatchConfigureServer) error
- type Env
- func (app *Env) CreateEnv(c context.Context, req *pb.CreateEnvRequest) (*pb.CreateEnvReply, error)
- func (app *Env) DeleteEnv(c context.Context, req *pb.DeleteEnvRequest) (*pb.DeleteEnvReply, error)
- func (app *Env) GetEnvToken(c context.Context, req *pb.GetEnvTokenRequest) (*pb.GetEnvTokenReply, error)
- func (app *Env) ListEnv(c context.Context, req *pb.ListEnvRequest) (*pb.ListEnvReply, error)
- func (app *Env) ResetEnvToken(c context.Context, req *pb.ResetEnvTokenRequest) (*pb.ResetEnvTokenReply, error)
- func (app *Env) UpdateEnv(c context.Context, req *pb.UpdateEnvRequest) (*pb.UpdateEnvReply, error)
- type Resource
- func (s *Resource) CreateResource(c context.Context, req *pb.CreateResourceRequest) (*pb.CreateResourceReply, error)
- func (s *Resource) DeleteResource(c context.Context, req *pb.DeleteResourceRequest) (*pb.DeleteResourceReply, error)
- func (s *Resource) GetResource(c context.Context, req *pb.GetResourceRequest) (*pb.GetResourceReply, error)
- func (s *Resource) ListResource(c context.Context, req *pb.ListResourceRequest) (*pb.ListResourceReply, error)
- func (s *Resource) ListResourceValue(c context.Context, req *pb.ListResourceValueRequest) (*pb.ListResourceValueReply, error)
- func (s *Resource) UpdateResource(c context.Context, req *pb.UpdateResourceRequest) (*pb.UpdateResourceReply, error)
- func (s *Resource) UpdateResourceValue(c context.Context, req *pb.UpdateResourceValueRequest) (*pb.UpdateResourceValueReply, error)
- type Server
- func (s *Server) CreateServer(c context.Context, req *pb.CreateServerRequest) (*pb.CreateServerReply, error)
- func (s *Server) DeleteServer(c context.Context, req *pb.DeleteServerRequest) (*pb.DeleteServerReply, error)
- func (s *Server) ListServer(c context.Context, req *pb.ListServerRequest) (*pb.ListServerReply, error)
- func (s *Server) UpdateServer(c context.Context, req *pb.UpdateServerRequest) (*pb.UpdateServerReply, error)
- type Template
- func (s *Template) CompareTemplate(ctx context.Context, req *pb.CompareTemplateRequest) (*pb.CompareTemplateReply, error)
- func (s *Template) CreateTemplate(c context.Context, req *pb.CreateTemplateRequest) (*pb.CreateTemplateReply, error)
- func (s *Template) CurrentTemplate(ctx context.Context, req *pb.CurrentTemplateRequest) (*pb.CurrentTemplateReply, error)
- func (s *Template) GetTemplate(ctx context.Context, req *pb.GetTemplateRequest) (*pb.GetTemplateReply, error)
- func (s *Template) ListTemplate(ctx context.Context, req *pb.ListTemplateRequest) (*pb.ListTemplateReply, error)
- func (s *Template) PreviewTemplate(ctx context.Context, req *pb.PreviewTemplateRequest) (*pb.PreviewTemplateReply, error)
- func (s *Template) SwitchTemplate(ctx context.Context, req *pb.SwitchTemplateRequest) (*pb.SwitchTemplateReply, error)
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Business ¶
type Business struct { pb.UnimplementedBusinessServer // contains filtered or unexported fields }
func NewBusiness ¶
func (*Business) CreateBusiness ¶
func (s *Business) CreateBusiness(c context.Context, req *pb.CreateBusinessRequest) (*pb.CreateBusinessReply, error)
CreateBusiness 创建业务配置信息
func (*Business) DeleteBusiness ¶
func (s *Business) DeleteBusiness(c context.Context, req *pb.DeleteBusinessRequest) (*pb.DeleteBusinessReply, error)
DeleteBusiness 删除业务配置信息
func (*Business) ListBusiness ¶
func (s *Business) ListBusiness(c context.Context, req *pb.ListBusinessRequest) (*pb.ListBusinessReply, error)
ListBusiness 获取业务配置信息列表
func (*Business) ListBusinessValue ¶
func (s *Business) ListBusinessValue(c context.Context, req *pb.ListBusinessValueRequest) (*pb.ListBusinessValueReply, error)
ListBusinessValue 获取业务配置值信息列表
func (*Business) UpdateBusiness ¶
func (s *Business) UpdateBusiness(c context.Context, req *pb.UpdateBusinessRequest) (*pb.UpdateBusinessReply, error)
UpdateBusiness 更新业务配置信息
func (*Business) UpdateBusinessValue ¶
func (s *Business) UpdateBusinessValue(c context.Context, req *pb.UpdateBusinessValueRequest) (*pb.UpdateBusinessValueReply, error)
UpdateBusinessValue 更新业务配置值信息
type Configure ¶
type Configure struct { pb.UnimplementedConfigureServer // contains filtered or unexported fields }
func NewConfigure ¶
func (*Configure) CompareConfigure ¶
func (s *Configure) CompareConfigure(c context.Context, in *pb.CompareConfigureRequest) (*pb.CompareConfigureReply, error)
func (*Configure) GetConfigure ¶
func (s *Configure) GetConfigure(ctx context.Context, in *pb.GetConfigureRequest) (*pb.GetConfigureReply, error)
func (*Configure) UpdateConfigure ¶
func (s *Configure) UpdateConfigure(ctx context.Context, in *pb.UpdateConfigureRequest) (*pb.UpdateConfigureReply, error)
func (*Configure) WatchConfigure ¶
func (s *Configure) WatchConfigure(in *pb.WatchConfigureRequest, reply pb.Configure_WatchConfigureServer) error
type Env ¶
type Env struct { pb.UnimplementedEnvServer // contains filtered or unexported fields }
func (*Env) CreateEnv ¶
func (app *Env) CreateEnv(c context.Context, req *pb.CreateEnvRequest) (*pb.CreateEnvReply, error)
CreateEnv 创建环境信息
func (*Env) DeleteEnv ¶
func (app *Env) DeleteEnv(c context.Context, req *pb.DeleteEnvRequest) (*pb.DeleteEnvReply, error)
DeleteEnv 删除环境信息
func (*Env) GetEnvToken ¶
func (app *Env) GetEnvToken(c context.Context, req *pb.GetEnvTokenRequest) (*pb.GetEnvTokenReply, error)
GetEnvToken 获取环境token
func (*Env) ListEnv ¶
func (app *Env) ListEnv(c context.Context, req *pb.ListEnvRequest) (*pb.ListEnvReply, error)
ListEnv 获取环境信息列表
func (*Env) ResetEnvToken ¶
func (app *Env) ResetEnvToken(c context.Context, req *pb.ResetEnvTokenRequest) (*pb.ResetEnvTokenReply, error)
ResetEnvToken 重置token密码
func (*Env) UpdateEnv ¶
func (app *Env) UpdateEnv(c context.Context, req *pb.UpdateEnvRequest) (*pb.UpdateEnvReply, error)
UpdateEnv 更新环境信息
type Resource ¶
type Resource struct { pb.UnimplementedResourceServer // contains filtered or unexported fields }
func NewResource ¶
func (*Resource) CreateResource ¶
func (s *Resource) CreateResource(c context.Context, req *pb.CreateResourceRequest) (*pb.CreateResourceReply, error)
CreateResource 创建资源配置信息
func (*Resource) DeleteResource ¶
func (s *Resource) DeleteResource(c context.Context, req *pb.DeleteResourceRequest) (*pb.DeleteResourceReply, error)
DeleteResource 删除资源配置信息
func (*Resource) GetResource ¶
func (s *Resource) GetResource(c context.Context, req *pb.GetResourceRequest) (*pb.GetResourceReply, error)
GetResource 获取指定的资源配置信息
func (*Resource) ListResource ¶
func (s *Resource) ListResource(c context.Context, req *pb.ListResourceRequest) (*pb.ListResourceReply, error)
ListResource 获取资源配置信息列表
func (*Resource) ListResourceValue ¶
func (s *Resource) ListResourceValue(c context.Context, req *pb.ListResourceValueRequest) (*pb.ListResourceValueReply, error)
ListResourceValue 获取业务配置值信息列表
func (*Resource) UpdateResource ¶
func (s *Resource) UpdateResource(c context.Context, req *pb.UpdateResourceRequest) (*pb.UpdateResourceReply, error)
UpdateResource 更新资源配置信息
func (*Resource) UpdateResourceValue ¶
func (s *Resource) UpdateResourceValue(c context.Context, req *pb.UpdateResourceValueRequest) (*pb.UpdateResourceValueReply, error)
UpdateResourceValue 更新业务配置值信息
type Server ¶
type Server struct { pb.UnimplementedServerServer // contains filtered or unexported fields }
func (*Server) CreateServer ¶
func (s *Server) CreateServer(c context.Context, req *pb.CreateServerRequest) (*pb.CreateServerReply, error)
CreateServer 创建服务信息
func (*Server) DeleteServer ¶
func (s *Server) DeleteServer(c context.Context, req *pb.DeleteServerRequest) (*pb.DeleteServerReply, error)
DeleteServer 删除服务信息
func (*Server) ListServer ¶
func (s *Server) ListServer(c context.Context, req *pb.ListServerRequest) (*pb.ListServerReply, error)
ListServer 获取服务信息列表
func (*Server) UpdateServer ¶
func (s *Server) UpdateServer(c context.Context, req *pb.UpdateServerRequest) (*pb.UpdateServerReply, error)
UpdateServer 更新服务信息
type Template ¶
type Template struct { pb.UnimplementedTemplateServer // contains filtered or unexported fields }
func NewTemplate ¶
func (*Template) CompareTemplate ¶
func (s *Template) CompareTemplate(ctx context.Context, req *pb.CompareTemplateRequest) (*pb.CompareTemplateReply, error)
func (*Template) CreateTemplate ¶
func (s *Template) CreateTemplate(c context.Context, req *pb.CreateTemplateRequest) (*pb.CreateTemplateReply, error)
func (*Template) CurrentTemplate ¶
func (s *Template) CurrentTemplate(ctx context.Context, req *pb.CurrentTemplateRequest) (*pb.CurrentTemplateReply, error)
func (*Template) GetTemplate ¶
func (s *Template) GetTemplate(ctx context.Context, req *pb.GetTemplateRequest) (*pb.GetTemplateReply, error)
func (*Template) ListTemplate ¶
func (s *Template) ListTemplate(ctx context.Context, req *pb.ListTemplateRequest) (*pb.ListTemplateReply, error)
func (*Template) PreviewTemplate ¶
func (s *Template) PreviewTemplate(ctx context.Context, req *pb.PreviewTemplateRequest) (*pb.PreviewTemplateReply, error)
func (*Template) SwitchTemplate ¶
func (s *Template) SwitchTemplate(ctx context.Context, req *pb.SwitchTemplateRequest) (*pb.SwitchTemplateReply, error)
type User ¶
type User struct { pb.UnimplementedUserServer // contains filtered or unexported fields }
func (*User) Login ¶
func (s *User) Login(ctx context.Context, in *pb.LoginRequest) (*pb.LoginReply, error)
func (*User) RefreshToken ¶
func (s *User) RefreshToken(ctx context.Context, _ *pb.RefreshTokenRequest) (*pb.RefreshTokenReply, error)
Click to show internal directories.
Click to hide internal directories.