Navigation :
query_options.proto
Package: consul.external.gloo.solo.io
Types:
Enums:
- [ConsulConsistencyModes](#consulconsistencymodes)
QueryOptions
mirrors client query options struct in consul catalog api
ConsulConsistencyModes
Description: These are the same consistency modes offered by Consul. For more information please review https://www.consul.io/api-docs/features/consistency.
For more information please review https://pkg.go.dev/github.com/hashicorp/consul/api#QueryOptions.
Name |
Description |
ConsistentMode |
This is strongly consistent. Sets the RequireConsistent in the consul api to true. |
DefaultMode |
This will set (clears) both the AllowStale and the RequireConsistent in the consul api to false. |
StaleMode |
Allows stale reads when set. This will set the AllowStale in the consul api. |