You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| tag | string | Select endpoints only with this tag |
21
-
| healthy | true/false | Return only endpoints which pass all health-checks. Default: false |
22
-
| wait | as in time.ParseDuration | Wait time for watch changes. Due this time period endpoints will be force refreshed. Default: inherits agent property |
23
-
| insecure | true/false | Allow insecure communication with Consul. Default: true |
24
-
| near | string | Sort endpoints by response duration. Can be efficient combine with `limit` parameter default: "_agent" |
25
-
| limit | int | Limit number of endpoints for the service. Default: no limit |
26
-
| timeout | as in time.ParseDuration | Http-client timeout. Default: 60s |
27
-
| max-backoff | as in time.ParseDuration | Max backoff time for reconnect to consul. Reconnects will start from 10ms to _max-backoff_ exponentialy with factor 2. Default: 1s |
| tag | string | Select endpoints only with this tag |
21
+
| healthy | true/false | Return only endpoints which pass all health-checks. Default: false |
22
+
| wait | as in time.ParseDuration | Wait time for watch changes. Due this time period endpoints will be force refreshed. Default: inherits agent property |
23
+
| insecure | true/false | Allow insecure communication with Consul. Default: true |
24
+
| near | string | Sort endpoints by response duration. Can be efficient combine with `limit` parameter default: "_agent" |
25
+
| limit | int | Limit number of endpoints for the service. Default: no limit |
26
+
| timeout | as in time.ParseDuration | Http-client timeout. Default: 60s |
27
+
| max-backoff | as in time.ParseDuration | Max backoff time for reconnect to consul. Reconnects will start from 10ms to _max-backoff_ exponentialy with factor 2. Default: 1s |
28
+
| token | string | Consul token |
29
+
| dc | string | Consul datacenter to choose. Optional |
30
+
| allow-stale | true/false | Allow stale results from the agent. https://www.consul.io/api/features/consistency.html#stale|
31
+
| require-consistent | true/false | RequireConsistent forces the read to be fully consistent. This is more expensive but prevents ever performing a stale read. |
0 commit comments