Automatic merge from release/2.3.0 -> release/2.4.0

* commit 'ec71bc2fe99668a49fa2cc1b92413798cf6bec4a':
  loadbalancers: 增加rps限速支持
  loadbalancers: 清理监听选项名
  loadbalancers: 移除Bandwidth字段
This commit is contained in:
邱剑
2018-12-12 15:32:47 +08:00
6 changed files with 105 additions and 21 deletions
+10 -7
View File
@@ -25,10 +25,8 @@ type LoadbalancerHTTPListener struct {
StickySessionCookie string
StickySessionCookieTimeout int
XForwardedFor bool
XForwardedForSLBIP bool
XForwardedForSLBID bool
Gzip bool
XForwardedFor bool
Gzip bool
}
// CACertificate string
@@ -38,11 +36,15 @@ type LoadbalancerHTTPSListener struct {
EnableHttp2 bool
}
type LoadbalancerHTTPRateLimiter struct {
HTTPRequestRate int
HTTPRequestRatePerSrc int
}
type LoadbalancerListener struct {
VirtualResource
LoadbalancerId string
Bandwidth int
ListenerType string
ListenerPort int
@@ -79,8 +81,7 @@ type LoadbalancerListener struct {
LoadbalancerHTTPListener
LoadbalancerHTTPSListener
XForwardedFor bool
Gzip bool
LoadbalancerHTTPRateLimiter
}
type LoadbalancerListenerRule struct {
@@ -91,6 +92,8 @@ type LoadbalancerListenerRule struct {
Domain string
Path string
LoadbalancerHTTPRateLimiter
}
type LoadbalancerBackendGroup struct {