Documentation ¶
Index ¶
- type CircuitBreakerArr
- type CircuitBreakerRuleAttr
- type ConfigReleaseArr
- type FaultDetectRuleAttr
- type HTTPServerV1
- func (h *HTTPServerV1) AppendServiceContractInterfaces(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) CreateCircuitBreakerRules(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) CreateCircuitBreakerVersions(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) CreateCircuitBreakers(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) CreateFaultDetectRules(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) CreateInstances(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) CreateNamespaces(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) CreateRateLimits(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) CreateRoutings(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) CreateServiceAlias(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) CreateServiceContract(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) CreateServiceContractInterfaces(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) CreateServices(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) DeleteCircuitBreakerRules(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) DeleteCircuitBreakers(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) DeleteFaultDetectRules(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) DeleteInstances(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) DeleteInstancesByHost(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) DeleteNamespaces(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) DeleteRateLimits(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) DeleteRoutings(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) DeleteServiceAliases(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) DeleteServiceContractInterfaces(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) DeleteServiceContracts(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) DeleteServices(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) DeregisterInstance(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) Discover(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) EnableCircuitBreakerRules(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) EnableRateLimits(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetAllServices(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetCircuitBreaker(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetCircuitBreakerByService(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetCircuitBreakerRules(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetCircuitBreakerToken(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetCircuitBreakerVersions(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetClientAccessServer(ws *restful.WebService, include []string) error
- func (h *HTTPServerV1) GetConsoleAccessServer(include []string) (*restful.WebService, error)
- func (h *HTTPServerV1) GetFaultDetectRules(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetInstanceLabels(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetInstances(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetInstancesCount(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetMasterCircuitBreakers(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetNamespaceToken(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetNamespaces(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetRateLimits(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetReleaseCircuitBreakers(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetRoutings(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetServiceAliases(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetServiceContractVersions(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetServiceContracts(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetServiceOwner(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetServiceToken(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetServices(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) GetServicesCount(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) Heartbeat(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) RegisterInstance(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) ReleaseCircuitBreakers(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) ReportClient(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) UnBindCircuitBreakers(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) UpdateCircuitBreakerRules(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) UpdateCircuitBreakers(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) UpdateFaultDetectRules(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) UpdateInstances(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) UpdateInstancesIsolate(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) UpdateNamespaceToken(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) UpdateNamespaces(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) UpdateRateLimits(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) UpdateRoutings(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) UpdateServiceAlias(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) UpdateServiceToken(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV1) UpdateServices(req *restful.Request, rsp *restful.Response)
- type InstanceArr
- type NamespaceArr
- type RateLimitArr
- type RouterArr
- type RoutingArr
- type ServiceAliasArr
- type ServiceArr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CircuitBreakerArr ¶
type CircuitBreakerArr []*apifault.CircuitBreaker
CircuitBreakerArr 熔断规则数组定义
func (*CircuitBreakerArr) ProtoMessage ¶
func (*CircuitBreakerArr) ProtoMessage()
ProtoMessage return proto message
type CircuitBreakerRuleAttr ¶
type CircuitBreakerRuleAttr []*apifault.CircuitBreakerRule
CircuitBreakerRuleAttr circuitbreaker rule array define
func (*CircuitBreakerRuleAttr) ProtoMessage ¶
func (*CircuitBreakerRuleAttr) ProtoMessage()
ProtoMessage return proto message
func (*CircuitBreakerRuleAttr) Reset ¶
func (m *CircuitBreakerRuleAttr) Reset()
Reset reset initialization
func (*CircuitBreakerRuleAttr) String ¶
func (m *CircuitBreakerRuleAttr) String() string
String return string
type ConfigReleaseArr ¶
type ConfigReleaseArr []*apiservice.ConfigRelease
ConfigReleaseArr 发布规则数组定义
func (*ConfigReleaseArr) ProtoMessage ¶
func (*ConfigReleaseArr) ProtoMessage()
ProtoMessage return proto message
type FaultDetectRuleAttr ¶
type FaultDetectRuleAttr []*apifault.FaultDetectRule
FaultDetectRuleAttr fault detect rule array define
func (*FaultDetectRuleAttr) ProtoMessage ¶
func (*FaultDetectRuleAttr) ProtoMessage()
ProtoMessage return proto message
func (*FaultDetectRuleAttr) Reset ¶
func (m *FaultDetectRuleAttr) Reset()
Reset reset initialization
func (*FaultDetectRuleAttr) String ¶
func (m *FaultDetectRuleAttr) String() string
String return string
type HTTPServerV1 ¶
type HTTPServerV1 struct {
// contains filtered or unexported fields
}
func NewV1Server ¶
func NewV1Server( namespaceServer namespace.NamespaceOperateServer, namingServer service.DiscoverServer, healthCheckServer *healthcheck.Server) *HTTPServerV1
func (*HTTPServerV1) AppendServiceContractInterfaces ¶ added in v1.18.0
func (h *HTTPServerV1) AppendServiceContractInterfaces(req *restful.Request, rsp *restful.Response)
AppendServiceContractInterfaces 追加服务契约详情
func (*HTTPServerV1) CreateCircuitBreakerRules ¶
func (h *HTTPServerV1) CreateCircuitBreakerRules(req *restful.Request, rsp *restful.Response)
CreateCircuitBreakerRules create the circuitbreaker rues
func (*HTTPServerV1) CreateCircuitBreakerVersions ¶
func (h *HTTPServerV1) CreateCircuitBreakerVersions(req *restful.Request, rsp *restful.Response)
CreateCircuitBreakerVersions 创建熔断规则版本
func (*HTTPServerV1) CreateCircuitBreakers ¶
func (h *HTTPServerV1) CreateCircuitBreakers(req *restful.Request, rsp *restful.Response)
CreateCircuitBreakers 创建熔断规则
func (*HTTPServerV1) CreateFaultDetectRules ¶
func (h *HTTPServerV1) CreateFaultDetectRules(req *restful.Request, rsp *restful.Response)
CreateFaultDetectRules create the fault detect rues
func (*HTTPServerV1) CreateInstances ¶
func (h *HTTPServerV1) CreateInstances(req *restful.Request, rsp *restful.Response)
CreateInstances 创建服务实例
func (*HTTPServerV1) CreateNamespaces ¶
func (h *HTTPServerV1) CreateNamespaces(req *restful.Request, rsp *restful.Response)
CreateNamespaces 创建命名空间
func (*HTTPServerV1) CreateRateLimits ¶
func (h *HTTPServerV1) CreateRateLimits(req *restful.Request, rsp *restful.Response)
CreateRateLimits 创建限流规则
func (*HTTPServerV1) CreateRoutings ¶
func (h *HTTPServerV1) CreateRoutings(req *restful.Request, rsp *restful.Response)
CreateRoutings 创建规则路由
func (*HTTPServerV1) CreateServiceAlias ¶
func (h *HTTPServerV1) CreateServiceAlias(req *restful.Request, rsp *restful.Response)
CreateServiceAlias service alias
func (*HTTPServerV1) CreateServiceContract ¶ added in v1.18.0
func (h *HTTPServerV1) CreateServiceContract(req *restful.Request, rsp *restful.Response)
CreateServiceContract 创建服务契约
func (*HTTPServerV1) CreateServiceContractInterfaces ¶ added in v1.18.0
func (h *HTTPServerV1) CreateServiceContractInterfaces(req *restful.Request, rsp *restful.Response)
CreateServiceContractInterfaces 创建服务契约详情
func (*HTTPServerV1) CreateServices ¶
func (h *HTTPServerV1) CreateServices(req *restful.Request, rsp *restful.Response)
CreateServices 创建服务
func (*HTTPServerV1) DeleteCircuitBreakerRules ¶
func (h *HTTPServerV1) DeleteCircuitBreakerRules(req *restful.Request, rsp *restful.Response)
DeleteCircuitBreakerRules delete the circuitbreaker rues
func (*HTTPServerV1) DeleteCircuitBreakers ¶
func (h *HTTPServerV1) DeleteCircuitBreakers(req *restful.Request, rsp *restful.Response)
DeleteCircuitBreakers 删除熔断规则
func (*HTTPServerV1) DeleteFaultDetectRules ¶
func (h *HTTPServerV1) DeleteFaultDetectRules(req *restful.Request, rsp *restful.Response)
DeleteFaultDetectRules delete the fault detect rues
func (*HTTPServerV1) DeleteInstances ¶
func (h *HTTPServerV1) DeleteInstances(req *restful.Request, rsp *restful.Response)
DeleteInstances 删除服务实例
func (*HTTPServerV1) DeleteInstancesByHost ¶
func (h *HTTPServerV1) DeleteInstancesByHost(req *restful.Request, rsp *restful.Response)
DeleteInstancesByHost 根据host删除服务实例
func (*HTTPServerV1) DeleteNamespaces ¶
func (h *HTTPServerV1) DeleteNamespaces(req *restful.Request, rsp *restful.Response)
DeleteNamespaces 删除命名空间
func (*HTTPServerV1) DeleteRateLimits ¶
func (h *HTTPServerV1) DeleteRateLimits(req *restful.Request, rsp *restful.Response)
DeleteRateLimits 删除限流规则
func (*HTTPServerV1) DeleteRoutings ¶
func (h *HTTPServerV1) DeleteRoutings(req *restful.Request, rsp *restful.Response)
DeleteRoutings 删除规则路由
func (*HTTPServerV1) DeleteServiceAliases ¶
func (h *HTTPServerV1) DeleteServiceAliases(req *restful.Request, rsp *restful.Response)
DeleteServiceAliases 删除服务别名
func (*HTTPServerV1) DeleteServiceContractInterfaces ¶ added in v1.18.0
func (h *HTTPServerV1) DeleteServiceContractInterfaces(req *restful.Request, rsp *restful.Response)
DeleteServiceContractInterfaces 删除服务契约详情
func (*HTTPServerV1) DeleteServiceContracts ¶ added in v1.18.0
func (h *HTTPServerV1) DeleteServiceContracts(req *restful.Request, rsp *restful.Response)
DeleteServiceContracts 删除服务契约
func (*HTTPServerV1) DeleteServices ¶
func (h *HTTPServerV1) DeleteServices(req *restful.Request, rsp *restful.Response)
DeleteServices 删除服务
func (*HTTPServerV1) DeregisterInstance ¶
func (h *HTTPServerV1) DeregisterInstance(req *restful.Request, rsp *restful.Response)
DeregisterInstance 反注册服务实例
func (*HTTPServerV1) Discover ¶
func (h *HTTPServerV1) Discover(req *restful.Request, rsp *restful.Response)
Discover 统一发现接口
func (*HTTPServerV1) EnableCircuitBreakerRules ¶
func (h *HTTPServerV1) EnableCircuitBreakerRules(req *restful.Request, rsp *restful.Response)
EnableCircuitBreakerRules enable the circuitbreaker rues
func (*HTTPServerV1) EnableRateLimits ¶
func (h *HTTPServerV1) EnableRateLimits(req *restful.Request, rsp *restful.Response)
EnableRateLimits 激活限流规则
func (*HTTPServerV1) GetAllServices ¶
func (h *HTTPServerV1) GetAllServices(req *restful.Request, rsp *restful.Response)
GetAllServices 查询服务
func (*HTTPServerV1) GetCircuitBreaker ¶
func (h *HTTPServerV1) GetCircuitBreaker(req *restful.Request, rsp *restful.Response)
GetCircuitBreaker 根据id和version获取熔断规则
func (*HTTPServerV1) GetCircuitBreakerByService ¶
func (h *HTTPServerV1) GetCircuitBreakerByService(req *restful.Request, rsp *restful.Response)
GetCircuitBreakerByService 根据服务查询绑定熔断规则
func (*HTTPServerV1) GetCircuitBreakerRules ¶
func (h *HTTPServerV1) GetCircuitBreakerRules(req *restful.Request, rsp *restful.Response)
GetCircuitBreakerRules query the circuitbreaker rues
func (*HTTPServerV1) GetCircuitBreakerToken ¶
func (h *HTTPServerV1) GetCircuitBreakerToken(req *restful.Request, rsp *restful.Response)
GetCircuitBreakerToken 获取熔断规则token
func (*HTTPServerV1) GetCircuitBreakerVersions ¶
func (h *HTTPServerV1) GetCircuitBreakerVersions(req *restful.Request, rsp *restful.Response)
GetCircuitBreakerVersions 查询熔断规则的所有版本
func (*HTTPServerV1) GetClientAccessServer ¶
func (h *HTTPServerV1) GetClientAccessServer(ws *restful.WebService, include []string) error
GetClientAccessServer get client access server
func (*HTTPServerV1) GetConsoleAccessServer ¶ added in v1.18.0
func (h *HTTPServerV1) GetConsoleAccessServer(include []string) (*restful.WebService, error)
GetConsoleAccessServer 注册管理端接口
func (*HTTPServerV1) GetFaultDetectRules ¶
func (h *HTTPServerV1) GetFaultDetectRules(req *restful.Request, rsp *restful.Response)
GetFaultDetectRules query the fault detect rues
func (*HTTPServerV1) GetInstanceLabels ¶
func (h *HTTPServerV1) GetInstanceLabels(req *restful.Request, rsp *restful.Response)
GetInstanceLabels 查询某个服务下所有实例的标签信息
func (*HTTPServerV1) GetInstances ¶
func (h *HTTPServerV1) GetInstances(req *restful.Request, rsp *restful.Response)
GetInstances 查询服务实例
func (*HTTPServerV1) GetInstancesCount ¶
func (h *HTTPServerV1) GetInstancesCount(req *restful.Request, rsp *restful.Response)
GetInstancesCount 查询服务实例
func (*HTTPServerV1) GetMasterCircuitBreakers ¶
func (h *HTTPServerV1) GetMasterCircuitBreakers(req *restful.Request, rsp *restful.Response)
GetMasterCircuitBreakers 查询master熔断规则
func (*HTTPServerV1) GetNamespaceToken ¶
func (h *HTTPServerV1) GetNamespaceToken(req *restful.Request, rsp *restful.Response)
GetNamespaceToken 命名空间token的获取
func (*HTTPServerV1) GetNamespaces ¶
func (h *HTTPServerV1) GetNamespaces(req *restful.Request, rsp *restful.Response)
GetNamespaces 查询命名空间
func (*HTTPServerV1) GetRateLimits ¶
func (h *HTTPServerV1) GetRateLimits(req *restful.Request, rsp *restful.Response)
GetRateLimits 查询限流规则
func (*HTTPServerV1) GetReleaseCircuitBreakers ¶
func (h *HTTPServerV1) GetReleaseCircuitBreakers(req *restful.Request, rsp *restful.Response)
GetReleaseCircuitBreakers 根据规则id查询已发布的熔断规则
func (*HTTPServerV1) GetRoutings ¶
func (h *HTTPServerV1) GetRoutings(req *restful.Request, rsp *restful.Response)
GetRoutings 查询规则路由
func (*HTTPServerV1) GetServiceAliases ¶
func (h *HTTPServerV1) GetServiceAliases(req *restful.Request, rsp *restful.Response)
GetServiceAliases 根据源服务获取服务别名
func (*HTTPServerV1) GetServiceContractVersions ¶ added in v1.18.0
func (h *HTTPServerV1) GetServiceContractVersions(req *restful.Request, rsp *restful.Response)
GetServiceContractVersions 查询服务契约
func (*HTTPServerV1) GetServiceContracts ¶ added in v1.18.0
func (h *HTTPServerV1) GetServiceContracts(req *restful.Request, rsp *restful.Response)
GetServiceContracts 查询服务契约
func (*HTTPServerV1) GetServiceOwner ¶
func (h *HTTPServerV1) GetServiceOwner(req *restful.Request, rsp *restful.Response)
GetServiceOwner 根据服务获取服务负责人
func (*HTTPServerV1) GetServiceToken ¶
func (h *HTTPServerV1) GetServiceToken(req *restful.Request, rsp *restful.Response)
GetServiceToken 获取服务token
func (*HTTPServerV1) GetServices ¶
func (h *HTTPServerV1) GetServices(req *restful.Request, rsp *restful.Response)
GetServices 查询服务
func (*HTTPServerV1) GetServicesCount ¶
func (h *HTTPServerV1) GetServicesCount(req *restful.Request, rsp *restful.Response)
GetServicesCount 查询服务总数
func (*HTTPServerV1) Heartbeat ¶
func (h *HTTPServerV1) Heartbeat(req *restful.Request, rsp *restful.Response)
Heartbeat 服务实例心跳
func (*HTTPServerV1) RegisterInstance ¶
func (h *HTTPServerV1) RegisterInstance(req *restful.Request, rsp *restful.Response)
RegisterInstance 注册服务实例
func (*HTTPServerV1) ReleaseCircuitBreakers ¶
func (h *HTTPServerV1) ReleaseCircuitBreakers(req *restful.Request, rsp *restful.Response)
ReleaseCircuitBreakers 发布熔断规则
func (*HTTPServerV1) ReportClient ¶
func (h *HTTPServerV1) ReportClient(req *restful.Request, rsp *restful.Response)
ReportClient 客户端上报信息
func (*HTTPServerV1) UnBindCircuitBreakers ¶
func (h *HTTPServerV1) UnBindCircuitBreakers(req *restful.Request, rsp *restful.Response)
UnBindCircuitBreakers 解绑熔断规则
func (*HTTPServerV1) UpdateCircuitBreakerRules ¶
func (h *HTTPServerV1) UpdateCircuitBreakerRules(req *restful.Request, rsp *restful.Response)
UpdateCircuitBreakerRules update the circuitbreaker rues
func (*HTTPServerV1) UpdateCircuitBreakers ¶
func (h *HTTPServerV1) UpdateCircuitBreakers(req *restful.Request, rsp *restful.Response)
UpdateCircuitBreakers 修改熔断规则
func (*HTTPServerV1) UpdateFaultDetectRules ¶
func (h *HTTPServerV1) UpdateFaultDetectRules(req *restful.Request, rsp *restful.Response)
UpdateFaultDetectRules update the fault detect rues
func (*HTTPServerV1) UpdateInstances ¶
func (h *HTTPServerV1) UpdateInstances(req *restful.Request, rsp *restful.Response)
UpdateInstances 修改服务实例
func (*HTTPServerV1) UpdateInstancesIsolate ¶
func (h *HTTPServerV1) UpdateInstancesIsolate(req *restful.Request, rsp *restful.Response)
UpdateInstancesIsolate 修改服务实例的隔离状态
func (*HTTPServerV1) UpdateNamespaceToken ¶
func (h *HTTPServerV1) UpdateNamespaceToken(req *restful.Request, rsp *restful.Response)
UpdateNamespaceToken 更新命名空间的token
func (*HTTPServerV1) UpdateNamespaces ¶
func (h *HTTPServerV1) UpdateNamespaces(req *restful.Request, rsp *restful.Response)
UpdateNamespaces 修改命名空间
func (*HTTPServerV1) UpdateRateLimits ¶
func (h *HTTPServerV1) UpdateRateLimits(req *restful.Request, rsp *restful.Response)
UpdateRateLimits 修改限流规则
func (*HTTPServerV1) UpdateRoutings ¶
func (h *HTTPServerV1) UpdateRoutings(req *restful.Request, rsp *restful.Response)
UpdateRoutings 修改规则路由
func (*HTTPServerV1) UpdateServiceAlias ¶
func (h *HTTPServerV1) UpdateServiceAlias(req *restful.Request, rsp *restful.Response)
UpdateServiceAlias 修改服务别名
func (*HTTPServerV1) UpdateServiceToken ¶
func (h *HTTPServerV1) UpdateServiceToken(req *restful.Request, rsp *restful.Response)
UpdateServiceToken 更新服务token
func (*HTTPServerV1) UpdateServices ¶
func (h *HTTPServerV1) UpdateServices(req *restful.Request, rsp *restful.Response)
UpdateServices 修改服务
type InstanceArr ¶
type InstanceArr []*apiservice.Instance
InstanceArr 服务实例数组定义
func (*InstanceArr) ProtoMessage ¶
func (*InstanceArr) ProtoMessage()
ProtoMessage return proto message
type NamespaceArr ¶
NamespaceArr 命名空间数组定义
func (*NamespaceArr) ProtoMessage ¶
func (*NamespaceArr) ProtoMessage()
ProtoMessage return proto message
type RateLimitArr ¶
type RateLimitArr []*apitraffic.Rule
RateLimitArr 限流规则数组定义
func (*RateLimitArr) ProtoMessage ¶
func (*RateLimitArr) ProtoMessage()
ProtoMessage return proto message
type RoutingArr ¶
type RoutingArr []*apitraffic.Routing
RoutingArr 路由规则数组定义
func (*RoutingArr) ProtoMessage ¶
func (*RoutingArr) ProtoMessage()
ProtoMessage return proto message
type ServiceAliasArr ¶
type ServiceAliasArr []*apiservice.ServiceAlias
ServiceAliasArr 服务实例数组定义
func (*ServiceAliasArr) ProtoMessage ¶
func (*ServiceAliasArr) ProtoMessage()
ProtoMessage proto message
type ServiceArr ¶
type ServiceArr []*apiservice.Service
ServiceArr 服务数组定义
func (*ServiceArr) ProtoMessage ¶
func (*ServiceArr) ProtoMessage()
ProtoMessage return proto message