Documentation ¶
Index ¶
- type Business
- func (l *Business) Add(ctx kratos.Context, in *v1.AddBusinessRequest) (*emptypb.Empty, error)
- func (l *Business) Delete(ctx kratos.Context, in *v1.DeleteBusinessRequest) (*emptypb.Empty, error)
- func (l *Business) Page(ctx kratos.Context, in *v1.PageBusinessRequest) (*v1.PageBusinessReply, error)
- func (l *Business) Update(ctx kratos.Context, in *v1.UpdateBusinessRequest) (*emptypb.Empty, error)
- type BusinessValue
- func (bv *BusinessValue) Add(ctx kratos.Context, in *v1.AddBusinessValueRequest) (*emptypb.Empty, error)
- func (bv *BusinessValue) All(ctx kratos.Context, in *v1.AllBusinessValueRequest) (*v1.AllBusinessValueReply, error)
- func (bv *BusinessValue) Update(ctx kratos.Context, in *v1.UpdateBusinessValueRequest) (*emptypb.Empty, error)
- type Configure
- func (t *Configure) Get(ctx kratos.Context, in *v1.GetConfigureRequest) (*v1.GetConfigureReply, error)
- func (t *Configure) SendWatcher(in model.Configure)
- func (t *Configure) Update(ctx kratos.Context, in *v1.UpdateConfigureRequest) (*emptypb.Empty, error)
- func (t *Configure) Watch(ctx kratos.Context, req *v1.WatchConfigureRequest, ...) error
- type Environment
- func (e *Environment) Add(ctx kratos.Context, in *v1.AddEnvironmentRequest) (*emptypb.Empty, error)
- func (e *Environment) All(ctx kratos.Context, in *emptypb.Empty) (*v1.AllEnvironmentReply, error)
- func (e *Environment) Delete(ctx kratos.Context, in *v1.DeleteEnvironmentRequest) (*emptypb.Empty, error)
- func (e *Environment) GetToken(ctx kratos.Context, in *v1.GetEnvironmentTokenRequest) (*v1.GetEnvironmentTokenReply, error)
- func (e *Environment) ResetToken(ctx kratos.Context, in *v1.ResetEnvironmentTokenRequest) (*emptypb.Empty, error)
- func (e *Environment) Update(ctx kratos.Context, in *v1.UpdateEnvironmentRequest) (*emptypb.Empty, error)
- type Resource
- func (r *Resource) Add(ctx kratos.Context, in *v1.AddResourceRequest) (*emptypb.Empty, error)
- func (r *Resource) Delete(ctx kratos.Context, in *v1.DeleteResourceRequest) (*emptypb.Empty, error)
- func (r *Resource) Page(ctx kratos.Context, in *v1.PageResourceRequest) (*v1.PageResourceReply, error)
- func (r *Resource) Update(ctx kratos.Context, in *v1.UpdateResourceRequest) (*emptypb.Empty, error)
- type ResourceServer
- func (rs *ResourceServer) Add(ctx kratos.Context, in *v1.AddResourceServerRequest) (*emptypb.Empty, error)
- func (rs *ResourceServer) AllResource(ctx kratos.Context, in *v1.AllServerResourceRequest) (*v1.AllServerResourceReply, error)
- func (rs *ResourceServer) AllServer(ctx kratos.Context, in *v1.AllResourceServerRequest) (*v1.AllResourceServerReply, error)
- func (rs *ResourceServer) Delete(ctx kratos.Context, in *v1.DeleteResourceServerRequest) (*emptypb.Empty, error)
- type ResourceValue
- func (rv *ResourceValue) Add(ctx kratos.Context, in *v1.AddResourceValueRequest) (*emptypb.Empty, error)
- func (rv *ResourceValue) All(ctx kratos.Context, in *v1.AllResourceValueRequest) (*v1.AllResourceValueReply, error)
- func (rv *ResourceValue) Update(ctx kratos.Context, in *v1.UpdateResourceValueRequest) (*emptypb.Empty, error)
- type Server
- func (s *Server) Add(ctx kratos.Context, in *v1.AddServerRequest) (*emptypb.Empty, error)
- func (s *Server) Delete(ctx kratos.Context, in *v1.DeleteServerRequest) (*emptypb.Empty, error)
- func (s *Server) Get(ctx kratos.Context, in *v1.GetServerRequest) (*v1.GetServerReply, error)
- func (s *Server) Page(ctx kratos.Context, in *v1.PageServerRequest) (*v1.PageServerReply, error)
- func (s *Server) Update(ctx kratos.Context, in *v1.UpdateServerRequest) (*emptypb.Empty, error)
- type Template
- func (t *Template) Add(ctx kratos.Context, in *v1.AddTemplateRequest) (*emptypb.Empty, error)
- func (t *Template) Current(ctx kratos.Context, in *v1.CurrentTemplateRequest) (*v1.CurrentTemplateReply, error)
- func (t *Template) Get(ctx kratos.Context, in *v1.GetTemplateRequest) (*v1.GetTemplateReply, error)
- func (t *Template) Page(ctx kratos.Context, in *v1.PageTemplateRequest) (*v1.PageTemplateReply, error)
- func (t *Template) Parse(ctx kratos.Context, in *v1.ParseTemplateRequest) (*v1.ParseTemplateReply, error)
- func (t *Template) UseVersion(ctx kratos.Context, in *v1.UseTemplateVersionRequest) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Business ¶ added in v1.0.1
type Business struct {
// contains filtered or unexported fields
}
func NewBusiness ¶ added in v1.0.1
func (*Business) Page ¶ added in v1.0.1
func (l *Business) Page(ctx kratos.Context, in *v1.PageBusinessRequest) (*v1.PageBusinessReply, error)
Page 查询分页业务
type BusinessValue ¶ added in v1.0.1
type BusinessValue struct {
// contains filtered or unexported fields
}
func NewBusinessValue ¶ added in v1.0.1
func NewBusinessValue(conf *config.Config) *BusinessValue
func (*BusinessValue) Add ¶ added in v1.0.1
func (bv *BusinessValue) Add(ctx kratos.Context, in *v1.AddBusinessValueRequest) (*emptypb.Empty, error)
Add 添加资源
func (*BusinessValue) All ¶ added in v1.0.1
func (bv *BusinessValue) All(ctx kratos.Context, in *v1.AllBusinessValueRequest) (*v1.AllBusinessValueReply, error)
All 分页资源
func (*BusinessValue) Update ¶ added in v1.0.1
func (bv *BusinessValue) Update(ctx kratos.Context, in *v1.UpdateBusinessValueRequest) (*emptypb.Empty, error)
Update 更新资源
type Configure ¶ added in v1.0.3
type Configure struct {
// contains filtered or unexported fields
}
func NewConfigure ¶ added in v1.0.3
func (*Configure) Get ¶ added in v1.0.3
func (t *Configure) Get(ctx kratos.Context, in *v1.GetConfigureRequest) (*v1.GetConfigureReply, error)
Get 查询指定模板
func (*Configure) SendWatcher ¶ added in v1.0.3
func (*Configure) Update ¶ added in v1.0.3
func (t *Configure) Update(ctx kratos.Context, in *v1.UpdateConfigureRequest) (*emptypb.Empty, error)
Update 更新模配置
func (*Configure) Watch ¶ added in v1.0.3
func (t *Configure) Watch(ctx kratos.Context, req *v1.WatchConfigureRequest, reply v1.Service_WatchConfigureServer) error
type Environment ¶ added in v1.0.1
type Environment struct {
// contains filtered or unexported fields
}
func NewEnvironment ¶ added in v1.0.1
func NewEnvironment(conf *config.Config) *Environment
func (*Environment) Add ¶ added in v1.0.1
func (e *Environment) Add(ctx kratos.Context, in *v1.AddEnvironmentRequest) (*emptypb.Empty, error)
Add 新增环境
func (*Environment) All ¶ added in v1.0.1
func (e *Environment) All(ctx kratos.Context, in *emptypb.Empty) (*v1.AllEnvironmentReply, error)
All 获取全部环境
func (*Environment) Delete ¶ added in v1.0.1
func (e *Environment) Delete(ctx kratos.Context, in *v1.DeleteEnvironmentRequest) (*emptypb.Empty, error)
Delete 删除环境
func (*Environment) GetToken ¶ added in v1.0.1
func (e *Environment) GetToken(ctx kratos.Context, in *v1.GetEnvironmentTokenRequest) (*v1.GetEnvironmentTokenReply, error)
GetToken 获取环境token
func (*Environment) ResetToken ¶ added in v1.0.1
func (e *Environment) ResetToken(ctx kratos.Context, in *v1.ResetEnvironmentTokenRequest) (*emptypb.Empty, error)
ResetToken 重置环境token
func (*Environment) Update ¶ added in v1.0.1
func (e *Environment) Update(ctx kratos.Context, in *v1.UpdateEnvironmentRequest) (*emptypb.Empty, error)
Update 修改环境
type Resource ¶ added in v1.0.1
type Resource struct {
// contains filtered or unexported fields
}
func NewResource ¶ added in v1.0.1
func (*Resource) Page ¶ added in v1.0.1
func (r *Resource) Page(ctx kratos.Context, in *v1.PageResourceRequest) (*v1.PageResourceReply, error)
Page 分页查询资源
type ResourceServer ¶ added in v1.0.1
type ResourceServer struct {
// contains filtered or unexported fields
}
func NewResourceServer ¶ added in v1.0.1
func NewResourceServer(conf *config.Config) *ResourceServer
func (*ResourceServer) Add ¶ added in v1.0.1
func (rs *ResourceServer) Add(ctx kratos.Context, in *v1.AddResourceServerRequest) (*emptypb.Empty, error)
Add 添加资源-服务
func (*ResourceServer) AllResource ¶ added in v1.0.1
func (rs *ResourceServer) AllResource(ctx kratos.Context, in *v1.AllServerResourceRequest) (*v1.AllServerResourceReply, error)
AllResource 查询指定服务的所有资源
func (*ResourceServer) AllServer ¶ added in v1.0.1
func (rs *ResourceServer) AllServer(ctx kratos.Context, in *v1.AllResourceServerRequest) (*v1.AllResourceServerReply, error)
AllServer 查询指定资源的所有服务
func (*ResourceServer) Delete ¶ added in v1.0.1
func (rs *ResourceServer) Delete(ctx kratos.Context, in *v1.DeleteResourceServerRequest) (*emptypb.Empty, error)
Delete 删除资源-服务
type ResourceValue ¶ added in v1.0.1
type ResourceValue struct {
// contains filtered or unexported fields
}
func NewResourceValue ¶ added in v1.0.1
func NewResourceValue(conf *config.Config) *ResourceValue
func (*ResourceValue) Add ¶ added in v1.0.1
func (rv *ResourceValue) Add(ctx kratos.Context, in *v1.AddResourceValueRequest) (*emptypb.Empty, error)
Add 添加资源值
func (*ResourceValue) All ¶ added in v1.0.1
func (rv *ResourceValue) All(ctx kratos.Context, in *v1.AllResourceValueRequest) (*v1.AllResourceValueReply, error)
All 分页字段值
func (*ResourceValue) Update ¶ added in v1.0.1
func (rv *ResourceValue) Update(ctx kratos.Context, in *v1.UpdateResourceValueRequest) (*emptypb.Empty, error)
Update 更新资源值
type Server ¶ added in v1.0.1
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Get ¶ added in v1.0.1
func (s *Server) Get(ctx kratos.Context, in *v1.GetServerRequest) (*v1.GetServerReply, error)
Get 分页查询服务
func (*Server) Page ¶ added in v1.0.1
func (s *Server) Page(ctx kratos.Context, in *v1.PageServerRequest) (*v1.PageServerReply, error)
Page 分页查询服务
type Template ¶ added in v1.0.1
type Template struct {
// contains filtered or unexported fields
}
func NewTemplate ¶ added in v1.0.1
func (*Template) Current ¶ added in v1.0.1
func (t *Template) Current(ctx kratos.Context, in *v1.CurrentTemplateRequest) (*v1.CurrentTemplateReply, error)
Current 查询指定服务的当前模板
func (*Template) Get ¶ added in v1.0.1
func (t *Template) Get(ctx kratos.Context, in *v1.GetTemplateRequest) (*v1.GetTemplateReply, error)
Get 查询指定模板
func (*Template) Page ¶ added in v1.0.1
func (t *Template) Page(ctx kratos.Context, in *v1.PageTemplateRequest) (*v1.PageTemplateReply, error)
Page 查询分页模板
func (*Template) Parse ¶ added in v1.0.3
func (t *Template) Parse(ctx kratos.Context, in *v1.ParseTemplateRequest) (*v1.ParseTemplateReply, error)
Parse 使用指定版本配置
func (*Template) UseVersion ¶ added in v1.0.1
func (t *Template) UseVersion(ctx kratos.Context, in *v1.UseTemplateVersionRequest) (*emptypb.Empty, error)
UseVersion 使用指定版本
Click to show internal directories.
Click to hide internal directories.