File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,12 @@ type UpstreamServer struct {
3333 MaxFails int `json:"max_fails"`
3434 FailTimeout string `json:"fail_timeout,omitempty"`
3535 SlowStart string `json:"slow_start,omitempty"`
36+ Route string `json:"route"`
37+ Backup bool `json:"backup"`
38+ Down bool `json:"down"`
39+ Drain bool `json:"drain"`
40+ Weight int `json:"weight"`
41+ Service string `json:"service"`
3642}
3743
3844// StreamUpstreamServer lets you configure Stream upstreams.
@@ -43,6 +49,12 @@ type StreamUpstreamServer struct {
4349 MaxFails int `json:"max_fails"`
4450 FailTimeout string `json:"fail_timeout,omitempty"`
4551 SlowStart string `json:"slow_start,omitempty"`
52+ Route string `json:"route"`
53+ Backup bool `json:"backup"`
54+ Down bool `json:"down"`
55+ Drain bool `json:"drain"`
56+ Weight int `json:"weight"`
57+ Service string `json:"service"`
4658}
4759
4860type apiErrorResponse struct {
You can’t perform that action at this time.
0 commit comments