config

package
v1.18.1-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigFileArr

type ConfigFileArr []*apiconfig.ConfigFile

ConfigFileArr 配置文件数组定义

func (*ConfigFileArr) ProtoMessage

func (*ConfigFileArr) ProtoMessage()

ProtoMessage proto message

func (*ConfigFileArr) Reset

func (m *ConfigFileArr) Reset()

Reset reset initialization

func (*ConfigFileArr) String

func (m *ConfigFileArr) String() string

String return string

type ConfigReleaseArr

type ConfigReleaseArr []*apiservice.ConfigRelease

ConfigReleaseArr 发布规则数组定义

func (*ConfigReleaseArr) ProtoMessage

func (*ConfigReleaseArr) ProtoMessage()

ProtoMessage return proto message

func (*ConfigReleaseArr) Reset

func (m *ConfigReleaseArr) Reset()

Reset reset initialization

func (*ConfigReleaseArr) String

func (m *ConfigReleaseArr) String() string

String return string

type HTTPServer

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

HTTPServer

func NewServer

func NewServer(
	maintainServer admin.AdminOperateServer,
	namespaceServer namespace.NamespaceOperateServer,
	configServer config.ConfigCenterServer) *HTTPServer

NewServer 创建配置中心的 HttpServer

func (*HTTPServer) BatchDeleteConfigFile

func (h *HTTPServer) BatchDeleteConfigFile(req *restful.Request, rsp *restful.Response)

BatchDeleteConfigFile 批量删除配置文件

func (*HTTPServer) ClientGetConfigFile

func (h *HTTPServer) ClientGetConfigFile(req *restful.Request, rsp *restful.Response)

func (*HTTPServer) ClientWatchConfigFile

func (h *HTTPServer) ClientWatchConfigFile(req *restful.Request, rsp *restful.Response)

func (*HTTPServer) CreateConfigFile

func (h *HTTPServer) CreateConfigFile(req *restful.Request, rsp *restful.Response)

CreateConfigFile 创建配置文件

func (*HTTPServer) CreateConfigFileGroup

func (h *HTTPServer) CreateConfigFileGroup(req *restful.Request, rsp *restful.Response)

CreateConfigFileGroup 创建配置文件组

func (*HTTPServer) CreateConfigFileTemplate

func (h *HTTPServer) CreateConfigFileTemplate(req *restful.Request, rsp *restful.Response)

CreateConfigFileTemplate create config file template

func (*HTTPServer) DeleteConfigFile

func (h *HTTPServer) DeleteConfigFile(req *restful.Request, rsp *restful.Response)

DeleteConfigFile 删除单个配置文件,删除配置文件也会删除配置文件发布内容,客户端将获取不到配置文件

func (*HTTPServer) DeleteConfigFileGroup

func (h *HTTPServer) DeleteConfigFileGroup(req *restful.Request, rsp *restful.Response)

DeleteConfigFileGroup 删除配置文件组

func (*HTTPServer) DeleteConfigFileReleases

func (h *HTTPServer) DeleteConfigFileReleases(req *restful.Request, rsp *restful.Response)

DeleteConfigFileReleases

func (*HTTPServer) Discover added in v1.18.0

func (h *HTTPServer) Discover(req *restful.Request, rsp *restful.Response)

Discover 统一发现接口

func (*HTTPServer) ExportConfigFile

func (h *HTTPServer) ExportConfigFile(req *restful.Request, rsp *restful.Response)

ExportConfigFile 导出配置文件

func (*HTTPServer) GetAllConfigEncryptAlgorithms

func (h *HTTPServer) GetAllConfigEncryptAlgorithms(req *restful.Request, rsp *restful.Response)

GetAllConfigEncryptAlgorithm get all config encrypt algorithm

func (*HTTPServer) GetAllConfigFileTemplates

func (h *HTTPServer) GetAllConfigFileTemplates(req *restful.Request, rsp *restful.Response)

GetAllConfigFileTemplates get all config file template

func (*HTTPServer) GetClientAccessServer

func (h *HTTPServer) GetClientAccessServer(ws *restful.WebService, include []string) error

GetClientAccessServer 获取配置中心接口

func (*HTTPServer) GetConfigFile

func (h *HTTPServer) GetConfigFile(req *restful.Request, rsp *restful.Response)

GetConfigFile 获取单个配置文件

