docs

package
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnrichAddServiceContractInterfacesApiDocs added in v1.18.0

func EnrichAddServiceContractInterfacesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichAppendServiceContractInterfacesApiDocs added in v1.18.0

func EnrichAppendServiceContractInterfacesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichAuthStatusApiDocs

func EnrichAuthStatusApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichBatchCleanInstancesApiDocs

func EnrichBatchCleanInstancesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichBatchDeleteConfigFileApiDocs

func EnrichBatchDeleteConfigFileApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCleanInstanceApiDocs

func EnrichCleanInstanceApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCloseConnectionsApiDocs

func EnrichCloseConnectionsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichConfigDiscoverApiDocs added in v1.18.0

func EnrichConfigDiscoverApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCreateCircuitBreakerRulesApiDocs

func EnrichCreateCircuitBreakerRulesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCreateConfigFileApiDocs

func EnrichCreateConfigFileApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCreateConfigFileGroupApiDocs

func EnrichCreateConfigFileGroupApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCreateConfigFileTemplateApiDocs

func EnrichCreateConfigFileTemplateApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCreateFaultDetectRulesApiDocs

func EnrichCreateFaultDetectRulesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCreateGroupApiDocs

func EnrichCreateGroupApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCreateInstancesApiDocs

func EnrichCreateInstancesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCreateNamespacesApiDocs

func EnrichCreateNamespacesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCreateNamespacesApiDocsOld

