local types = import 'types.libsonnet'; types.envoy.config.route.v3.RetryPolicy .withHostSelectionRetryMaxAttempts(1) .withNumRetries(1) .withPerTryIdleTimeout(types.google.protobuf.Duration) .withPerTryTimeout(types.google.protobuf.Duration) .withRateLimitedRetryBackOff(types.envoy.config.route.v3.RetryPolicy.RateLimitedRetryBackOff) .withRetriableHeaders([ types.envoy.config.route.v3.HeaderMatcher ]) .withRetriableRequestHeaders([ types.envoy.config.route.v3.HeaderMatcher ]) .withRetriableStatusCodes([ 1 ]) .withRetryBackOff(types.envoy.config.route.v3.RetryPolicy.RetryBackOff) .withRetryHostPredicate([ types.envoy.config.route.v3.RetryPolicy.RetryHostPredicate ]) .withRetryOn('string') .withRetryOptionsPredicates([ types.envoy.config.core.v3.TypedExtensionConfig ]) .withRetryPriority(types.envoy.config.route.v3.RetryPolicy.RetryPriority) ._validate()
| Name | Type | One-of group | Required | Constraints |
|---|---|---|---|---|
| host_selection_retry_max_attempts | int64 |
|
||
| num_retries | google.protobuf.UInt32Value |
|
||
| per_try_idle_timeout | google.protobuf.Duration |
|
||
| per_try_timeout | google.protobuf.Duration |
|
||
| rate_limited_retry_back_off | envoy.config.route.v3.RetryPolicy.RateLimitedRetryBackOff |
|
||
| retriable_headers | [] envoy.config.route.v3.HeaderMatcher |
|
||
| retriable_request_headers | [] envoy.config.route.v3.HeaderMatcher |
|
||
| retriable_status_codes | [] uint32 |
|
||
| retry_back_off | envoy.config.route.v3.RetryPolicy.RetryBackOff |
|
||
| retry_host_predicate | [] envoy.config.route.v3.RetryPolicy.RetryHostPredicate |
|
||
| retry_on | string |
|
||
| retry_options_predicates | [] envoy.config.core.v3.TypedExtensionConfig |
|
||
| retry_priority | envoy.config.route.v3.RetryPolicy.RetryPriority |
|