add region field (#16825)

* add region field

* fix syntax error in test file

* go fmt

* go fmt

* remove test
This commit is contained in:
malizz 2023-03-31 12:05:47 -07:00 committed by GitHub
parent 0d16aa934b
commit f8d6cce902
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -261,7 +261,10 @@ type ServiceResolverFailoverTarget struct {
}
type ServiceResolverFailoverPolicy struct {
Mode string `json:",omitempty"`
// Mode specifies the type of failover that will be performed. Valid values are
// "sequential", "" (equivalent to "sequential") and "order-by-locality".
Mode string `json:",omitempty"`
Regions []string `json:",omitempty"`
}
// LoadBalancer determines the load balancing policy and configuration for services