logic

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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 NewBusiness(conf *config.Config) *Business

func (*Business) Add added in v1.0.1

Add 添加资源

func (*Business) Delete added in v1.0.1

Delete 删除资源

func (*Business) Page added in v1.0.1

Page 查询分页业务

func (*Business) Update added in v1.0.1

Update 更新资源

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

Add 添加资源

func (*BusinessValue) All added in v1.0.1

All 分页资源

func (*BusinessValue) Update added in v1.0.1

Update 更新资源

type Configure added in v1.0.3

type Configure struct {
	// contains filtered or unexported fields
}

func NewConfigure added in v1.0.3

func NewConfigure(conf *config.Config) *Configure

func (*Configure) Get added in v1.0.3

Get 查询指定模板

func (*Configure) SendWatcher added in v1.0.3

func (t *Configure) SendWatcher(in model.Configure)

func (*Configure) Update added in v1.0.3

Update 更新模配置

func (*Configure) Watch added in v1.0.3

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

Add 新增环境

func (*Environment) All added in v1.0.1

All 获取全部环境

func (*Environment) Delete added in v1.0.1

Delete 删除环境

func (*Environment) GetToken added in v1.0.1

GetToken 获取环境token

func (*Environment) ResetToken added in v1.0.1

ResetToken 重置环境token

func (*Environment) Update added in v1.0.1

Update 修改环境

type Resource added in v1.0.1

type Resource struct {
	// contains filtered or unexported fields
}

func NewResource added in v1.0.1

func NewResource(conf *config.Config) *Resource

func (*Resource) Add added in v1.0.1

Add 添加资源

func (*Resource) Delete added in v1.0.1

Delete 删除资源

func (*Resource) Page added in v1.0.1

Page 分页查询资源

func (*Resource) Update added in v1.0.1

Update 更新资源

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

Add 添加资源-服务

func (*ResourceServer) AllResource added in v1.0.1

AllResource 查询指定服务的所有资源

func (*ResourceServer) AllServer added in v1.0.1

AllServer 查询指定资源的所有服务

func (*ResourceServer) Delete added in v1.0.1

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

Add 添加资源值

func (*ResourceValue) All added in v1.0.1

All 分页字段值

func (*ResourceValue) Update added in v1.0.1

Update 更新资源值

type Server added in v1.0.1

type Server struct {
	// contains filtered or unexported fields
}

func NewServer added in v1.0.1

func NewServer(conf *config.Config) *Server

func (*Server) Add added in v1.0.1

func (s *Server) Add(ctx kratos.Context, in *v1.AddServerRequest) (*emptypb.Empty, error)

Add 添加服务

func (*Server) Delete added in v1.0.1

func (s *Server) Delete(ctx kratos.Context, in *v1.DeleteServerRequest) (*emptypb.Empty, error)

Delete 删除服务

func (*Server) Get added in v1.0.1

Get 分页查询服务

func (*Server) Page added in v1.0.1

Page 分页查询服务

func (*Server) Update added in v1.0.1

func (s *Server) Update(ctx kratos.Context, in *v1.UpdateServerRequest) (*emptypb.Empty, error)

Update 更新服务

type Template added in v1.0.1

type Template struct {
	// contains filtered or unexported fields
}

func NewTemplate added in v1.0.1

func NewTemplate(conf *config.Config) *Template

func (*Template) Add added in v1.0.1

Add 添加模板

func (*Template) Current added in v1.0.1

Current 查询指定服务的当前模板

func (*Template) Get added in v1.0.1

Get 查询指定模板

func (*Template) Page added in v1.0.1

Page 查询分页模板

func (*Template) Parse added in v1.0.3

Parse 使用指定版本配置

func (*Template) UseVersion added in v1.0.1

func (t *Template) UseVersion(ctx kratos.Context, in *v1.UseTemplateVersionRequest) (*emptypb.Empty, error)

UseVersion 使用指定版本

Jump to

Keyboard shortcuts

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