func (*HTTPServer) GetConfigFileMetadataList

func (h *HTTPServer) GetConfigFileMetadataList(req *restful.Request, rsp *restful.Response)

GetConfigFileMetadataList 统一发现接口

func (*HTTPServer) GetConfigFileRelease

func (h *HTTPServer) GetConfigFileRelease(req *restful.Request, rsp *restful.Response)

GetConfigFileRelease 获取配置文件最后一次发布内容

func (*HTTPServer) GetConfigFileReleaseHistory

func (h *HTTPServer) GetConfigFileReleaseHistory(req *restful.Request, rsp *restful.Response)

GetConfigFileReleaseHistory 获取配置文件发布历史,按照发布时间倒序排序

func (*HTTPServer) GetConfigFileReleaseVersions

func (h *HTTPServer) GetConfigFileReleaseVersions(req *restful.Request, rsp *restful.Response)

GetConfigFileReleaseVersions 获取配置文件最后一次发布内容

func (*HTTPServer) GetConfigFileReleases

func (h *HTTPServer) GetConfigFileReleases(req *restful.Request, rsp *restful.Response)

GetConfigFileReleases 获取配置文件最后一次发布内容

func (*HTTPServer) GetConsoleAccessServer

func (h *HTTPServer) GetConsoleAccessServer(include []string) (*restful.WebService, error)

GetConfigAccessServer 获取配置中心接口

func (*HTTPServer) ImportConfigFile

func (h *HTTPServer) ImportConfigFile(req *restful.Request, rsp *restful.Response)

ImportConfigFile 导入配置文件

func (*HTTPServer) PublishConfigFile

func (h *HTTPServer) PublishConfigFile(req *restful.Request, rsp *restful.Response)

PublishConfigFile 发布配置文件

func (*HTTPServer) QueryConfigFileGroups

func (h *HTTPServer) QueryConfigFileGroups(req *restful.Request, rsp *restful.Response)

QueryConfigFileGroups 查询配置文件组,group 模糊搜索

func (*HTTPServer) RollbackConfigFileReleases

func (h *HTTPServer) RollbackConfigFileReleases(req *restful.Request, rsp *restful.Response)

RollbackConfigFileReleases 获取配置文件最后一次发布内容

func (*HTTPServer) SearchConfigFile

func (h *HTTPServer) SearchConfigFile(req *restful.Request, rsp *restful.Response)

SearchConfigFile 按照 group 和 name 模糊搜索配置文件,按照 tag 搜索,多个tag之间或的关系

func (*HTTPServer) StopGrayConfigFileReleases added in v1.18.0

func (h *HTTPServer) StopGrayConfigFileReleases(req *restful.Request, rsp *restful.Response)

StopGrayConfigFileReleases .

func (*HTTPServer) UpdateConfigFile

func (h *HTTPServer) UpdateConfigFile(req *restful.Request, rsp *restful.Response)

UpdateConfigFile 更新配置文件

func (*HTTPServer) UpdateConfigFileGroup

func (h *HTTPServer) UpdateConfigFileGroup(req *restful.Request, rsp *restful.Response)

UpdateConfigFileGroup 更新配置文件组,只能更新 comment

func (*HTTPServer) UpsertAndReleaseConfigFile

func (h *HTTPServer) UpsertAndReleaseConfigFile(req *restful.Request, rsp *restful.Response)

UpsertAndReleaseConfigFile

type NamespaceArr

type NamespaceArr []*apimodel.Namespace

NamespaceArr 命名空间数组定义

func (*NamespaceArr) ProtoMessage

func (*NamespaceArr) ProtoMessage()

ProtoMessage return proto message

func (*NamespaceArr) Reset

func (m *NamespaceArr) Reset()

Reset 重置初始化

func (*NamespaceArr) String

func (m *NamespaceArr) String() string

String return string

type ServiceAliasArr

type ServiceAliasArr []*apiservice.ServiceAlias

ServiceAliasArr 服务实例数组定义

func (*ServiceAliasArr) ProtoMessage

func (*ServiceAliasArr) ProtoMessage()

ProtoMessage proto message

func (*ServiceAliasArr) Reset

func (m *ServiceAliasArr) Reset()

Reset reset initialization

func (*ServiceAliasArr) String

func (m *ServiceAliasArr) String() string

String return string

Jump to

Keyboard shortcuts

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