public static interface Fault.HTTPFaultOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Fault.FaultAbort |
getAbort()
If specified, the filter will abort requests based on the values in
the object.
|
Fault.FaultAbortOrBuilder |
getAbortOrBuilder()
If specified, the filter will abort requests based on the values in
the object.
|
Fault.FaultDelay |
getDelay()
If specified, the filter will inject delays based on the values in the
object.
|
Fault.FaultDelayOrBuilder |
getDelayOrBuilder()
If specified, the filter will inject delays based on the values in the
object.
|
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.
|
RouteOuterClass.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<RouteOuterClass.HeaderMatcher> |
getHeadersList()
Specifies a set of headers that the filter should match on.
|
RouteOuterClass.HeaderMatcherOrBuilder |
getHeadersOrBuilder(int index)
Specifies a set of headers that the filter should match on.
|
List<? extends RouteOuterClass.HeaderMatcherOrBuilder> |
getHeadersOrBuilderList()
Specifies a set of headers that the filter should match on.
|
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.
|
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. At least *abort* or *delay* must be specified.
.envoy.config.filter.fault.v2.FaultDelay delay = 1;Fault.FaultDelay getDelay()
If specified, the filter will inject delays based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.config.filter.fault.v2.FaultDelay delay = 1;Fault.FaultDelayOrBuilder getDelayOrBuilder()
If specified, the filter will inject delays based on the values in the object. At least *abort* or *delay* must be specified.
.envoy.config.filter.fault.v2.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.config.filter.http.fault.v2.FaultAbort abort = 2;Fault.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.config.filter.http.fault.v2.FaultAbort abort = 2;Fault.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.config.filter.http.fault.v2.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<RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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.api.v2.route.HeaderMatcher headers = 4;RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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.api.v2.route.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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.api.v2.route.HeaderMatcher headers = 4;List<? extends RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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.api.v2.route.HeaderMatcher headers = 4;RouteOuterClass.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:`percent <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percent>` 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.api.v2.route.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;Copyright © 2018 The Envoy Project. All rights reserved.