public interface HTTPFaultOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
FaultAbort |
getAbort()
If specified, the filter will abort requests based on the values in
the object.
|
String |
getAbortGrpcStatusRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
runtime.
|
com.google.protobuf.ByteString |
getAbortGrpcStatusRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
runtime.
|
String |
getAbortHttpStatusRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
runtime.
|
com.google.protobuf.ByteString |
getAbortHttpStatusRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
runtime.
|
FaultAbortOrBuilder |
getAbortOrBuilder()
If specified, the filter will abort requests based on the values in
the object.
|
String |
getAbortPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
runtime.
|
com.google.protobuf.ByteString |
getAbortPercentRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
runtime.
|
FaultDelay |
getDelay()
If specified, the filter will inject delays based on the values in the
object.
|
String |
getDelayDurationRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
runtime.
|
com.google.protobuf.ByteString |
getDelayDurationRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
runtime.
|
FaultDelayOrBuilder |
getDelayOrBuilder()
If specified, the filter will inject delays based on the values in the
object.
|
String |
getDelayPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
runtime.
|
com.google.protobuf.ByteString |
getDelayPercentRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
runtime.
|
String |
getDownstreamNodes(int index)
Faults are injected for the specified list of downstream hosts.
|
com.google.protobuf.ByteString |
getDownstreamNodesBytes(int index)
Faults are injected for the specified list of downstream hosts.
|
int |
getDownstreamNodesCount()
Faults are injected for the specified list of downstream hosts.
|
List<String> |
getDownstreamNodesList()
Faults are injected for the specified list of downstream hosts.
|
HeaderMatcher |
getHeaders(int index)
Specifies a set of headers that the filter should match on.
|
int |
getHeadersCount()
Specifies a set of headers that the filter should match on.
|
List<HeaderMatcher> |
getHeadersList()
Specifies a set of headers that the filter should match on.
|
HeaderMatcherOrBuilder |
getHeadersOrBuilder(int index)
Specifies a set of headers that the filter should match on.
|
List<? extends HeaderMatcherOrBuilder> |
getHeadersOrBuilderList()
Specifies a set of headers that the filter should match on.
|
com.google.protobuf.UInt32Value |
getMaxActiveFaults()
The maximum number of faults that can be active at a single time via the configured fault
filter.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxActiveFaultsOrBuilder()
The maximum number of faults that can be active at a single time via the configured fault
filter.
|
String |
getMaxActiveFaultsRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
runtime.
|
com.google.protobuf.ByteString |
getMaxActiveFaultsRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
runtime.
|
FaultRateLimit |
getResponseRateLimit()
The response rate limit to be applied to the response body of the stream.
|
FaultRateLimitOrBuilder |
getResponseRateLimitOrBuilder()
The response rate limit to be applied to the response body of the stream.
|
String |
getResponseRateLimitPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
runtime.
|
com.google.protobuf.ByteString |
getResponseRateLimitPercentRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
runtime.
|
String |
getUpstreamCluster()
Specifies the name of the (destination) upstream cluster that the
filter should match on.
|
com.google.protobuf.ByteString |
getUpstreamClusterBytes()
Specifies the name of the (destination) upstream cluster that the
filter should match on.
|
boolean |
hasAbort()
If specified, the filter will abort requests based on the values in
the object.
|
boolean |
hasDelay()
If specified, the filter will inject delays based on the values in the
object.
|
boolean |
hasMaxActiveFaults()
The maximum number of faults that can be active at a single time via the configured fault
filter.
|
boolean |
hasResponseRateLimit()
The response rate limit to be applied to the response body of the stream.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasDelay()
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;FaultDelay getDelay()
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;FaultDelayOrBuilder getDelayOrBuilder()
If specified, the filter will inject delays based on the values in the object.
.envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;boolean hasAbort()
If specified, the filter will abort requests based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.extensions.filters.http.fault.v4alpha.FaultAbort abort = 2;FaultAbort getAbort()
If specified, the filter will abort requests based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.extensions.filters.http.fault.v4alpha.FaultAbort abort = 2;FaultAbortOrBuilder getAbortOrBuilder()
If specified, the filter will abort requests based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.extensions.filters.http.fault.v4alpha.FaultAbort abort = 2;String getUpstreamCluster()
Specifies the name of the (destination) upstream cluster that the filter should match on. Fault injection will be restricted to requests bound to the specific upstream cluster.
string upstream_cluster = 3;com.google.protobuf.ByteString getUpstreamClusterBytes()
Specifies the name of the (destination) upstream cluster that the filter should match on. Fault injection will be restricted to requests bound to the specific upstream cluster.
string upstream_cluster = 3;List<HeaderMatcher> getHeadersList()
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_api_field_extensions.filters.http.fault.v4alpha.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 4;HeaderMatcher getHeaders(int index)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_api_field_extensions.filters.http.fault.v4alpha.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 4;int getHeadersCount()
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_api_field_extensions.filters.http.fault.v4alpha.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 4;List<? extends HeaderMatcherOrBuilder> getHeadersOrBuilderList()
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_api_field_extensions.filters.http.fault.v4alpha.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 4;HeaderMatcherOrBuilder getHeadersOrBuilder(int index)
Specifies a set of headers that the filter should match on. The fault injection filter can be applied selectively to requests that match a set of headers specified in the fault filter config. The chances of actual fault injection further depend on the value of the :ref:`percentage <envoy_api_field_extensions.filters.http.fault.v4alpha.FaultAbort.percentage>` field. The filter will check the request's headers against all the specified headers in the filter config. A match will happen if all the headers in the config are present in the request with the same values (or based on presence if the *value* field is not in the config).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 4;List<String> getDownstreamNodesList()
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;int getDownstreamNodesCount()
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;String getDownstreamNodes(int index)
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;com.google.protobuf.ByteString getDownstreamNodesBytes(int index)
Faults are injected for the specified list of downstream hosts. If this setting is not set, faults are injected for all downstream nodes. Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-service-node <config_http_conn_man_headers_downstream-service-node>` header and compared against downstream_nodes list.
repeated string downstream_nodes = 5;boolean hasMaxActiveFaults()
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via `runtime <config_http_filters_fault_injection_runtime>` and any faults that are not injected due to overflow will be indicated via the `faults_overflow <config_http_filters_fault_injection_stats>` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;com.google.protobuf.UInt32Value getMaxActiveFaults()
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via `runtime <config_http_filters_fault_injection_runtime>` and any faults that are not injected due to overflow will be indicated via the `faults_overflow <config_http_filters_fault_injection_stats>` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;com.google.protobuf.UInt32ValueOrBuilder getMaxActiveFaultsOrBuilder()
The maximum number of faults that can be active at a single time via the configured fault filter. Note that because this setting can be overridden at the route level, it's possible for the number of active faults to be greater than this value (if injected via a different route). If not specified, defaults to unlimited. This setting can be overridden via `runtime <config_http_filters_fault_injection_runtime>` and any faults that are not injected due to overflow will be indicated via the `faults_overflow <config_http_filters_fault_injection_stats>` stat. .. attention:: Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy limit. It's possible for the number of active faults to rise slightly above the configured amount due to the implementation details.
.google.protobuf.UInt32Value max_active_faults = 6;boolean hasResponseRateLimit()
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;FaultRateLimit getResponseRateLimit()
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;FaultRateLimitOrBuilder getResponseRateLimitOrBuilder()
The response rate limit to be applied to the response body of the stream. When configured, the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent <config_http_filters_fault_injection_runtime>` runtime key. .. attention:: This is a per-stream limit versus a connection level limit. This means that concurrent streams will each get an independent limit.
.envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;String getDelayPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_delay_percent
string delay_percent_runtime = 8;com.google.protobuf.ByteString getDelayPercentRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_delay_percent
string delay_percent_runtime = 8;String getAbortPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.abort_percent
string abort_percent_runtime = 9;com.google.protobuf.ByteString getAbortPercentRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.abort_percent
string abort_percent_runtime = 9;String getDelayDurationRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_duration_ms
string delay_duration_runtime = 10;com.google.protobuf.ByteString getDelayDurationRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.delay.fixed_duration_ms
string delay_duration_runtime = 10;String getAbortHttpStatusRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.http_status
string abort_http_status_runtime = 11;com.google.protobuf.ByteString getAbortHttpStatusRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.http_status
string abort_http_status_runtime = 11;String getMaxActiveFaultsRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.max_active_faults
string max_active_faults_runtime = 12;com.google.protobuf.ByteString getMaxActiveFaultsRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.max_active_faults
string max_active_faults_runtime = 12;String getResponseRateLimitPercentRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.rate_limit.response_percent
string response_rate_limit_percent_runtime = 13;com.google.protobuf.ByteString getResponseRateLimitPercentRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.rate_limit.response_percent
string response_rate_limit_percent_runtime = 13;String getAbortGrpcStatusRuntime()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.grpc_status
string abort_grpc_status_runtime = 14;com.google.protobuf.ByteString getAbortGrpcStatusRuntimeBytes()
The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>` runtime. The default is: fault.http.abort.grpc_status
string abort_grpc_status_runtime = 14;Copyright © 2018–2021 The Envoy Project. All rights reserved.