func EnrichCreateNamespacesApiDocsOld(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCreateRateLimitsApiDocs

func EnrichCreateRateLimitsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCreateRouterRuleApiDocs

func EnrichCreateRouterRuleApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCreateServiceAliasApiDocs

func EnrichCreateServiceAliasApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCreateServiceContractsApiDocs added in v1.18.0

func EnrichCreateServiceContractsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCreateServicesApiDocs

func EnrichCreateServicesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCreateStrategyApiDocs

func EnrichCreateStrategyApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichCreateUsersApiDocs

func EnrichCreateUsersApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteCircuitBreakerRulesApiDocs

func EnrichDeleteCircuitBreakerRulesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteConfigFileApiDocs

func EnrichDeleteConfigFileApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteConfigFileGroupApiDocs

func EnrichDeleteConfigFileGroupApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteFaultDetectRulesApiDocs

func EnrichDeleteFaultDetectRulesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteGroupsApiDocs

func EnrichDeleteGroupsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteInstancesApiDocs

func EnrichDeleteInstancesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteInstancesByHostApiDocs

func EnrichDeleteInstancesByHostApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteNamespacesApiDocs

func EnrichDeleteNamespacesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteNamespacesApiDocsOld

func EnrichDeleteNamespacesApiDocsOld(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteRateLimitsApiDocs

func EnrichDeleteRateLimitsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteRouterRuleApiDocs

func EnrichDeleteRouterRuleApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteServiceAliasesApiDocs

func EnrichDeleteServiceAliasesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteServiceContractInterfacesApiDocs added in v1.18.0

func EnrichDeleteServiceContractInterfacesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteServiceContractsApiDocs added in v1.18.0

func EnrichDeleteServiceContractsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteServicesApiDocs

func EnrichDeleteServicesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteStrategiesApiDocs

func EnrichDeleteStrategiesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeleteUsersApiDocs

func EnrichDeleteUsersApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDeregisterInstanceApiDocs

func EnrichDeregisterInstanceApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichDiscoverApiDocs

func EnrichDiscoverApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichEnableCircuitBreakerRulesApiDocs

func EnrichEnableCircuitBreakerRulesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichEnableRateLimitsApiDocs

func EnrichEnableRateLimitsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichEnableRouterRuleApiDocs

func EnrichEnableRouterRuleApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichExportConfigFileApiDocs

func EnrichExportConfigFileApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichFreeOSMemoryApiDocs

func EnrichFreeOSMemoryApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetAllConfigEncryptAlgorithms added in v1.17.3

func EnrichGetAllConfigEncryptAlgorithms(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetAllConfigFileTemplatesApiDocs

func EnrichGetAllConfigFileTemplatesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetAllServicesApiDocs

func EnrichGetAllServicesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetCMDBInfoApiDocs

func EnrichGetCMDBInfoApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetCircuitBreakerRulesApiDocs

func EnrichGetCircuitBreakerRulesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetConfigFileApiDocs

func EnrichGetConfigFileApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetConfigFileForClientApiDocs

func EnrichGetConfigFileForClientApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetConfigFileMetadataList added in v1.17.3

func EnrichGetConfigFileMetadataList(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetConfigFileReleaseApiDocs

func EnrichGetConfigFileReleaseApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetConfigFileReleaseHistoryApiDocs

func EnrichGetConfigFileReleaseHistoryApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetFaultDetectRulesApiDocs

func EnrichGetFaultDetectRulesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetGroupApiDocs

func EnrichGetGroupApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetGroupTokenApiDocs

func EnrichGetGroupTokenApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetGroupsApiDocs

func EnrichGetGroupsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetInstanceLabelsApiDocs

func EnrichGetInstanceLabelsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetInstancesApiDocs

func EnrichGetInstancesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetInstancesCountApiDocs

func EnrichGetInstancesCountApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetLastHeartbeatApiDocs

func EnrichGetLastHeartbeatApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetLogOutputLevelApiDocs

func EnrichGetLogOutputLevelApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetNamespaceTokenApiDocsOld

func EnrichGetNamespaceTokenApiDocsOld(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetNamespacesApiDocs

func EnrichGetNamespacesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetNamespacesApiDocsOld

func EnrichGetNamespacesApiDocsOld(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetPrincipalResourcesApiDocs

func EnrichGetPrincipalResourcesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetRateLimitsApiDocs

func EnrichGetRateLimitsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetReportClientsApiDocs

func EnrichGetReportClientsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetRouterRuleApiDocs

func EnrichGetRouterRuleApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetServerConnStatsApiDocs

func EnrichGetServerConnStatsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetServerConnectionsApiDocs

func EnrichGetServerConnectionsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetServiceAliasesApiDocs

func EnrichGetServiceAliasesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetServiceContractsApiDocs added in v1.18.0

func EnrichGetServiceContractsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetServiceTokenApiDocs

func EnrichGetServiceTokenApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetServicesApiDocs

func EnrichGetServicesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetServicesCountApiDocs

func EnrichGetServicesCountApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetStrategiesApiDocs

func EnrichGetStrategiesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetStrategyApiDocs

func EnrichGetStrategyApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetUserTokenApiDocs

func EnrichGetUserTokenApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichGetUsersApiDocs

func EnrichGetUsersApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichHeartbeatApiDocs

func EnrichHeartbeatApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichImportConfigFileApiDocs

func EnrichImportConfigFileApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichListLeaderElectionsApiDocs

func EnrichListLeaderElectionsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichLoginApiDocs

func EnrichLoginApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichPublishConfigFileApiDocs

func EnrichPublishConfigFileApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichQueryConfigFileGroupsApiDocs

func EnrichQueryConfigFileGroupsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichQueryConfigFilesByGroupApiDocs

func EnrichQueryConfigFilesByGroupApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichRegisterInstanceApiDocs

func EnrichRegisterInstanceApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichReleaseLeaderElectionApiDocs

func EnrichReleaseLeaderElectionApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichReportClientApiDocs

func EnrichReportClientApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichResetGroupTokenApiDocs

func EnrichResetGroupTokenApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichResetUserTokenApiDocs

func EnrichResetUserTokenApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichSearchConfigFileApiDocs

func EnrichSearchConfigFileApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichSetLogOutputLevelApiDocs

func EnrichSetLogOutputLevelApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichStopBetaReleaseConfigFileApiDocs added in v1.18.0

func EnrichStopBetaReleaseConfigFileApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateCircuitBreakerRulesApiDocs

func EnrichUpdateCircuitBreakerRulesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateConfigFileApiDocs

func EnrichUpdateConfigFileApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateConfigFileGroupApiDocs

func EnrichUpdateConfigFileGroupApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateFaultDetectRulesApiDocs

func EnrichUpdateFaultDetectRulesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateGroupTokenApiDocs

func EnrichUpdateGroupTokenApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateGroupsApiDocs

func EnrichUpdateGroupsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateInstancesApiDocs

func EnrichUpdateInstancesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateInstancesIsolateApiDocs

func EnrichUpdateInstancesIsolateApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateNamespaceTokenApiDocsOld

func EnrichUpdateNamespaceTokenApiDocsOld(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateNamespacesApiDocs

func EnrichUpdateNamespacesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateNamespacesApiDocsOld

func EnrichUpdateNamespacesApiDocsOld(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateRateLimitsApiDocs

func EnrichUpdateRateLimitsApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateRouterRuleApiDocs

func EnrichUpdateRouterRuleApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateServiceAliasApiDocs

func EnrichUpdateServiceAliasApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateServiceTokenApiDocs

func EnrichUpdateServiceTokenApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateServicesApiDocs

func EnrichUpdateServicesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateStrategiesApiDocs

func EnrichUpdateStrategiesApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateUserApiDocs

func EnrichUpdateUserApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateUserPasswordApiDocs

func EnrichUpdateUserPasswordApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpdateUserTokenApiDocs

func EnrichUpdateUserTokenApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichUpsertAndReleaseConfigFileApiDocs added in v1.17.3

func EnrichUpsertAndReleaseConfigFileApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

func EnrichWatchConfigFileForClientApiDocs

func EnrichWatchConfigFileForClientApiDocs(r *restful.RouteBuilder) *restful.RouteBuilder

Types

type BaseResponse added in v1.17.3

type BaseResponse struct {
	Code *wrapperspb.UInt32Value `json:"code"`
	Info *wrapperspb.StringValue `json:"info"`
}

type BatchQueryResponse added in v1.17.3

type BatchQueryResponse struct {
	Code   *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Info   *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	Amount *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Size   *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=size,proto3" json:"size,omitempty"`
	Total  *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=total,proto3" json:"total,omitempty"`
}

type BatchWriteResponse added in v1.17.3

type BatchWriteResponse struct {
	Code *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Info *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
}

type DiscoverRequest added in v1.17.3

type DiscoverRequest struct {
	Type    string        `json:"type,omitempty"`
	Service SimpleService `json:"service,omitempty"`
}

DiscoverRequest 0: "UNKNOWN", 1: "INSTANCE", 2: "CLUSTER", 3: "ROUTING", 4: "RATE_LIMIT", 5: "CIRCUIT_BREAKER", 6: "SERVICES", 12: "NAMESPACES", 13: "FAULT_DETECTOR",

type RouteRule added in v1.17.3

type RouteRule struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// route rule name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// namespace namingspace of routing rules
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Enable this router
	Enable bool `protobuf:"varint,4,opt,name=enable,proto3" json:"enable,omitempty"`
	// Router type
	RoutingPolicy traffic_manage.RoutingPolicy `json:"routing_policy,omitempty"`
	// Routing configuration for router
	RoutingConfig RuleRoutingConfig `protobuf:"bytes,6,opt,name=routing_config,proto3" json:"routing_config,omitempty"`
	// revision routing version
	Revision string `protobuf:"bytes,7,opt,name=revision,proto3" json:"revision,omitempty"`
	// ctime create time of the rules
	Ctime string `protobuf:"bytes,8,opt,name=ctime,proto3" json:"ctime,omitempty"`
	// mtime modify time of the rules
	Mtime string `protobuf:"bytes,9,opt,name=mtime,proto3" json:"mtime,omitempty"`
	// etime enable time of the rules
	Etime string `protobuf:"bytes,10,opt,name=etime,proto3" json:"etime,omitempty"`
	// priority rules priority
	Priority uint32 `protobuf:"varint,11,opt,name=priority,proto3" json:"priority,omitempty"`
	// description simple description rules
	Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`
	// extendInfo 用于承载一些额外信息
	// case 1: 升级到 v2 版本时,记录对应到 v1 版本的 id 信息
	ExtendInfo map[string]string `json:"extendInfo,omitempty"`
}

configuration root for route

type RuleRoutingConfig added in v1.17.3

type RuleRoutingConfig struct {
	// rule route chain
	Rules []traffic_manage.SubRuleRouting `json:"rules,omitempty"`
}

RuleRoutingConfig routing configuration

type SimpleService added in v1.17.3

type SimpleService struct {
	Name      *wrapperspb.StringValue `json:"name,omitempty"`
	Namespace *wrapperspb.StringValue `json:"namespace,omitempty"`
}

Jump to

Keyboard shortcuts

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