go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/route/v4alpha Index | Files

package envoy_config_route_v4alpha

import "github.com/envoyproxy/go-control-plane/envoy/config/route/v4alpha"

Index

Package Files

route.pb.go route.pb.validate.go route_components.pb.go route_components.pb.validate.go scoped_route.pb.go scoped_route.pb.validate.go

Variables

var (
    VirtualHost_TlsRequirementType_name = map[int32]string{
        0:  "NONE",
        1:  "EXTERNAL_ONLY",
        2:  "ALL",
    }
    VirtualHost_TlsRequirementType_value = map[string]int32{
        "NONE":          0,
        "EXTERNAL_ONLY": 1,
        "ALL":           2,
    }
)

Enum value maps for VirtualHost_TlsRequirementType.

var (
    RouteAction_ClusterNotFoundResponseCode_name = map[int32]string{
        0:  "SERVICE_UNAVAILABLE",
        1:  "NOT_FOUND",
    }
    RouteAction_ClusterNotFoundResponseCode_value = map[string]int32{
        "SERVICE_UNAVAILABLE": 0,
        "NOT_FOUND":           1,
    }
)

Enum value maps for RouteAction_ClusterNotFoundResponseCode.

var (
    RouteAction_InternalRedirectAction_name = map[int32]string{
        0:  "PASS_THROUGH_INTERNAL_REDIRECT",
        1:  "HANDLE_INTERNAL_REDIRECT",
    }
    RouteAction_InternalRedirectAction_value = map[string]int32{
        "PASS_THROUGH_INTERNAL_REDIRECT": 0,
        "HANDLE_INTERNAL_REDIRECT":       1,
    }
)

Enum value maps for RouteAction_InternalRedirectAction.

var (
    RetryPolicy_ResetHeaderFormat_name = map[int32]string{
        0:  "SECONDS",
        1:  "UNIX_TIMESTAMP",
    }
    RetryPolicy_ResetHeaderFormat_value = map[string]int32{
        "SECONDS":        0,
        "UNIX_TIMESTAMP": 1,
    }
)

Enum value maps for RetryPolicy_ResetHeaderFormat.

var (
    RedirectAction_RedirectResponseCode_name = map[int32]string{
        0:  "MOVED_PERMANENTLY",
        1:  "FOUND",
        2:  "SEE_OTHER",
        3:  "TEMPORARY_REDIRECT",
        4:  "PERMANENT_REDIRECT",
    }
    RedirectAction_RedirectResponseCode_value = map[string]int32{
        "MOVED_PERMANENTLY":  0,
        "FOUND":              1,
        "SEE_OTHER":          2,
        "TEMPORARY_REDIRECT": 3,
        "PERMANENT_REDIRECT": 4,
    }
)

Enum value maps for RedirectAction_RedirectResponseCode.

var (
    RateLimit_Action_MetaData_Source_name = map[int32]string{
        0:  "DYNAMIC",
        1:  "ROUTE_ENTRY",
    }
    RateLimit_Action_MetaData_Source_value = map[string]int32{
        "DYNAMIC":     0,
        "ROUTE_ENTRY": 1,
    }
)

Enum value maps for RateLimit_Action_MetaData_Source.

var File_envoy_config_route_v4alpha_route_components_proto protoreflect.FileDescriptor
var File_envoy_config_route_v4alpha_route_proto protoreflect.FileDescriptor
var File_envoy_config_route_v4alpha_scoped_route_proto protoreflect.FileDescriptor

type CorsPolicy Uses

type CorsPolicy struct {

    // Specifies string patterns that match allowed origins. An origin is allowed if any of the
    // string matchers match.
    AllowOriginStringMatch []*v4alpha1.StringMatcher `protobuf:"bytes,11,rep,name=allow_origin_string_match,json=allowOriginStringMatch,proto3" json:"allow_origin_string_match,omitempty"`
    // Specifies the content for the *access-control-allow-methods* header.
    AllowMethods string `protobuf:"bytes,2,opt,name=allow_methods,json=allowMethods,proto3" json:"allow_methods,omitempty"`
    // Specifies the content for the *access-control-allow-headers* header.
    AllowHeaders string `protobuf:"bytes,3,opt,name=allow_headers,json=allowHeaders,proto3" json:"allow_headers,omitempty"`
    // Specifies the content for the *access-control-expose-headers* header.
    ExposeHeaders string `protobuf:"bytes,4,opt,name=expose_headers,json=exposeHeaders,proto3" json:"expose_headers,omitempty"`
    // Specifies the content for the *access-control-max-age* header.
    MaxAge string `protobuf:"bytes,5,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"`
    // Specifies whether the resource allows credentials.
    AllowCredentials *wrappers.BoolValue `protobuf:"bytes,6,opt,name=allow_credentials,json=allowCredentials,proto3" json:"allow_credentials,omitempty"`
    // Types that are assignable to EnabledSpecifier:
    //	*CorsPolicy_FilterEnabled
    EnabledSpecifier isCorsPolicy_EnabledSpecifier `protobuf_oneof:"enabled_specifier"`
    // Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not
    // enforced.
    //
    // This field is intended to be used when ``filter_enabled`` and ``enabled`` are off. One of those
    // fields have to explicitly disable the filter in order for this setting to take effect.
    //
    // If :ref:`runtime_key <envoy_api_field_config.core.v4alpha.RuntimeFractionalPercent.runtime_key>` is specified,
    // Envoy will lookup the runtime key to get the percentage of requests for which it will evaluate
    // and track the request's *Origin* to determine if it's valid but will not enforce any policies.
    ShadowEnabled *v4alpha.RuntimeFractionalPercent `protobuf:"bytes,10,opt,name=shadow_enabled,json=shadowEnabled,proto3" json:"shadow_enabled,omitempty"`
    // contains filtered or unexported fields
}

[#next-free-field: 12]

func (*CorsPolicy) Descriptor Uses

func (*CorsPolicy) Descriptor() ([]byte, []int)

Deprecated: Use CorsPolicy.ProtoReflect.Descriptor instead.

func (*CorsPolicy) GetAllowCredentials Uses

func (x *CorsPolicy) GetAllowCredentials() *wrappers.BoolValue

func (*CorsPolicy) GetAllowHeaders Uses

func (x *CorsPolicy) GetAllowHeaders() string

func (*CorsPolicy) GetAllowMethods Uses

func (x *CorsPolicy) GetAllowMethods() string

func (*CorsPolicy) GetAllowOriginStringMatch Uses

func (x *CorsPolicy) GetAllowOriginStringMatch() []*v4alpha1.StringMatcher

func (*CorsPolicy) GetEnabledSpecifier Uses

func (m *CorsPolicy) GetEnabledSpecifier() isCorsPolicy_EnabledSpecifier

func (*CorsPolicy) GetExposeHeaders Uses

func (x *CorsPolicy) GetExposeHeaders() string

func (*CorsPolicy) GetFilterEnabled Uses

func (x *CorsPolicy) GetFilterEnabled() *v4alpha.RuntimeFractionalPercent

func (*CorsPolicy) GetMaxAge Uses

func (x *CorsPolicy) GetMaxAge() string

func (*CorsPolicy) GetShadowEnabled Uses

func (x *CorsPolicy) GetShadowEnabled() *v4alpha.RuntimeFractionalPercent

func (*CorsPolicy) ProtoMessage Uses

func (*CorsPolicy) ProtoMessage()

func (*CorsPolicy) ProtoReflect Uses

func (x *CorsPolicy) ProtoReflect() protoreflect.Message

func (*CorsPolicy) Reset Uses

func (x *CorsPolicy) Reset()

func (*CorsPolicy) String Uses

func (x *CorsPolicy) String() string

func (*CorsPolicy) Validate Uses

func (m *CorsPolicy) Validate() error

Validate checks the field values on CorsPolicy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CorsPolicyValidationError Uses

type CorsPolicyValidationError struct {
    // contains filtered or unexported fields
}

CorsPolicyValidationError is the validation error returned by CorsPolicy.Validate if the designated constraints aren't met.

func (CorsPolicyValidationError) Cause Uses

func (e CorsPolicyValidationError) Cause() error

Cause function returns cause value.

func (CorsPolicyValidationError) Error Uses

func (e CorsPolicyValidationError) Error() string

Error satisfies the builtin error interface

func (CorsPolicyValidationError) ErrorName Uses

func (e CorsPolicyValidationError) ErrorName() string

ErrorName returns error name.

func (CorsPolicyValidationError) Field Uses

func (e CorsPolicyValidationError) Field() string

Field function returns field value.

func (CorsPolicyValidationError) Key Uses

func (e CorsPolicyValidationError) Key() bool

Key function returns key value.

func (CorsPolicyValidationError) Reason Uses

func (e CorsPolicyValidationError) Reason() string

Reason function returns reason value.

type CorsPolicy_FilterEnabled Uses

type CorsPolicy_FilterEnabled struct {
    // Specifies the % of requests for which the CORS filter is enabled.
    //
    // If neither ``enabled``, ``filter_enabled``, nor ``shadow_enabled`` are specified, the CORS
    // filter will be enabled for 100% of the requests.
    //
    // If :ref:`runtime_key <envoy_api_field_config.core.v4alpha.RuntimeFractionalPercent.runtime_key>` is
    // specified, Envoy will lookup the runtime key to get the percentage of requests to filter.
    FilterEnabled *v4alpha.RuntimeFractionalPercent `protobuf:"bytes,9,opt,name=filter_enabled,json=filterEnabled,proto3,oneof"`
}

type Decorator Uses

type Decorator struct {

    // The operation name associated with the request matched to this route. If tracing is
    // enabled, this information will be used as the span name reported for this request.
    //
    // .. note::
    //
    //   For ingress (inbound) requests, or egress (outbound) responses, this value may be overridden
    //   by the :ref:`x-envoy-decorator-operation
    //   <config_http_filters_router_x-envoy-decorator-operation>` header.
    Operation string `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
    // Whether the decorated details should be propagated to the other party. The default is true.
    Propagate *wrappers.BoolValue `protobuf:"bytes,2,opt,name=propagate,proto3" json:"propagate,omitempty"`
    // contains filtered or unexported fields
}

func (*Decorator) Descriptor Uses

func (*Decorator) Descriptor() ([]byte, []int)

Deprecated: Use Decorator.ProtoReflect.Descriptor instead.

func (*Decorator) GetOperation Uses

func (x *Decorator) GetOperation() string

func (*Decorator) GetPropagate Uses

func (x *Decorator) GetPropagate() *wrappers.BoolValue

func (*Decorator) ProtoMessage Uses

func (*Decorator) ProtoMessage()

func (*Decorator) ProtoReflect Uses

func (x *Decorator) ProtoReflect() protoreflect.Message

func (*Decorator) Reset Uses

func (x *Decorator) Reset()

func (*Decorator) String Uses

func (x *Decorator) String() string

func (*Decorator) Validate Uses

func (m *Decorator) Validate() error

Validate checks the field values on Decorator with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DecoratorValidationError Uses

type DecoratorValidationError struct {
    // contains filtered or unexported fields
}

DecoratorValidationError is the validation error returned by Decorator.Validate if the designated constraints aren't met.

func (DecoratorValidationError) Cause Uses

func (e DecoratorValidationError) Cause() error

Cause function returns cause value.

func (DecoratorValidationError) Error Uses

func (e DecoratorValidationError) Error() string

Error satisfies the builtin error interface

func (DecoratorValidationError) ErrorName Uses

func (e DecoratorValidationError) ErrorName() string

ErrorName returns error name.

func (DecoratorValidationError) Field Uses

func (e DecoratorValidationError) Field() string

Field function returns field value.

func (DecoratorValidationError) Key Uses

func (e DecoratorValidationError) Key() bool

Key function returns key value.

func (DecoratorValidationError) Reason Uses

func (e DecoratorValidationError) Reason() string

Reason function returns reason value.

type DirectResponseAction Uses

type DirectResponseAction struct {

    // Specifies the HTTP response status to be returned.
    Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
    // Specifies the content of the response body. If this setting is omitted,
    // no body is included in the generated response.
    //
    // .. note::
    //
    //   Headers can be specified using *response_headers_to_add* in the enclosing
    //   :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.RouteConfiguration` or
    //   :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`.
    Body *v4alpha.DataSource `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
    // contains filtered or unexported fields
}

func (*DirectResponseAction) Descriptor Uses

func (*DirectResponseAction) Descriptor() ([]byte, []int)

Deprecated: Use DirectResponseAction.ProtoReflect.Descriptor instead.

func (*DirectResponseAction) GetBody Uses

func (x *DirectResponseAction) GetBody() *v4alpha.DataSource

func (*DirectResponseAction) GetStatus Uses

func (x *DirectResponseAction) GetStatus() uint32

func (*DirectResponseAction) ProtoMessage Uses

func (*DirectResponseAction) ProtoMessage()

func (*DirectResponseAction) ProtoReflect Uses

func (x *DirectResponseAction) ProtoReflect() protoreflect.Message

func (*DirectResponseAction) Reset Uses

func (x *DirectResponseAction) Reset()

func (*DirectResponseAction) String Uses

func (x *DirectResponseAction) String() string

func (*DirectResponseAction) Validate Uses

func (m *DirectResponseAction) Validate() error

Validate checks the field values on DirectResponseAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DirectResponseActionValidationError Uses

type DirectResponseActionValidationError struct {
    // contains filtered or unexported fields
}

DirectResponseActionValidationError is the validation error returned by DirectResponseAction.Validate if the designated constraints aren't met.

func (DirectResponseActionValidationError) Cause Uses

func (e DirectResponseActionValidationError) Cause() error

Cause function returns cause value.

func (DirectResponseActionValidationError) Error Uses

func (e DirectResponseActionValidationError) Error() string

Error satisfies the builtin error interface

func (DirectResponseActionValidationError) ErrorName Uses

func (e DirectResponseActionValidationError) ErrorName() string

ErrorName returns error name.

func (DirectResponseActionValidationError) Field Uses

func (e DirectResponseActionValidationError) Field() string

Field function returns field value.

func (DirectResponseActionValidationError) Key Uses

func (e DirectResponseActionValidationError) Key() bool

Key function returns key value.

func (DirectResponseActionValidationError) Reason Uses

func (e DirectResponseActionValidationError) Reason() string

Reason function returns reason value.

type FilterAction Uses

type FilterAction struct {
    Action *any.Any `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
    // contains filtered or unexported fields
}

A filter-defined action type.

func (*FilterAction) Descriptor Uses

func (*FilterAction) Descriptor() ([]byte, []int)

Deprecated: Use FilterAction.ProtoReflect.Descriptor instead.

func (*FilterAction) GetAction Uses

func (x *FilterAction) GetAction() *any.Any

func (*FilterAction) ProtoMessage Uses

func (*FilterAction) ProtoMessage()

func (*FilterAction) ProtoReflect Uses

func (x *FilterAction) ProtoReflect() protoreflect.Message

func (*FilterAction) Reset Uses

func (x *FilterAction) Reset()

func (*FilterAction) String Uses

func (x *FilterAction) String() string

func (*FilterAction) Validate Uses

func (m *FilterAction) Validate() error

Validate checks the field values on FilterAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type FilterActionValidationError Uses

type FilterActionValidationError struct {
    // contains filtered or unexported fields
}

FilterActionValidationError is the validation error returned by FilterAction.Validate if the designated constraints aren't met.

func (FilterActionValidationError) Cause Uses

func (e FilterActionValidationError) Cause() error

Cause function returns cause value.

func (FilterActionValidationError) Error Uses

func (e FilterActionValidationError) Error() string

Error satisfies the builtin error interface

func (FilterActionValidationError) ErrorName Uses

func (e FilterActionValidationError) ErrorName() string

ErrorName returns error name.

func (FilterActionValidationError) Field Uses

func (e FilterActionValidationError) Field() string

Field function returns field value.

func (FilterActionValidationError) Key Uses

func (e FilterActionValidationError) Key() bool

Key function returns key value.

func (FilterActionValidationError) Reason Uses

func (e FilterActionValidationError) Reason() string

Reason function returns reason value.

type HeaderMatcher Uses

type HeaderMatcher struct {

    // Specifies the name of the header in the request.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Specifies how the header match will be performed to route the request.
    //
    // Types that are assignable to HeaderMatchSpecifier:
    //	*HeaderMatcher_ExactMatch
    //	*HeaderMatcher_SafeRegexMatch
    //	*HeaderMatcher_RangeMatch
    //	*HeaderMatcher_PresentMatch
    //	*HeaderMatcher_PrefixMatch
    //	*HeaderMatcher_SuffixMatch
    //	*HeaderMatcher_ContainsMatch
    HeaderMatchSpecifier isHeaderMatcher_HeaderMatchSpecifier `protobuf_oneof:"header_match_specifier"`
    // If specified, the match result will be inverted before checking. Defaults to false.
    //
    // Examples:
    //
    // * The regex ``\d{3}`` does not match the value *1234*, so it will match when inverted.
    // * The range [-10,0) will match the value -1, so it will not match when inverted.
    InvertMatch bool `protobuf:"varint,8,opt,name=invert_match,json=invertMatch,proto3" json:"invert_match,omitempty"`
    // contains filtered or unexported fields
}

.. attention::

Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host*
header. Thus, if attempting to match on *Host*, match on *:authority* instead.

.. attention::

To route on HTTP method, use the special HTTP/2 *:method* header. This works for both
HTTP/1 and HTTP/2 as Envoy normalizes headers. E.g.,

.. code-block:: json

  {
    "name": ":method",
    "exact_match": "POST"
  }

.. attention::

 In the absence of any header match specifier, match will default to :ref:`present_match
 <envoy_api_field_config.route.v4alpha.HeaderMatcher.present_match>`. i.e, a request that has the :ref:`name
 <envoy_api_field_config.route.v4alpha.HeaderMatcher.name>` header will match, regardless of the header's
 value.

[#next-major-version: HeaderMatcher should be refactored to use StringMatcher.]

[#next-free-field: 13]

func (*HeaderMatcher) Descriptor Uses

func (*HeaderMatcher) Descriptor() ([]byte, []int)

Deprecated: Use HeaderMatcher.ProtoReflect.Descriptor instead.

func (*HeaderMatcher) GetContainsMatch Uses

func (x *HeaderMatcher) GetContainsMatch() string

func (*HeaderMatcher) GetExactMatch Uses

func (x *HeaderMatcher) GetExactMatch() string

func (*HeaderMatcher) GetHeaderMatchSpecifier Uses

func (m *HeaderMatcher) GetHeaderMatchSpecifier() isHeaderMatcher_HeaderMatchSpecifier

func (*HeaderMatcher) GetInvertMatch Uses

func (x *HeaderMatcher) GetInvertMatch() bool

func (*HeaderMatcher) GetName Uses

func (x *HeaderMatcher) GetName() string

func (*HeaderMatcher) GetPrefixMatch Uses

func (x *HeaderMatcher) GetPrefixMatch() string

func (*HeaderMatcher) GetPresentMatch Uses

func (x *HeaderMatcher) GetPresentMatch() bool

func (*HeaderMatcher) GetRangeMatch Uses

func (x *HeaderMatcher) GetRangeMatch() *v3.Int64Range

func (*HeaderMatcher) GetSafeRegexMatch Uses

func (x *HeaderMatcher) GetSafeRegexMatch() *v4alpha1.RegexMatcher

func (*HeaderMatcher) GetSuffixMatch Uses

func (x *HeaderMatcher) GetSuffixMatch() string

func (*HeaderMatcher) ProtoMessage Uses

func (*HeaderMatcher) ProtoMessage()

func (*HeaderMatcher) ProtoReflect Uses

func (x *HeaderMatcher) ProtoReflect() protoreflect.Message

func (*HeaderMatcher) Reset Uses

func (x *HeaderMatcher) Reset()

func (*HeaderMatcher) String Uses

func (x *HeaderMatcher) String() string

func (*HeaderMatcher) Validate Uses

func (m *HeaderMatcher) Validate() error

Validate checks the field values on HeaderMatcher with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type HeaderMatcherValidationError Uses

type HeaderMatcherValidationError struct {
    // contains filtered or unexported fields
}

HeaderMatcherValidationError is the validation error returned by HeaderMatcher.Validate if the designated constraints aren't met.

func (HeaderMatcherValidationError) Cause Uses

func (e HeaderMatcherValidationError) Cause() error

Cause function returns cause value.

func (HeaderMatcherValidationError) Error Uses

func (e HeaderMatcherValidationError) Error() string

Error satisfies the builtin error interface

func (HeaderMatcherValidationError) ErrorName Uses

func (e HeaderMatcherValidationError) ErrorName() string

ErrorName returns error name.

func (HeaderMatcherValidationError) Field Uses

func (e HeaderMatcherValidationError) Field() string

Field function returns field value.

func (HeaderMatcherValidationError) Key Uses

func (e HeaderMatcherValidationError) Key() bool

Key function returns key value.

func (HeaderMatcherValidationError) Reason Uses

func (e HeaderMatcherValidationError) Reason() string

Reason function returns reason value.

type HeaderMatcher_ContainsMatch Uses

type HeaderMatcher_ContainsMatch struct {
    // If specified, header match will be performed based on whether the header value contains
    // the given value or not.
    // Note: empty contains match is not allowed, please use present_match instead.
    //
    // Examples:
    //
    // * The value *abcd* matches the value *xyzabcdpqr*, but not for *xyzbcdpqr*.
    ContainsMatch string `protobuf:"bytes,12,opt,name=contains_match,json=containsMatch,proto3,oneof"`
}

type HeaderMatcher_ExactMatch Uses

type HeaderMatcher_ExactMatch struct {
    // If specified, header match will be performed based on the value of the header.
    ExactMatch string `protobuf:"bytes,4,opt,name=exact_match,json=exactMatch,proto3,oneof"`
}

type HeaderMatcher_PrefixMatch Uses

type HeaderMatcher_PrefixMatch struct {
    // If specified, header match will be performed based on the prefix of the header value.
    // Note: empty prefix is not allowed, please use present_match instead.
    //
    // Examples:
    //
    // * The prefix *abcd* matches the value *abcdxyz*, but not for *abcxyz*.
    PrefixMatch string `protobuf:"bytes,9,opt,name=prefix_match,json=prefixMatch,proto3,oneof"`
}

type HeaderMatcher_PresentMatch Uses

type HeaderMatcher_PresentMatch struct {
    // If specified, header match will be performed based on whether the header is in the
    // request.
    PresentMatch bool `protobuf:"varint,7,opt,name=present_match,json=presentMatch,proto3,oneof"`
}

type HeaderMatcher_RangeMatch Uses

type HeaderMatcher_RangeMatch struct {
    // If specified, header match will be performed based on range.
    // The rule will match if the request header value is within this range.
    // The entire request header value must represent an integer in base 10 notation: consisting of
    // an optional plus or minus sign followed by a sequence of digits. The rule will not match if
    // the header value does not represent an integer. Match will fail for empty values, floating
    // point numbers or if only a subsequence of the header value is an integer.
    //
    // Examples:
    //
    // * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9,
    //   "-1somestring"
    RangeMatch *v3.Int64Range `protobuf:"bytes,6,opt,name=range_match,json=rangeMatch,proto3,oneof"`
}

type HeaderMatcher_SafeRegexMatch Uses

type HeaderMatcher_SafeRegexMatch struct {
    // If specified, this regex string is a regular expression rule which implies the entire request
    // header value must match the regex. The rule will not match if only a subsequence of the
    // request header value matches the regex.
    SafeRegexMatch *v4alpha1.RegexMatcher `protobuf:"bytes,11,opt,name=safe_regex_match,json=safeRegexMatch,proto3,oneof"`
}

type HeaderMatcher_SuffixMatch Uses

type HeaderMatcher_SuffixMatch struct {
    // If specified, header match will be performed based on the suffix of the header value.
    // Note: empty suffix is not allowed, please use present_match instead.
    //
    // Examples:
    //
    // * The suffix *abcd* matches the value *xyzabcd*, but not for *xyzbcd*.
    SuffixMatch string `protobuf:"bytes,10,opt,name=suffix_match,json=suffixMatch,proto3,oneof"`
}

type HedgePolicy Uses

type HedgePolicy struct {

    // Specifies the number of initial requests that should be sent upstream.
    // Must be at least 1.
    // Defaults to 1.
    // [#not-implemented-hide:]
    InitialRequests *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=initial_requests,json=initialRequests,proto3" json:"initial_requests,omitempty"`
    // Specifies a probability that an additional upstream request should be sent
    // on top of what is specified by initial_requests.
    // Defaults to 0.
    // [#not-implemented-hide:]
    AdditionalRequestChance *v3.FractionalPercent `protobuf:"bytes,2,opt,name=additional_request_chance,json=additionalRequestChance,proto3" json:"additional_request_chance,omitempty"`
    // Indicates that a hedged request should be sent when the per-try timeout is hit.
    // This means that a retry will be issued without resetting the original request, leaving multiple upstream requests in flight.
    // The first request to complete successfully will be the one returned to the caller.
    //
    // * At any time, a successful response (i.e. not triggering any of the retry-on conditions) would be returned to the client.
    // * Before per-try timeout, an error response (per retry-on conditions) would be retried immediately or returned ot the client
    //   if there are no more retries left.
    // * After per-try timeout, an error response would be discarded, as a retry in the form of a hedged request is already in progress.
    //
    // Note: For this to have effect, you must have a :ref:`RetryPolicy <envoy_api_msg_config.route.v4alpha.RetryPolicy>` that retries at least
    // one error code and specifies a maximum number of retries.
    //
    // Defaults to false.
    HedgeOnPerTryTimeout bool `protobuf:"varint,3,opt,name=hedge_on_per_try_timeout,json=hedgeOnPerTryTimeout,proto3" json:"hedge_on_per_try_timeout,omitempty"`
    // contains filtered or unexported fields
}

HTTP request hedging :ref:`architecture overview <arch_overview_http_routing_hedging>`.

func (*HedgePolicy) Descriptor Uses

func (*HedgePolicy) Descriptor() ([]byte, []int)

Deprecated: Use HedgePolicy.ProtoReflect.Descriptor instead.

func (*HedgePolicy) GetAdditionalRequestChance Uses

func (x *HedgePolicy) GetAdditionalRequestChance() *v3.FractionalPercent

func (*HedgePolicy) GetHedgeOnPerTryTimeout Uses

func (x *HedgePolicy) GetHedgeOnPerTryTimeout() bool

func (*HedgePolicy) GetInitialRequests Uses

func (x *HedgePolicy) GetInitialRequests() *wrappers.UInt32Value

func (*HedgePolicy) ProtoMessage Uses

func (*HedgePolicy) ProtoMessage()

func (*HedgePolicy) ProtoReflect Uses

func (x *HedgePolicy) ProtoReflect() protoreflect.Message

func (*HedgePolicy) Reset Uses

func (x *HedgePolicy) Reset()

func (*HedgePolicy) String Uses

func (x *HedgePolicy) String() string

func (*HedgePolicy) Validate Uses

func (m *HedgePolicy) Validate() error

Validate checks the field values on HedgePolicy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type HedgePolicyValidationError Uses

type HedgePolicyValidationError struct {
    // contains filtered or unexported fields
}

HedgePolicyValidationError is the validation error returned by HedgePolicy.Validate if the designated constraints aren't met.

func (HedgePolicyValidationError) Cause Uses

func (e HedgePolicyValidationError) Cause() error

Cause function returns cause value.

func (HedgePolicyValidationError) Error Uses

func (e HedgePolicyValidationError) Error() string

Error satisfies the builtin error interface

func (HedgePolicyValidationError) ErrorName Uses

func (e HedgePolicyValidationError) ErrorName() string

ErrorName returns error name.

func (HedgePolicyValidationError) Field Uses

func (e HedgePolicyValidationError) Field() string

Field function returns field value.

func (HedgePolicyValidationError) Key Uses

func (e HedgePolicyValidationError) Key() bool

Key function returns key value.

func (HedgePolicyValidationError) Reason Uses

func (e HedgePolicyValidationError) Reason() string

Reason function returns reason value.

type InternalRedirectPolicy Uses

type InternalRedirectPolicy struct {

    // An internal redirect is not handled, unless the number of previous internal redirects that a
    // downstream request has encountered is lower than this value.
    // In the case where a downstream request is bounced among multiple routes by internal redirect,
    // the first route that hits this threshold, or does not set :ref:`internal_redirect_policy
    // <envoy_api_field_config.route.v4alpha.RouteAction.internal_redirect_policy>`
    // will pass the redirect back to downstream.
    //
    // If not specified, at most one redirect will be followed.
    MaxInternalRedirects *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=max_internal_redirects,json=maxInternalRedirects,proto3" json:"max_internal_redirects,omitempty"`
    // Defines what upstream response codes are allowed to trigger internal redirect. If unspecified,
    // only 302 will be treated as internal redirect.
    // Only 301, 302, 303, 307 and 308 are valid values. Any other codes will be ignored.
    RedirectResponseCodes []uint32 `protobuf:"varint,2,rep,packed,name=redirect_response_codes,json=redirectResponseCodes,proto3" json:"redirect_response_codes,omitempty"`
    // Specifies a list of predicates that are queried when an upstream response is deemed
    // to trigger an internal redirect by all other criteria. Any predicate in the list can reject
    // the redirect, causing the response to be proxied to downstream.
    Predicates []*v4alpha.TypedExtensionConfig `protobuf:"bytes,3,rep,name=predicates,proto3" json:"predicates,omitempty"`
    // Allow internal redirect to follow a target URI with a different scheme than the value of
    // x-forwarded-proto. The default is false.
    AllowCrossSchemeRedirect bool `protobuf:"varint,4,opt,name=allow_cross_scheme_redirect,json=allowCrossSchemeRedirect,proto3" json:"allow_cross_scheme_redirect,omitempty"`
    // contains filtered or unexported fields
}

HTTP Internal Redirect :ref:`architecture overview <arch_overview_internal_redirects>`.

func (*InternalRedirectPolicy) Descriptor Uses

func (*InternalRedirectPolicy) Descriptor() ([]byte, []int)

Deprecated: Use InternalRedirectPolicy.ProtoReflect.Descriptor instead.

func (*InternalRedirectPolicy) GetAllowCrossSchemeRedirect Uses

func (x *InternalRedirectPolicy) GetAllowCrossSchemeRedirect() bool

func (*InternalRedirectPolicy) GetMaxInternalRedirects Uses

func (x *InternalRedirectPolicy) GetMaxInternalRedirects() *wrappers.UInt32Value

func (*InternalRedirectPolicy) GetPredicates Uses

func (x *InternalRedirectPolicy) GetPredicates() []*v4alpha.TypedExtensionConfig

func (*InternalRedirectPolicy) GetRedirectResponseCodes Uses

func (x *InternalRedirectPolicy) GetRedirectResponseCodes() []uint32

func (*InternalRedirectPolicy) ProtoMessage Uses

func (*InternalRedirectPolicy) ProtoMessage()

func (*InternalRedirectPolicy) ProtoReflect Uses

func (x *InternalRedirectPolicy) ProtoReflect() protoreflect.Message

func (*InternalRedirectPolicy) Reset Uses

func (x *InternalRedirectPolicy) Reset()

func (*InternalRedirectPolicy) String Uses

func (x *InternalRedirectPolicy) String() string

func (*InternalRedirectPolicy) Validate Uses

func (m *InternalRedirectPolicy) Validate() error

Validate checks the field values on InternalRedirectPolicy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type InternalRedirectPolicyValidationError Uses

type InternalRedirectPolicyValidationError struct {
    // contains filtered or unexported fields
}

InternalRedirectPolicyValidationError is the validation error returned by InternalRedirectPolicy.Validate if the designated constraints aren't met.

func (InternalRedirectPolicyValidationError) Cause Uses

func (e InternalRedirectPolicyValidationError) Cause() error

Cause function returns cause value.

func (InternalRedirectPolicyValidationError) Error Uses

func (e InternalRedirectPolicyValidationError) Error() string

Error satisfies the builtin error interface

func (InternalRedirectPolicyValidationError) ErrorName Uses

func (e InternalRedirectPolicyValidationError) ErrorName() string

ErrorName returns error name.

func (InternalRedirectPolicyValidationError) Field Uses

func (e InternalRedirectPolicyValidationError) Field() string

Field function returns field value.

func (InternalRedirectPolicyValidationError) Key Uses

func (e InternalRedirectPolicyValidationError) Key() bool

Key function returns key value.

func (InternalRedirectPolicyValidationError) Reason Uses

func (e InternalRedirectPolicyValidationError) Reason() string

Reason function returns reason value.

type QueryParameterMatcher Uses

type QueryParameterMatcher struct {

    // Specifies the name of a key that must be present in the requested
    // *path*'s query string.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Types that are assignable to QueryParameterMatchSpecifier:
    //	*QueryParameterMatcher_StringMatch
    //	*QueryParameterMatcher_PresentMatch
    QueryParameterMatchSpecifier isQueryParameterMatcher_QueryParameterMatchSpecifier `protobuf_oneof:"query_parameter_match_specifier"`
    // contains filtered or unexported fields
}

Query parameter matching treats the query string of a request's :path header as an ampersand-separated list of keys and/or key=value elements. [#next-free-field: 7]

func (*QueryParameterMatcher) Descriptor Uses

func (*QueryParameterMatcher) Descriptor() ([]byte, []int)

Deprecated: Use QueryParameterMatcher.ProtoReflect.Descriptor instead.

func (*QueryParameterMatcher) GetName Uses

func (x *QueryParameterMatcher) GetName() string

func (*QueryParameterMatcher) GetPresentMatch Uses

func (x *QueryParameterMatcher) GetPresentMatch() bool

func (*QueryParameterMatcher) GetQueryParameterMatchSpecifier Uses

func (m *QueryParameterMatcher) GetQueryParameterMatchSpecifier() isQueryParameterMatcher_QueryParameterMatchSpecifier

func (*QueryParameterMatcher) GetStringMatch Uses

func (x *QueryParameterMatcher) GetStringMatch() *v4alpha1.StringMatcher

func (*QueryParameterMatcher) ProtoMessage Uses

func (*QueryParameterMatcher) ProtoMessage()

func (*QueryParameterMatcher) ProtoReflect Uses

func (x *QueryParameterMatcher) ProtoReflect() protoreflect.Message

func (*QueryParameterMatcher) Reset Uses

func (x *QueryParameterMatcher) Reset()

func (*QueryParameterMatcher) String Uses

func (x *QueryParameterMatcher) String() string

func (*QueryParameterMatcher) Validate Uses

func (m *QueryParameterMatcher) Validate() error

Validate checks the field values on QueryParameterMatcher with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type QueryParameterMatcherValidationError Uses

type QueryParameterMatcherValidationError struct {
    // contains filtered or unexported fields
}

QueryParameterMatcherValidationError is the validation error returned by QueryParameterMatcher.Validate if the designated constraints aren't met.

func (QueryParameterMatcherValidationError) Cause Uses

func (e QueryParameterMatcherValidationError) Cause() error

Cause function returns cause value.

func (QueryParameterMatcherValidationError) Error Uses

func (e QueryParameterMatcherValidationError) Error() string

Error satisfies the builtin error interface

func (QueryParameterMatcherValidationError) ErrorName Uses

func (e QueryParameterMatcherValidationError) ErrorName() string

ErrorName returns error name.

func (QueryParameterMatcherValidationError) Field Uses

func (e QueryParameterMatcherValidationError) Field() string

Field function returns field value.

func (QueryParameterMatcherValidationError) Key Uses

func (e QueryParameterMatcherValidationError) Key() bool

Key function returns key value.

func (QueryParameterMatcherValidationError) Reason Uses

func (e QueryParameterMatcherValidationError) Reason() string

Reason function returns reason value.

type QueryParameterMatcher_PresentMatch Uses

type QueryParameterMatcher_PresentMatch struct {
    // Specifies whether a query parameter should be present.
    PresentMatch bool `protobuf:"varint,6,opt,name=present_match,json=presentMatch,proto3,oneof"`
}

type QueryParameterMatcher_StringMatch Uses

type QueryParameterMatcher_StringMatch struct {
    // Specifies whether a query parameter value should match against a string.
    StringMatch *v4alpha1.StringMatcher `protobuf:"bytes,5,opt,name=string_match,json=stringMatch,proto3,oneof"`
}

type RateLimit Uses

type RateLimit struct {

    // Refers to the stage set in the filter. The rate limit configuration only
    // applies to filters with the same stage number. The default stage number is
    // 0.
    //
    // .. note::
    //
    //   The filter supports a range of 0 - 10 inclusively for stage numbers.
    Stage *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=stage,proto3" json:"stage,omitempty"`
    // The key to be set in runtime to disable this rate limit configuration.
    DisableKey string `protobuf:"bytes,2,opt,name=disable_key,json=disableKey,proto3" json:"disable_key,omitempty"`
    // A list of actions that are to be applied for this rate limit configuration.
    // Order matters as the actions are processed sequentially and the descriptor
    // is composed by appending descriptor entries in that sequence. If an action
    // cannot append a descriptor entry, no descriptor is generated for the
    // configuration. See :ref:`composing actions
    // <config_http_filters_rate_limit_composing_actions>` for additional documentation.
    Actions []*RateLimit_Action `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
    // An optional limit override to be appended to the descriptor produced by this
    // rate limit configuration. If the override value is invalid or cannot be resolved
    // from metadata, no override is provided. See :ref:`rate limit override
    // <config_http_filters_rate_limit_rate_limit_override>` for more information.
    Limit *RateLimit_Override `protobuf:"bytes,4,opt,name=limit,proto3" json:"limit,omitempty"`
    // contains filtered or unexported fields
}

Global rate limiting :ref:`architecture overview <arch_overview_global_rate_limit>`. Also applies to Local rate limiting :ref:`using descriptors <config_http_filters_local_rate_limit_descriptors>`.

func (*RateLimit) Descriptor Uses

func (*RateLimit) Descriptor() ([]byte, []int)

Deprecated: Use RateLimit.ProtoReflect.Descriptor instead.

func (*RateLimit) GetActions Uses

func (x *RateLimit) GetActions() []*RateLimit_Action

func (*RateLimit) GetDisableKey Uses

func (x *RateLimit) GetDisableKey() string

func (*RateLimit) GetLimit Uses

func (x *RateLimit) GetLimit() *RateLimit_Override

func (*RateLimit) GetStage Uses

func (x *RateLimit) GetStage() *wrappers.UInt32Value

func (*RateLimit) ProtoMessage Uses

func (*RateLimit) ProtoMessage()

func (*RateLimit) ProtoReflect Uses

func (x *RateLimit) ProtoReflect() protoreflect.Message

func (*RateLimit) Reset Uses

func (x *RateLimit) Reset()

func (*RateLimit) String Uses

func (x *RateLimit) String() string

func (*RateLimit) Validate Uses

func (m *RateLimit) Validate() error

Validate checks the field values on RateLimit with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RateLimitValidationError Uses

type RateLimitValidationError struct {
    // contains filtered or unexported fields
}

RateLimitValidationError is the validation error returned by RateLimit.Validate if the designated constraints aren't met.

func (RateLimitValidationError) Cause Uses

func (e RateLimitValidationError) Cause() error

Cause function returns cause value.

func (RateLimitValidationError) Error Uses

func (e RateLimitValidationError) Error() string

Error satisfies the builtin error interface

func (RateLimitValidationError) ErrorName Uses

func (e RateLimitValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimitValidationError) Field Uses

func (e RateLimitValidationError) Field() string

Field function returns field value.

func (RateLimitValidationError) Key Uses

func (e RateLimitValidationError) Key() bool

Key function returns key value.

func (RateLimitValidationError) Reason Uses

func (e RateLimitValidationError) Reason() string

Reason function returns reason value.

type RateLimit_Action Uses

type RateLimit_Action struct {

    // Types that are assignable to ActionSpecifier:
    //	*RateLimit_Action_SourceCluster_
    //	*RateLimit_Action_DestinationCluster_
    //	*RateLimit_Action_RequestHeaders_
    //	*RateLimit_Action_RemoteAddress_
    //	*RateLimit_Action_GenericKey_
    //	*RateLimit_Action_HeaderValueMatch_
    //	*RateLimit_Action_HiddenEnvoyDeprecatedDynamicMetadata
    //	*RateLimit_Action_Metadata
    //	*RateLimit_Action_Extension
    ActionSpecifier isRateLimit_Action_ActionSpecifier `protobuf_oneof:"action_specifier"`
    // contains filtered or unexported fields
}

[#next-free-field: 10]

func (*RateLimit_Action) Descriptor Uses

func (*RateLimit_Action) Descriptor() ([]byte, []int)

Deprecated: Use RateLimit_Action.ProtoReflect.Descriptor instead.

func (*RateLimit_Action) GetActionSpecifier Uses

func (m *RateLimit_Action) GetActionSpecifier() isRateLimit_Action_ActionSpecifier

func (*RateLimit_Action) GetDestinationCluster Uses

func (x *RateLimit_Action) GetDestinationCluster() *RateLimit_Action_DestinationCluster

func (*RateLimit_Action) GetExtension Uses

func (x *RateLimit_Action) GetExtension() *v4alpha.TypedExtensionConfig

func (*RateLimit_Action) GetGenericKey Uses

func (x *RateLimit_Action) GetGenericKey() *RateLimit_Action_GenericKey

func (*RateLimit_Action) GetHeaderValueMatch Uses

func (x *RateLimit_Action) GetHeaderValueMatch() *RateLimit_Action_HeaderValueMatch

func (*RateLimit_Action) GetHiddenEnvoyDeprecatedDynamicMetadata Uses

func (x *RateLimit_Action) GetHiddenEnvoyDeprecatedDynamicMetadata() *RateLimit_Action_DynamicMetaData

Deprecated: Do not use.

func (*RateLimit_Action) GetMetadata Uses

func (x *RateLimit_Action) GetMetadata() *RateLimit_Action_MetaData

func (*RateLimit_Action) GetRemoteAddress Uses

func (x *RateLimit_Action) GetRemoteAddress() *RateLimit_Action_RemoteAddress

func (*RateLimit_Action) GetRequestHeaders Uses

func (x *RateLimit_Action) GetRequestHeaders() *RateLimit_Action_RequestHeaders

func (*RateLimit_Action) GetSourceCluster Uses

func (x *RateLimit_Action) GetSourceCluster() *RateLimit_Action_SourceCluster

func (*RateLimit_Action) ProtoMessage Uses

func (*RateLimit_Action) ProtoMessage()

func (*RateLimit_Action) ProtoReflect Uses

func (x *RateLimit_Action) ProtoReflect() protoreflect.Message

func (*RateLimit_Action) Reset Uses

func (x *RateLimit_Action) Reset()

func (*RateLimit_Action) String Uses

func (x *RateLimit_Action) String() string

func (*RateLimit_Action) Validate Uses

func (m *RateLimit_Action) Validate() error

Validate checks the field values on RateLimit_Action with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RateLimit_ActionValidationError Uses

type RateLimit_ActionValidationError struct {
    // contains filtered or unexported fields
}

RateLimit_ActionValidationError is the validation error returned by RateLimit_Action.Validate if the designated constraints aren't met.

func (RateLimit_ActionValidationError) Cause Uses

func (e RateLimit_ActionValidationError) Cause() error

Cause function returns cause value.

func (RateLimit_ActionValidationError) Error Uses

func (e RateLimit_ActionValidationError) Error() string

Error satisfies the builtin error interface

func (RateLimit_ActionValidationError) ErrorName Uses

func (e RateLimit_ActionValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimit_ActionValidationError) Field Uses

func (e RateLimit_ActionValidationError) Field() string

Field function returns field value.

func (RateLimit_ActionValidationError) Key Uses

func (e RateLimit_ActionValidationError) Key() bool

Key function returns key value.

func (RateLimit_ActionValidationError) Reason Uses

func (e RateLimit_ActionValidationError) Reason() string

Reason function returns reason value.

type RateLimit_Action_DestinationCluster Uses

type RateLimit_Action_DestinationCluster struct {
    // contains filtered or unexported fields
}

The following descriptor entry is appended to the descriptor:

.. code-block:: cpp

("destination_cluster", "<routed target cluster>")

Once a request matches against a route table rule, a routed cluster is determined by one of the following :ref:`route table configuration <envoy_api_msg_config.route.v4alpha.RouteConfiguration>` settings:

* :ref:`cluster <envoy_api_field_config.route.v4alpha.RouteAction.cluster>` indicates the upstream cluster

to route to.

* :ref:`weighted_clusters <envoy_api_field_config.route.v4alpha.RouteAction.weighted_clusters>`

chooses a cluster randomly from a set of clusters with attributed weight.

* :ref:`cluster_header <envoy_api_field_config.route.v4alpha.RouteAction.cluster_header>` indicates which

header in the request contains the target cluster.

func (*RateLimit_Action_DestinationCluster) Descriptor Uses

func (*RateLimit_Action_DestinationCluster) Descriptor() ([]byte, []int)

Deprecated: Use RateLimit_Action_DestinationCluster.ProtoReflect.Descriptor instead.

func (*RateLimit_Action_DestinationCluster) ProtoMessage Uses

func (*RateLimit_Action_DestinationCluster) ProtoMessage()

func (*RateLimit_Action_DestinationCluster) ProtoReflect Uses

func (x *RateLimit_Action_DestinationCluster) ProtoReflect() protoreflect.Message

func (*RateLimit_Action_DestinationCluster) Reset Uses

func (x *RateLimit_Action_DestinationCluster) Reset()

func (*RateLimit_Action_DestinationCluster) String Uses

func (x *RateLimit_Action_DestinationCluster) String() string

func (*RateLimit_Action_DestinationCluster) Validate Uses

func (m *RateLimit_Action_DestinationCluster) Validate() error

Validate checks the field values on RateLimit_Action_DestinationCluster with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RateLimit_Action_DestinationClusterValidationError Uses

type RateLimit_Action_DestinationClusterValidationError struct {
    // contains filtered or unexported fields
}

RateLimit_Action_DestinationClusterValidationError is the validation error returned by RateLimit_Action_DestinationCluster.Validate if the designated constraints aren't met.

func (RateLimit_Action_DestinationClusterValidationError) Cause Uses

func (e RateLimit_Action_DestinationClusterValidationError) Cause() error

Cause function returns cause value.

func (RateLimit_Action_DestinationClusterValidationError) Error Uses

func (e RateLimit_Action_DestinationClusterValidationError) Error() string

Error satisfies the builtin error interface

func (RateLimit_Action_DestinationClusterValidationError) ErrorName Uses

func (e RateLimit_Action_DestinationClusterValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimit_Action_DestinationClusterValidationError) Field Uses

func (e RateLimit_Action_DestinationClusterValidationError) Field() string

Field function returns field value.

func (RateLimit_Action_DestinationClusterValidationError) Key Uses

func (e RateLimit_Action_DestinationClusterValidationError) Key() bool

Key function returns key value.

func (RateLimit_Action_DestinationClusterValidationError) Reason Uses

func (e RateLimit_Action_DestinationClusterValidationError) Reason() string

Reason function returns reason value.

type RateLimit_Action_DestinationCluster_ Uses

type RateLimit_Action_DestinationCluster_ struct {
    // Rate limit on destination cluster.
    DestinationCluster *RateLimit_Action_DestinationCluster `protobuf:"bytes,2,opt,name=destination_cluster,json=destinationCluster,proto3,oneof"`
}

type RateLimit_Action_DynamicMetaData Uses

type RateLimit_Action_DynamicMetaData struct {

    // The key to use in the descriptor entry.
    DescriptorKey string `protobuf:"bytes,1,opt,name=descriptor_key,json=descriptorKey,proto3" json:"descriptor_key,omitempty"`
    // Metadata struct that defines the key and path to retrieve the string value. A match will
    // only happen if the value in the dynamic metadata is of type string.
    MetadataKey *v32.MetadataKey `protobuf:"bytes,2,opt,name=metadata_key,json=metadataKey,proto3" json:"metadata_key,omitempty"`
    // An optional value to use if *metadata_key* is empty. If not set and
    // no value is present under the metadata_key then no descriptor is generated.
    DefaultValue string `protobuf:"bytes,3,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
    // contains filtered or unexported fields
}

The following descriptor entry is appended when the :ref:`dynamic metadata <well_known_dynamic_metadata>` contains a key value:

.. code-block:: cpp

("<descriptor_key>", "<value_queried_from_dynamic_metadata>")

.. attention::

This action has been deprecated in favor of the :ref:`metadata <envoy_api_msg_config.route.v4alpha.RateLimit.Action.MetaData>` action

func (*RateLimit_Action_DynamicMetaData) Descriptor Uses

func (*RateLimit_Action_DynamicMetaData) Descriptor() ([]byte, []int)

Deprecated: Use RateLimit_Action_DynamicMetaData.ProtoReflect.Descriptor instead.

func (*RateLimit_Action_DynamicMetaData) GetDefaultValue Uses

func (x *RateLimit_Action_DynamicMetaData) GetDefaultValue() string

func (*RateLimit_Action_DynamicMetaData) GetDescriptorKey Uses

func (x *RateLimit_Action_DynamicMetaData) GetDescriptorKey() string

func (*RateLimit_Action_DynamicMetaData) GetMetadataKey Uses

func (x *RateLimit_Action_DynamicMetaData) GetMetadataKey() *v32.MetadataKey

func (*RateLimit_Action_DynamicMetaData) ProtoMessage Uses

func (*RateLimit_Action_DynamicMetaData) ProtoMessage()

func (*RateLimit_Action_DynamicMetaData) ProtoReflect Uses

func (x *RateLimit_Action_DynamicMetaData) ProtoReflect() protoreflect.Message

func (*RateLimit_Action_DynamicMetaData) Reset Uses

func (x *RateLimit_Action_DynamicMetaData) Reset()

func (*RateLimit_Action_DynamicMetaData) String Uses

func (x *RateLimit_Action_DynamicMetaData) String() string

func (*RateLimit_Action_DynamicMetaData) Validate Uses

func (m *RateLimit_Action_DynamicMetaData) Validate() error

Validate checks the field values on RateLimit_Action_DynamicMetaData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RateLimit_Action_DynamicMetaDataValidationError Uses

type RateLimit_Action_DynamicMetaDataValidationError struct {
    // contains filtered or unexported fields
}

RateLimit_Action_DynamicMetaDataValidationError is the validation error returned by RateLimit_Action_DynamicMetaData.Validate if the designated constraints aren't met.

func (RateLimit_Action_DynamicMetaDataValidationError) Cause Uses

func (e RateLimit_Action_DynamicMetaDataValidationError) Cause() error

Cause function returns cause value.

func (RateLimit_Action_DynamicMetaDataValidationError) Error Uses

func (e RateLimit_Action_DynamicMetaDataValidationError) Error() string

Error satisfies the builtin error interface

func (RateLimit_Action_DynamicMetaDataValidationError) ErrorName Uses

func (e RateLimit_Action_DynamicMetaDataValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimit_Action_DynamicMetaDataValidationError) Field Uses

func (e RateLimit_Action_DynamicMetaDataValidationError) Field() string

Field function returns field value.

func (RateLimit_Action_DynamicMetaDataValidationError) Key Uses

func (e RateLimit_Action_DynamicMetaDataValidationError) Key() bool

Key function returns key value.

func (RateLimit_Action_DynamicMetaDataValidationError) Reason Uses

func (e RateLimit_Action_DynamicMetaDataValidationError) Reason() string

Reason function returns reason value.

type RateLimit_Action_Extension Uses

type RateLimit_Action_Extension struct {
    // Rate limit descriptor extension. See the rate limit descriptor extensions documentation.
    Extension *v4alpha.TypedExtensionConfig `protobuf:"bytes,9,opt,name=extension,proto3,oneof"`
}

type RateLimit_Action_GenericKey Uses

type RateLimit_Action_GenericKey struct {

    // The value to use in the descriptor entry.
    DescriptorValue string `protobuf:"bytes,1,opt,name=descriptor_value,json=descriptorValue,proto3" json:"descriptor_value,omitempty"`
    // An optional key to use in the descriptor entry. If not set it defaults
    // to 'generic_key' as the descriptor key.
    DescriptorKey string `protobuf:"bytes,2,opt,name=descriptor_key,json=descriptorKey,proto3" json:"descriptor_key,omitempty"`
    // contains filtered or unexported fields
}

The following descriptor entry is appended to the descriptor:

.. code-block:: cpp

("generic_key", "<descriptor_value>")

func (*RateLimit_Action_GenericKey) Descriptor Uses

func (*RateLimit_Action_GenericKey) Descriptor() ([]byte, []int)

Deprecated: Use RateLimit_Action_GenericKey.ProtoReflect.Descriptor instead.

func (*RateLimit_Action_GenericKey) GetDescriptorKey Uses

func (x *RateLimit_Action_GenericKey) GetDescriptorKey() string

func (*RateLimit_Action_GenericKey) GetDescriptorValue Uses

func (x *RateLimit_Action_GenericKey) GetDescriptorValue() string

func (*RateLimit_Action_GenericKey) ProtoMessage Uses

func (*RateLimit_Action_GenericKey) ProtoMessage()

func (*RateLimit_Action_GenericKey) ProtoReflect Uses

func (x *RateLimit_Action_GenericKey) ProtoReflect() protoreflect.Message

func (*RateLimit_Action_GenericKey) Reset Uses

func (x *RateLimit_Action_GenericKey) Reset()

func (*RateLimit_Action_GenericKey) String Uses

func (x *RateLimit_Action_GenericKey) String() string

func (*RateLimit_Action_GenericKey) Validate Uses

func (m *RateLimit_Action_GenericKey) Validate() error

Validate checks the field values on RateLimit_Action_GenericKey with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RateLimit_Action_GenericKeyValidationError Uses

type RateLimit_Action_GenericKeyValidationError struct {
    // contains filtered or unexported fields
}

RateLimit_Action_GenericKeyValidationError is the validation error returned by RateLimit_Action_GenericKey.Validate if the designated constraints aren't met.

func (RateLimit_Action_GenericKeyValidationError) Cause Uses

func (e RateLimit_Action_GenericKeyValidationError) Cause() error

Cause function returns cause value.

func (RateLimit_Action_GenericKeyValidationError) Error Uses

func (e RateLimit_Action_GenericKeyValidationError) Error() string

Error satisfies the builtin error interface

func (RateLimit_Action_GenericKeyValidationError) ErrorName Uses

func (e RateLimit_Action_GenericKeyValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimit_Action_GenericKeyValidationError) Field Uses

func (e RateLimit_Action_GenericKeyValidationError) Field() string

Field function returns field value.

func (RateLimit_Action_GenericKeyValidationError) Key Uses

func (e RateLimit_Action_GenericKeyValidationError) Key() bool

Key function returns key value.

func (RateLimit_Action_GenericKeyValidationError) Reason Uses

func (e RateLimit_Action_GenericKeyValidationError) Reason() string

Reason function returns reason value.

type RateLimit_Action_GenericKey_ Uses

type RateLimit_Action_GenericKey_ struct {
    // Rate limit on a generic key.
    GenericKey *RateLimit_Action_GenericKey `protobuf:"bytes,5,opt,name=generic_key,json=genericKey,proto3,oneof"`
}

type RateLimit_Action_HeaderValueMatch Uses

type RateLimit_Action_HeaderValueMatch struct {

    // The value to use in the descriptor entry.
    DescriptorValue string `protobuf:"bytes,1,opt,name=descriptor_value,json=descriptorValue,proto3" json:"descriptor_value,omitempty"`
    // If set to true, the action will append a descriptor entry when the
    // request matches the headers. If set to false, the action will append a
    // descriptor entry when the request does not match the headers. The
    // default value is true.
    ExpectMatch *wrappers.BoolValue `protobuf:"bytes,2,opt,name=expect_match,json=expectMatch,proto3" json:"expect_match,omitempty"`
    // Specifies a set of headers that the rate limit action should match
    // on. The action will check the request’s headers against all the
    // specified headers in the 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).
    Headers []*HeaderMatcher `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty"`
    // contains filtered or unexported fields
}

The following descriptor entry is appended to the descriptor:

.. code-block:: cpp

("header_match", "<descriptor_value>")

func (*RateLimit_Action_HeaderValueMatch) Descriptor Uses

func (*RateLimit_Action_HeaderValueMatch) Descriptor() ([]byte, []int)

Deprecated: Use RateLimit_Action_HeaderValueMatch.ProtoReflect.Descriptor instead.

func (*RateLimit_Action_HeaderValueMatch) GetDescriptorValue Uses

func (x *RateLimit_Action_HeaderValueMatch) GetDescriptorValue() string

func (*RateLimit_Action_HeaderValueMatch) GetExpectMatch Uses

func (x *RateLimit_Action_HeaderValueMatch) GetExpectMatch() *wrappers.BoolValue

func (*RateLimit_Action_HeaderValueMatch) GetHeaders Uses

func (x *RateLimit_Action_HeaderValueMatch) GetHeaders() []*HeaderMatcher

func (*RateLimit_Action_HeaderValueMatch) ProtoMessage Uses

func (*RateLimit_Action_HeaderValueMatch) ProtoMessage()

func (*RateLimit_Action_HeaderValueMatch) ProtoReflect Uses

func (x *RateLimit_Action_HeaderValueMatch) ProtoReflect() protoreflect.Message

func (*RateLimit_Action_HeaderValueMatch) Reset Uses

func (x *RateLimit_Action_HeaderValueMatch) Reset()

func (*RateLimit_Action_HeaderValueMatch) String Uses

func (x *RateLimit_Action_HeaderValueMatch) String() string

func (*RateLimit_Action_HeaderValueMatch) Validate Uses

func (m *RateLimit_Action_HeaderValueMatch) Validate() error

Validate checks the field values on RateLimit_Action_HeaderValueMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RateLimit_Action_HeaderValueMatchValidationError Uses

type RateLimit_Action_HeaderValueMatchValidationError struct {
    // contains filtered or unexported fields
}

RateLimit_Action_HeaderValueMatchValidationError is the validation error returned by RateLimit_Action_HeaderValueMatch.Validate if the designated constraints aren't met.

func (RateLimit_Action_HeaderValueMatchValidationError) Cause Uses

func (e RateLimit_Action_HeaderValueMatchValidationError) Cause() error

Cause function returns cause value.

func (RateLimit_Action_HeaderValueMatchValidationError) Error Uses

func (e RateLimit_Action_HeaderValueMatchValidationError) Error() string

Error satisfies the builtin error interface

func (RateLimit_Action_HeaderValueMatchValidationError) ErrorName Uses

func (e RateLimit_Action_HeaderValueMatchValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimit_Action_HeaderValueMatchValidationError) Field Uses

func (e RateLimit_Action_HeaderValueMatchValidationError) Field() string

Field function returns field value.

func (RateLimit_Action_HeaderValueMatchValidationError) Key Uses

func (e RateLimit_Action_HeaderValueMatchValidationError) Key() bool

Key function returns key value.

func (RateLimit_Action_HeaderValueMatchValidationError) Reason Uses

func (e RateLimit_Action_HeaderValueMatchValidationError) Reason() string

Reason function returns reason value.

type RateLimit_Action_HeaderValueMatch_ Uses

type RateLimit_Action_HeaderValueMatch_ struct {
    // Rate limit on the existence of request headers.
    HeaderValueMatch *RateLimit_Action_HeaderValueMatch `protobuf:"bytes,6,opt,name=header_value_match,json=headerValueMatch,proto3,oneof"`
}

type RateLimit_Action_HiddenEnvoyDeprecatedDynamicMetadata Uses

type RateLimit_Action_HiddenEnvoyDeprecatedDynamicMetadata struct {
    // Rate limit on dynamic metadata.
    //
    // .. attention::
    //   This field has been deprecated in favor of the :ref:`metadata <envoy_api_field_config.route.v4alpha.RateLimit.Action.metadata>` field
    //
    // Deprecated: Do not use.
    HiddenEnvoyDeprecatedDynamicMetadata *RateLimit_Action_DynamicMetaData `protobuf:"bytes,7,opt,name=hidden_envoy_deprecated_dynamic_metadata,json=hiddenEnvoyDeprecatedDynamicMetadata,proto3,oneof"`
}

type RateLimit_Action_MetaData Uses

type RateLimit_Action_MetaData struct {

    // The key to use in the descriptor entry.
    DescriptorKey string `protobuf:"bytes,1,opt,name=descriptor_key,json=descriptorKey,proto3" json:"descriptor_key,omitempty"`
    // Metadata struct that defines the key and path to retrieve the string value. A match will
    // only happen if the value in the metadata is of type string.
    MetadataKey *v32.MetadataKey `protobuf:"bytes,2,opt,name=metadata_key,json=metadataKey,proto3" json:"metadata_key,omitempty"`
    // An optional value to use if *metadata_key* is empty. If not set and
    // no value is present under the metadata_key then no descriptor is generated.
    DefaultValue string `protobuf:"bytes,3,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
    // Source of metadata
    Source RateLimit_Action_MetaData_Source `protobuf:"varint,4,opt,name=source,proto3,enum=envoy.config.route.v4alpha.RateLimit_Action_MetaData_Source" json:"source,omitempty"`
    // contains filtered or unexported fields
}

The following descriptor entry is appended when the metadata contains a key value:

.. code-block:: cpp

("<descriptor_key>", "<value_queried_from_metadata>")

func (*RateLimit_Action_MetaData) Descriptor Uses

func (*RateLimit_Action_MetaData) Descriptor() ([]byte, []int)

Deprecated: Use RateLimit_Action_MetaData.ProtoReflect.Descriptor instead.

func (*RateLimit_Action_MetaData) GetDefaultValue Uses

func (x *RateLimit_Action_MetaData) GetDefaultValue() string

func (*RateLimit_Action_MetaData) GetDescriptorKey Uses

func (x *RateLimit_Action_MetaData) GetDescriptorKey() string

func (*RateLimit_Action_MetaData) GetMetadataKey Uses

func (x *RateLimit_Action_MetaData) GetMetadataKey() *v32.MetadataKey

func (*RateLimit_Action_MetaData) GetSource Uses

func (x *RateLimit_Action_MetaData) GetSource() RateLimit_Action_MetaData_Source

func (*RateLimit_Action_MetaData) ProtoMessage Uses

func (*RateLimit_Action_MetaData) ProtoMessage()

func (*RateLimit_Action_MetaData) ProtoReflect Uses

func (x *RateLimit_Action_MetaData) ProtoReflect() protoreflect.Message

func (*RateLimit_Action_MetaData) Reset Uses

func (x *RateLimit_Action_MetaData) Reset()

func (*RateLimit_Action_MetaData) String Uses

func (x *RateLimit_Action_MetaData) String() string

func (*RateLimit_Action_MetaData) Validate Uses

func (m *RateLimit_Action_MetaData) Validate() error

Validate checks the field values on RateLimit_Action_MetaData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RateLimit_Action_MetaDataValidationError Uses

type RateLimit_Action_MetaDataValidationError struct {
    // contains filtered or unexported fields
}

RateLimit_Action_MetaDataValidationError is the validation error returned by RateLimit_Action_MetaData.Validate if the designated constraints aren't met.

func (RateLimit_Action_MetaDataValidationError) Cause Uses

func (e RateLimit_Action_MetaDataValidationError) Cause() error

Cause function returns cause value.

func (RateLimit_Action_MetaDataValidationError) Error Uses

func (e RateLimit_Action_MetaDataValidationError) Error() string

Error satisfies the builtin error interface

func (RateLimit_Action_MetaDataValidationError) ErrorName Uses

func (e RateLimit_Action_MetaDataValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimit_Action_MetaDataValidationError) Field Uses

func (e RateLimit_Action_MetaDataValidationError) Field() string

Field function returns field value.

func (RateLimit_Action_MetaDataValidationError) Key Uses

func (e RateLimit_Action_MetaDataValidationError) Key() bool

Key function returns key value.

func (RateLimit_Action_MetaDataValidationError) Reason Uses

func (e RateLimit_Action_MetaDataValidationError) Reason() string

Reason function returns reason value.

type RateLimit_Action_MetaData_Source Uses

type RateLimit_Action_MetaData_Source int32
const (
    // Query :ref:`dynamic metadata <well_known_dynamic_metadata>`
    RateLimit_Action_MetaData_DYNAMIC RateLimit_Action_MetaData_Source = 0
    // Query :ref:`route entry metadata <envoy_api_field_config.route.v4alpha.Route.metadata>`
    RateLimit_Action_MetaData_ROUTE_ENTRY RateLimit_Action_MetaData_Source = 1
)

func (RateLimit_Action_MetaData_Source) Descriptor Uses

func (RateLimit_Action_MetaData_Source) Descriptor() protoreflect.EnumDescriptor

func (RateLimit_Action_MetaData_Source) Enum Uses

func (x RateLimit_Action_MetaData_Source) Enum() *RateLimit_Action_MetaData_Source

func (RateLimit_Action_MetaData_Source) EnumDescriptor Uses

func (RateLimit_Action_MetaData_Source) EnumDescriptor() ([]byte, []int)

Deprecated: Use RateLimit_Action_MetaData_Source.Descriptor instead.

func (RateLimit_Action_MetaData_Source) Number Uses

func (x RateLimit_Action_MetaData_Source) Number() protoreflect.EnumNumber

func (RateLimit_Action_MetaData_Source) String Uses

func (x RateLimit_Action_MetaData_Source) String() string

func (RateLimit_Action_MetaData_Source) Type Uses

func (RateLimit_Action_MetaData_Source) Type() protoreflect.EnumType

type RateLimit_Action_Metadata Uses

type RateLimit_Action_Metadata struct {
    // Rate limit on metadata.
    Metadata *RateLimit_Action_MetaData `protobuf:"bytes,8,opt,name=metadata,proto3,oneof"`
}

type RateLimit_Action_RemoteAddress Uses

type RateLimit_Action_RemoteAddress struct {
    // contains filtered or unexported fields
}

The following descriptor entry is appended to the descriptor and is populated using the trusted address from :ref:`x-forwarded-for <config_http_conn_man_headers_x-forwarded-for>`:

.. code-block:: cpp

("remote_address", "<trusted address from x-forwarded-for>")

func (*RateLimit_Action_RemoteAddress) Descriptor Uses

func (*RateLimit_Action_RemoteAddress) Descriptor() ([]byte, []int)

Deprecated: Use RateLimit_Action_RemoteAddress.ProtoReflect.Descriptor instead.

func (*RateLimit_Action_RemoteAddress) ProtoMessage Uses

func (*RateLimit_Action_RemoteAddress) ProtoMessage()

func (*RateLimit_Action_RemoteAddress) ProtoReflect Uses

func (x *RateLimit_Action_RemoteAddress) ProtoReflect() protoreflect.Message

func (*RateLimit_Action_RemoteAddress) Reset Uses

func (x *RateLimit_Action_RemoteAddress) Reset()

func (*RateLimit_Action_RemoteAddress) String Uses

func (x *RateLimit_Action_RemoteAddress) String() string

func (*RateLimit_Action_RemoteAddress) Validate Uses

func (m *RateLimit_Action_RemoteAddress) Validate() error

Validate checks the field values on RateLimit_Action_RemoteAddress with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RateLimit_Action_RemoteAddressValidationError Uses

type RateLimit_Action_RemoteAddressValidationError struct {
    // contains filtered or unexported fields
}

RateLimit_Action_RemoteAddressValidationError is the validation error returned by RateLimit_Action_RemoteAddress.Validate if the designated constraints aren't met.

func (RateLimit_Action_RemoteAddressValidationError) Cause Uses

func (e RateLimit_Action_RemoteAddressValidationError) Cause() error

Cause function returns cause value.

func (RateLimit_Action_RemoteAddressValidationError) Error Uses

func (e RateLimit_Action_RemoteAddressValidationError) Error() string

Error satisfies the builtin error interface

func (RateLimit_Action_RemoteAddressValidationError) ErrorName Uses

func (e RateLimit_Action_RemoteAddressValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimit_Action_RemoteAddressValidationError) Field Uses

func (e RateLimit_Action_RemoteAddressValidationError) Field() string

Field function returns field value.

func (RateLimit_Action_RemoteAddressValidationError) Key Uses

func (e RateLimit_Action_RemoteAddressValidationError) Key() bool

Key function returns key value.

func (RateLimit_Action_RemoteAddressValidationError) Reason Uses

func (e RateLimit_Action_RemoteAddressValidationError) Reason() string

Reason function returns reason value.

type RateLimit_Action_RemoteAddress_ Uses

type RateLimit_Action_RemoteAddress_ struct {
    // Rate limit on remote address.
    RemoteAddress *RateLimit_Action_RemoteAddress `protobuf:"bytes,4,opt,name=remote_address,json=remoteAddress,proto3,oneof"`
}

type RateLimit_Action_RequestHeaders Uses

type RateLimit_Action_RequestHeaders struct {

    // The header name to be queried from the request headers. The header’s
    // value is used to populate the value of the descriptor entry for the
    // descriptor_key.
    HeaderName string `protobuf:"bytes,1,opt,name=header_name,json=headerName,proto3" json:"header_name,omitempty"`
    // The key to use in the descriptor entry.
    DescriptorKey string `protobuf:"bytes,2,opt,name=descriptor_key,json=descriptorKey,proto3" json:"descriptor_key,omitempty"`
    // If set to true, Envoy skips the descriptor while calling rate limiting service
    // when header is not present in the request. By default it skips calling the
    // rate limiting service if this header is not present in the request.
    SkipIfAbsent bool `protobuf:"varint,3,opt,name=skip_if_absent,json=skipIfAbsent,proto3" json:"skip_if_absent,omitempty"`
    // contains filtered or unexported fields
}

The following descriptor entry is appended when a header contains a key that matches the *header_name*:

.. code-block:: cpp

("<descriptor_key>", "<header_value_queried_from_header>")

func (*RateLimit_Action_RequestHeaders) Descriptor Uses

func (*RateLimit_Action_RequestHeaders) Descriptor() ([]byte, []int)

Deprecated: Use RateLimit_Action_RequestHeaders.ProtoReflect.Descriptor instead.

func (*RateLimit_Action_RequestHeaders) GetDescriptorKey Uses

func (x *RateLimit_Action_RequestHeaders) GetDescriptorKey() string

func (*RateLimit_Action_RequestHeaders) GetHeaderName Uses

func (x *RateLimit_Action_RequestHeaders) GetHeaderName() string

func (*RateLimit_Action_RequestHeaders) GetSkipIfAbsent Uses

func (x *RateLimit_Action_RequestHeaders) GetSkipIfAbsent() bool

func (*RateLimit_Action_RequestHeaders) ProtoMessage Uses

func (*RateLimit_Action_RequestHeaders) ProtoMessage()

func (*RateLimit_Action_RequestHeaders) ProtoReflect Uses

func (x *RateLimit_Action_RequestHeaders) ProtoReflect() protoreflect.Message

func (*RateLimit_Action_RequestHeaders) Reset Uses

func (x *RateLimit_Action_RequestHeaders) Reset()

func (*RateLimit_Action_RequestHeaders) String Uses

func (x *RateLimit_Action_RequestHeaders) String() string

func (*RateLimit_Action_RequestHeaders) Validate Uses

func (m *RateLimit_Action_RequestHeaders) Validate() error

Validate checks the field values on RateLimit_Action_RequestHeaders with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RateLimit_Action_RequestHeadersValidationError Uses

type RateLimit_Action_RequestHeadersValidationError struct {
    // contains filtered or unexported fields
}

RateLimit_Action_RequestHeadersValidationError is the validation error returned by RateLimit_Action_RequestHeaders.Validate if the designated constraints aren't met.

func (RateLimit_Action_RequestHeadersValidationError) Cause Uses

func (e RateLimit_Action_RequestHeadersValidationError) Cause() error

Cause function returns cause value.

func (RateLimit_Action_RequestHeadersValidationError) Error Uses

func (e RateLimit_Action_RequestHeadersValidationError) Error() string

Error satisfies the builtin error interface

func (RateLimit_Action_RequestHeadersValidationError) ErrorName Uses

func (e RateLimit_Action_RequestHeadersValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimit_Action_RequestHeadersValidationError) Field Uses

func (e RateLimit_Action_RequestHeadersValidationError) Field() string

Field function returns field value.

func (RateLimit_Action_RequestHeadersValidationError) Key Uses

func (e RateLimit_Action_RequestHeadersValidationError) Key() bool

Key function returns key value.

func (RateLimit_Action_RequestHeadersValidationError) Reason Uses

func (e RateLimit_Action_RequestHeadersValidationError) Reason() string

Reason function returns reason value.

type RateLimit_Action_RequestHeaders_ Uses

type RateLimit_Action_RequestHeaders_ struct {
    // Rate limit on request headers.
    RequestHeaders *RateLimit_Action_RequestHeaders `protobuf:"bytes,3,opt,name=request_headers,json=requestHeaders,proto3,oneof"`
}

type RateLimit_Action_SourceCluster Uses

type RateLimit_Action_SourceCluster struct {
    // contains filtered or unexported fields
}

The following descriptor entry is appended to the descriptor:

.. code-block:: cpp

("source_cluster", "<local service cluster>")

<local service cluster> is derived from the :option:`--service-cluster` option.

func (*RateLimit_Action_SourceCluster) Descriptor Uses

func (*RateLimit_Action_SourceCluster) Descriptor() ([]byte, []int)

Deprecated: Use RateLimit_Action_SourceCluster.ProtoReflect.Descriptor instead.

func (*RateLimit_Action_SourceCluster) ProtoMessage Uses

func (*RateLimit_Action_SourceCluster) ProtoMessage()

func (*RateLimit_Action_SourceCluster) ProtoReflect Uses

func (x *RateLimit_Action_SourceCluster) ProtoReflect() protoreflect.Message

func (*RateLimit_Action_SourceCluster) Reset Uses

func (x *RateLimit_Action_SourceCluster) Reset()

func (*RateLimit_Action_SourceCluster) String Uses

func (x *RateLimit_Action_SourceCluster) String() string

func (*RateLimit_Action_SourceCluster) Validate Uses

func (m *RateLimit_Action_SourceCluster) Validate() error

Validate checks the field values on RateLimit_Action_SourceCluster with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RateLimit_Action_SourceClusterValidationError Uses

type RateLimit_Action_SourceClusterValidationError struct {
    // contains filtered or unexported fields
}

RateLimit_Action_SourceClusterValidationError is the validation error returned by RateLimit_Action_SourceCluster.Validate if the designated constraints aren't met.

func (RateLimit_Action_SourceClusterValidationError) Cause Uses

func (e RateLimit_Action_SourceClusterValidationError) Cause() error

Cause function returns cause value.

func (RateLimit_Action_SourceClusterValidationError) Error Uses

func (e RateLimit_Action_SourceClusterValidationError) Error() string

Error satisfies the builtin error interface

func (RateLimit_Action_SourceClusterValidationError) ErrorName Uses

func (e RateLimit_Action_SourceClusterValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimit_Action_SourceClusterValidationError) Field Uses

func (e RateLimit_Action_SourceClusterValidationError) Field() string

Field function returns field value.

func (RateLimit_Action_SourceClusterValidationError) Key Uses

func (e RateLimit_Action_SourceClusterValidationError) Key() bool

Key function returns key value.

func (RateLimit_Action_SourceClusterValidationError) Reason Uses

func (e RateLimit_Action_SourceClusterValidationError) Reason() string

Reason function returns reason value.

type RateLimit_Action_SourceCluster_ Uses

type RateLimit_Action_SourceCluster_ struct {
    // Rate limit on source cluster.
    SourceCluster *RateLimit_Action_SourceCluster `protobuf:"bytes,1,opt,name=source_cluster,json=sourceCluster,proto3,oneof"`
}

type RateLimit_Override Uses

type RateLimit_Override struct {

    // Types that are assignable to OverrideSpecifier:
    //	*RateLimit_Override_DynamicMetadata_
    OverrideSpecifier isRateLimit_Override_OverrideSpecifier `protobuf_oneof:"override_specifier"`
    // contains filtered or unexported fields
}

func (*RateLimit_Override) Descriptor Uses

func (*RateLimit_Override) Descriptor() ([]byte, []int)

Deprecated: Use RateLimit_Override.ProtoReflect.Descriptor instead.

func (*RateLimit_Override) GetDynamicMetadata Uses

func (x *RateLimit_Override) GetDynamicMetadata() *RateLimit_Override_DynamicMetadata

func (*RateLimit_Override) GetOverrideSpecifier Uses

func (m *RateLimit_Override) GetOverrideSpecifier() isRateLimit_Override_OverrideSpecifier

func (*RateLimit_Override) ProtoMessage Uses

func (*RateLimit_Override) ProtoMessage()

func (*RateLimit_Override) ProtoReflect Uses

func (x *RateLimit_Override) ProtoReflect() protoreflect.Message

func (*RateLimit_Override) Reset Uses

func (x *RateLimit_Override) Reset()

func (*RateLimit_Override) String Uses

func (x *RateLimit_Override) String() string

func (*RateLimit_Override) Validate Uses

func (m *RateLimit_Override) Validate() error

Validate checks the field values on RateLimit_Override with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RateLimit_OverrideValidationError Uses

type RateLimit_OverrideValidationError struct {
    // contains filtered or unexported fields
}

RateLimit_OverrideValidationError is the validation error returned by RateLimit_Override.Validate if the designated constraints aren't met.

func (RateLimit_OverrideValidationError) Cause Uses

func (e RateLimit_OverrideValidationError) Cause() error

Cause function returns cause value.

func (RateLimit_OverrideValidationError) Error Uses

func (e RateLimit_OverrideValidationError) Error() string

Error satisfies the builtin error interface

func (RateLimit_OverrideValidationError) ErrorName Uses

func (e RateLimit_OverrideValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimit_OverrideValidationError) Field Uses

func (e RateLimit_OverrideValidationError) Field() string

Field function returns field value.

func (RateLimit_OverrideValidationError) Key Uses

func (e RateLimit_OverrideValidationError) Key() bool

Key function returns key value.

func (RateLimit_OverrideValidationError) Reason Uses

func (e RateLimit_OverrideValidationError) Reason() string

Reason function returns reason value.

type RateLimit_Override_DynamicMetadata Uses

type RateLimit_Override_DynamicMetadata struct {

    // Metadata struct that defines the key and path to retrieve the struct value.
    // The value must be a struct containing an integer "requests_per_unit" property
    // and a "unit" property with a value parseable to :ref:`RateLimitUnit
    // enum <envoy_api_enum_type.v3.RateLimitUnit>`
    MetadataKey *v32.MetadataKey `protobuf:"bytes,1,opt,name=metadata_key,json=metadataKey,proto3" json:"metadata_key,omitempty"`
    // contains filtered or unexported fields
}

Fetches the override from the dynamic metadata.

func (*RateLimit_Override_DynamicMetadata) Descriptor Uses

func (*RateLimit_Override_DynamicMetadata) Descriptor() ([]byte, []int)

Deprecated: Use RateLimit_Override_DynamicMetadata.ProtoReflect.Descriptor instead.

func (*RateLimit_Override_DynamicMetadata) GetMetadataKey Uses

func (x *RateLimit_Override_DynamicMetadata) GetMetadataKey() *v32.MetadataKey

func (*RateLimit_Override_DynamicMetadata) ProtoMessage Uses

func (*RateLimit_Override_DynamicMetadata) ProtoMessage()

func (*RateLimit_Override_DynamicMetadata) ProtoReflect Uses

func (x *RateLimit_Override_DynamicMetadata) ProtoReflect() protoreflect.Message

func (*RateLimit_Override_DynamicMetadata) Reset Uses

func (x *RateLimit_Override_DynamicMetadata) Reset()

func (*RateLimit_Override_DynamicMetadata) String Uses

func (x *RateLimit_Override_DynamicMetadata) String() string

func (*RateLimit_Override_DynamicMetadata) Validate Uses

func (m *RateLimit_Override_DynamicMetadata) Validate() error

Validate checks the field values on RateLimit_Override_DynamicMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RateLimit_Override_DynamicMetadataValidationError Uses

type RateLimit_Override_DynamicMetadataValidationError struct {
    // contains filtered or unexported fields
}

RateLimit_Override_DynamicMetadataValidationError is the validation error returned by RateLimit_Override_DynamicMetadata.Validate if the designated constraints aren't met.

func (RateLimit_Override_DynamicMetadataValidationError) Cause Uses

func (e RateLimit_Override_DynamicMetadataValidationError) Cause() error

Cause function returns cause value.

func (RateLimit_Override_DynamicMetadataValidationError) Error Uses

func (e RateLimit_Override_DynamicMetadataValidationError) Error() string

Error satisfies the builtin error interface

func (RateLimit_Override_DynamicMetadataValidationError) ErrorName Uses

func (e RateLimit_Override_DynamicMetadataValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimit_Override_DynamicMetadataValidationError) Field Uses

func (e RateLimit_Override_DynamicMetadataValidationError) Field() string

Field function returns field value.

func (RateLimit_Override_DynamicMetadataValidationError) Key Uses

func (e RateLimit_Override_DynamicMetadataValidationError) Key() bool

Key function returns key value.

func (RateLimit_Override_DynamicMetadataValidationError) Reason Uses

func (e RateLimit_Override_DynamicMetadataValidationError) Reason() string

Reason function returns reason value.

type RateLimit_Override_DynamicMetadata_ Uses

type RateLimit_Override_DynamicMetadata_ struct {
    // Limit override from dynamic metadata.
    DynamicMetadata *RateLimit_Override_DynamicMetadata `protobuf:"bytes,1,opt,name=dynamic_metadata,json=dynamicMetadata,proto3,oneof"`
}

type RedirectAction Uses

type RedirectAction struct {

    // When the scheme redirection take place, the following rules apply:
    //  1. If the source URI scheme is `http` and the port is explicitly
    //     set to `:80`, the port will be removed after the redirection
    //  2. If the source URI scheme is `https` and the port is explicitly
    //     set to `:443`, the port will be removed after the redirection
    //
    // Types that are assignable to SchemeRewriteSpecifier:
    //	*RedirectAction_HttpsRedirect
    //	*RedirectAction_SchemeRedirect
    SchemeRewriteSpecifier isRedirectAction_SchemeRewriteSpecifier `protobuf_oneof:"scheme_rewrite_specifier"`
    // The host portion of the URL will be swapped with this value.
    HostRedirect string `protobuf:"bytes,1,opt,name=host_redirect,json=hostRedirect,proto3" json:"host_redirect,omitempty"`
    // The port value of the URL will be swapped with this value.
    PortRedirect uint32 `protobuf:"varint,8,opt,name=port_redirect,json=portRedirect,proto3" json:"port_redirect,omitempty"`
    // Types that are assignable to PathRewriteSpecifier:
    //	*RedirectAction_PathRedirect
    //	*RedirectAction_PrefixRewrite
    //	*RedirectAction_RegexRewrite
    PathRewriteSpecifier isRedirectAction_PathRewriteSpecifier `protobuf_oneof:"path_rewrite_specifier"`
    // The HTTP status code to use in the redirect response. The default response
    // code is MOVED_PERMANENTLY (301).
    ResponseCode RedirectAction_RedirectResponseCode `protobuf:"varint,3,opt,name=response_code,json=responseCode,proto3,enum=envoy.config.route.v4alpha.RedirectAction_RedirectResponseCode" json:"response_code,omitempty"`
    // Indicates that during redirection, the query portion of the URL will
    // be removed. Default value is false.
    StripQuery bool `protobuf:"varint,6,opt,name=strip_query,json=stripQuery,proto3" json:"strip_query,omitempty"`
    // contains filtered or unexported fields
}

[#next-free-field: 10]

func (*RedirectAction) Descriptor Uses

func (*RedirectAction) Descriptor() ([]byte, []int)

Deprecated: Use RedirectAction.ProtoReflect.Descriptor instead.

func (*RedirectAction) GetHostRedirect Uses

func (x *RedirectAction) GetHostRedirect() string

func (*RedirectAction) GetHttpsRedirect Uses

func (x *RedirectAction) GetHttpsRedirect() bool

func (*RedirectAction) GetPathRedirect Uses

func (x *RedirectAction) GetPathRedirect() string

func (*RedirectAction) GetPathRewriteSpecifier Uses

func (m *RedirectAction) GetPathRewriteSpecifier() isRedirectAction_PathRewriteSpecifier

func (*RedirectAction) GetPortRedirect Uses

func (x *RedirectAction) GetPortRedirect() uint32

func (*RedirectAction) GetPrefixRewrite Uses

func (x *RedirectAction) GetPrefixRewrite() string

func (*RedirectAction) GetRegexRewrite Uses

func (x *RedirectAction) GetRegexRewrite() *v4alpha1.RegexMatchAndSubstitute

func (*RedirectAction) GetResponseCode Uses

func (x *RedirectAction) GetResponseCode() RedirectAction_RedirectResponseCode

func (*RedirectAction) GetSchemeRedirect Uses

func (x *RedirectAction) GetSchemeRedirect() string

func (*RedirectAction) GetSchemeRewriteSpecifier Uses

func (m *RedirectAction) GetSchemeRewriteSpecifier() isRedirectAction_SchemeRewriteSpecifier

func (*RedirectAction) GetStripQuery Uses

func (x *RedirectAction) GetStripQuery() bool

func (*RedirectAction) ProtoMessage Uses

func (*RedirectAction) ProtoMessage()

func (*RedirectAction) ProtoReflect Uses

func (x *RedirectAction) ProtoReflect() protoreflect.Message

func (*RedirectAction) Reset Uses

func (x *RedirectAction) Reset()

func (*RedirectAction) String Uses

func (x *RedirectAction) String() string

func (*RedirectAction) Validate Uses

func (m *RedirectAction) Validate() error

Validate checks the field values on RedirectAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RedirectActionValidationError Uses

type RedirectActionValidationError struct {
    // contains filtered or unexported fields
}

RedirectActionValidationError is the validation error returned by RedirectAction.Validate if the designated constraints aren't met.

func (RedirectActionValidationError) Cause Uses

func (e RedirectActionValidationError) Cause() error

Cause function returns cause value.

func (RedirectActionValidationError) Error Uses

func (e RedirectActionValidationError) Error() string

Error satisfies the builtin error interface

func (RedirectActionValidationError) ErrorName Uses

func (e RedirectActionValidationError) ErrorName() string

ErrorName returns error name.

func (RedirectActionValidationError) Field Uses

func (e RedirectActionValidationError) Field() string

Field function returns field value.

func (RedirectActionValidationError) Key Uses

func (e RedirectActionValidationError) Key() bool

Key function returns key value.

func (RedirectActionValidationError) Reason Uses

func (e RedirectActionValidationError) Reason() string

Reason function returns reason value.

type RedirectAction_HttpsRedirect Uses

type RedirectAction_HttpsRedirect struct {
    // The scheme portion of the URL will be swapped with "https".
    HttpsRedirect bool `protobuf:"varint,4,opt,name=https_redirect,json=httpsRedirect,proto3,oneof"`
}

type RedirectAction_PathRedirect Uses

type RedirectAction_PathRedirect struct {
    // The path portion of the URL will be swapped with this value.
    // Please note that query string in path_redirect will override the
    // request's query string and will not be stripped.
    //
    // For example, let's say we have the following routes:
    //
    // - match: { path: "/old-path-1" }
    //   redirect: { path_redirect: "/new-path-1" }
    // - match: { path: "/old-path-2" }
    //   redirect: { path_redirect: "/new-path-2", strip-query: "true" }
    // - match: { path: "/old-path-3" }
    //   redirect: { path_redirect: "/new-path-3?foo=1", strip_query: "true" }
    //
    // 1. if request uri is "/old-path-1?bar=1", users will be redirected to "/new-path-1?bar=1"
    // 2. if request uri is "/old-path-2?bar=1", users will be redirected to "/new-path-2"
    // 3. if request uri is "/old-path-3?bar=1", users will be redirected to "/new-path-3?foo=1"
    PathRedirect string `protobuf:"bytes,2,opt,name=path_redirect,json=pathRedirect,proto3,oneof"`
}

type RedirectAction_PrefixRewrite Uses

type RedirectAction_PrefixRewrite struct {
    // Indicates that during redirection, the matched prefix (or path)
    // should be swapped with this value. This option allows redirect URLs be dynamically created
    // based on the request.
    //
    // .. attention::
    //
    //   Pay attention to the use of trailing slashes as mentioned in
    //   :ref:`RouteAction's prefix_rewrite <envoy_api_field_config.route.v4alpha.RouteAction.prefix_rewrite>`.
    PrefixRewrite string `protobuf:"bytes,5,opt,name=prefix_rewrite,json=prefixRewrite,proto3,oneof"`
}

type RedirectAction_RedirectResponseCode Uses

type RedirectAction_RedirectResponseCode int32
const (
    // Moved Permanently HTTP Status Code - 301.
    RedirectAction_MOVED_PERMANENTLY RedirectAction_RedirectResponseCode = 0
    // Found HTTP Status Code - 302.
    RedirectAction_FOUND RedirectAction_RedirectResponseCode = 1
    // See Other HTTP Status Code - 303.
    RedirectAction_SEE_OTHER RedirectAction_RedirectResponseCode = 2
    // Temporary Redirect HTTP Status Code - 307.
    RedirectAction_TEMPORARY_REDIRECT RedirectAction_RedirectResponseCode = 3
    // Permanent Redirect HTTP Status Code - 308.
    RedirectAction_PERMANENT_REDIRECT RedirectAction_RedirectResponseCode = 4
)

func (RedirectAction_RedirectResponseCode) Descriptor Uses

func (RedirectAction_RedirectResponseCode) Descriptor() protoreflect.EnumDescriptor

func (RedirectAction_RedirectResponseCode) Enum Uses

func (x RedirectAction_RedirectResponseCode) Enum() *RedirectAction_RedirectResponseCode

func (RedirectAction_RedirectResponseCode) EnumDescriptor Uses

func (RedirectAction_RedirectResponseCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use RedirectAction_RedirectResponseCode.Descriptor instead.

func (RedirectAction_RedirectResponseCode) Number Uses

func (x RedirectAction_RedirectResponseCode) Number() protoreflect.EnumNumber

func (RedirectAction_RedirectResponseCode) String Uses

func (x RedirectAction_RedirectResponseCode) String() string

func (RedirectAction_RedirectResponseCode) Type Uses

func (RedirectAction_RedirectResponseCode) Type() protoreflect.EnumType

type RedirectAction_RegexRewrite Uses

type RedirectAction_RegexRewrite struct {
    // Indicates that during redirect, portions of the path that match the
    // pattern should be rewritten, even allowing the substitution of capture
    // groups from the pattern into the new path as specified by the rewrite
    // substitution string. This is useful to allow application paths to be
    // rewritten in a way that is aware of segments with variable content like
    // identifiers.
    //
    // Examples using Google's `RE2 <https://github.com/google/re2>`_ engine:
    //
    // * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution
    //   string of ``\2/instance/\1`` would transform ``/service/foo/v1/api``
    //   into ``/v1/api/instance/foo``.
    //
    // * The pattern ``one`` paired with a substitution string of ``two`` would
    //   transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``.
    //
    // * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of
    //   ``\1two\2`` would replace only the first occurrence of ``one``,
    //   transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``.
    //
    // * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/``
    //   would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to
    //   ``/aaa/yyy/bbb``.
    RegexRewrite *v4alpha1.RegexMatchAndSubstitute `protobuf:"bytes,9,opt,name=regex_rewrite,json=regexRewrite,proto3,oneof"`
}

type RedirectAction_SchemeRedirect Uses

type RedirectAction_SchemeRedirect struct {
    // The scheme portion of the URL will be swapped with this value.
    SchemeRedirect string `protobuf:"bytes,7,opt,name=scheme_redirect,json=schemeRedirect,proto3,oneof"`
}

type RetryPolicy Uses

type RetryPolicy struct {

    // Specifies the conditions under which retry takes place. These are the same
    // conditions documented for :ref:`config_http_filters_router_x-envoy-retry-on` and
    // :ref:`config_http_filters_router_x-envoy-retry-grpc-on`.
    RetryOn string `protobuf:"bytes,1,opt,name=retry_on,json=retryOn,proto3" json:"retry_on,omitempty"`
    // Specifies the allowed number of retries. This parameter is optional and
    // defaults to 1. These are the same conditions documented for
    // :ref:`config_http_filters_router_x-envoy-max-retries`.
    MaxRetries *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"`
    // Specifies a non-zero upstream timeout per retry attempt. This parameter is optional. The
    // same conditions documented for
    // :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms` apply.
    //
    // .. note::
    //
    //   If left unspecified, Envoy will use the global
    //   :ref:`route timeout <envoy_api_field_config.route.v4alpha.RouteAction.timeout>` for the request.
    //   Consequently, when using a :ref:`5xx <config_http_filters_router_x-envoy-retry-on>` based
    //   retry policy, a request that times out will not be retried as the total timeout budget
    //   would have been exhausted.
    PerTryTimeout *duration.Duration `protobuf:"bytes,3,opt,name=per_try_timeout,json=perTryTimeout,proto3" json:"per_try_timeout,omitempty"`
    // Specifies an implementation of a RetryPriority which is used to determine the
    // distribution of load across priorities used for retries. Refer to
    // :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more details.
    RetryPriority *RetryPolicy_RetryPriority `protobuf:"bytes,4,opt,name=retry_priority,json=retryPriority,proto3" json:"retry_priority,omitempty"`
    // Specifies a collection of RetryHostPredicates that will be consulted when selecting a host
    // for retries. If any of the predicates reject the host, host selection will be reattempted.
    // Refer to :ref:`retry plugin configuration <arch_overview_http_retry_plugins>` for more
    // details.
    RetryHostPredicate []*RetryPolicy_RetryHostPredicate `protobuf:"bytes,5,rep,name=retry_host_predicate,json=retryHostPredicate,proto3" json:"retry_host_predicate,omitempty"`
    // The maximum number of times host selection will be reattempted before giving up, at which
    // point the host that was last selected will be routed to. If unspecified, this will default to
    // retrying once.
    HostSelectionRetryMaxAttempts int64 `protobuf:"varint,6,opt,name=host_selection_retry_max_attempts,json=hostSelectionRetryMaxAttempts,proto3" json:"host_selection_retry_max_attempts,omitempty"`
    // HTTP status codes that should trigger a retry in addition to those specified by retry_on.
    RetriableStatusCodes []uint32 `protobuf:"varint,7,rep,packed,name=retriable_status_codes,json=retriableStatusCodes,proto3" json:"retriable_status_codes,omitempty"`
    // Specifies parameters that control exponential retry back off. This parameter is optional, in which case the
    // default base interval is 25 milliseconds or, if set, the current value of the
    // `upstream.base_retry_backoff_ms` runtime parameter. The default maximum interval is 10 times
    // the base interval. The documentation for :ref:`config_http_filters_router_x-envoy-max-retries`
    // describes Envoy's back-off algorithm.
    RetryBackOff *RetryPolicy_RetryBackOff `protobuf:"bytes,8,opt,name=retry_back_off,json=retryBackOff,proto3" json:"retry_back_off,omitempty"`
    // Specifies parameters that control a retry back-off strategy that is used
    // when the request is rate limited by the upstream server. The server may
    // return a response header like ``Retry-After`` or ``X-RateLimit-Reset`` to
    // provide feedback to the client on how long to wait before retrying. If
    // configured, this back-off strategy will be used instead of the
    // default exponential back off strategy (configured using `retry_back_off`)
    // whenever a response includes the matching headers.
    RateLimitedRetryBackOff *RetryPolicy_RateLimitedRetryBackOff `protobuf:"bytes,11,opt,name=rate_limited_retry_back_off,json=rateLimitedRetryBackOff,proto3" json:"rate_limited_retry_back_off,omitempty"`
    // HTTP response headers that trigger a retry if present in the response. A retry will be
    // triggered if any of the header matches match the upstream response headers.
    // The field is only consulted if 'retriable-headers' retry policy is active.
    RetriableHeaders []*HeaderMatcher `protobuf:"bytes,9,rep,name=retriable_headers,json=retriableHeaders,proto3" json:"retriable_headers,omitempty"`
    // HTTP headers which must be present in the request for retries to be attempted.
    RetriableRequestHeaders []*HeaderMatcher `protobuf:"bytes,10,rep,name=retriable_request_headers,json=retriableRequestHeaders,proto3" json:"retriable_request_headers,omitempty"`
    // contains filtered or unexported fields
}

HTTP retry :ref:`architecture overview <arch_overview_http_routing_retry>`. [#next-free-field: 12]

func (*RetryPolicy) Descriptor Uses

func (*RetryPolicy) Descriptor() ([]byte, []int)

Deprecated: Use RetryPolicy.ProtoReflect.Descriptor instead.

func (*RetryPolicy) GetHostSelectionRetryMaxAttempts Uses

func (x *RetryPolicy) GetHostSelectionRetryMaxAttempts() int64

func (*RetryPolicy) GetMaxRetries Uses

func (x *RetryPolicy) GetMaxRetries() *wrappers.UInt32Value

func (*RetryPolicy) GetPerTryTimeout Uses

func (x *RetryPolicy) GetPerTryTimeout() *duration.Duration

func (*RetryPolicy) GetRateLimitedRetryBackOff Uses

func (x *RetryPolicy) GetRateLimitedRetryBackOff() *RetryPolicy_RateLimitedRetryBackOff

func (*RetryPolicy) GetRetriableHeaders Uses

func (x *RetryPolicy) GetRetriableHeaders() []*HeaderMatcher

func (*RetryPolicy) GetRetriableRequestHeaders Uses

func (x *RetryPolicy) GetRetriableRequestHeaders() []*HeaderMatcher

func (*RetryPolicy) GetRetriableStatusCodes Uses

func (x *RetryPolicy) GetRetriableStatusCodes() []uint32

func (*RetryPolicy) GetRetryBackOff Uses

func (x *RetryPolicy) GetRetryBackOff() *RetryPolicy_RetryBackOff

func (*RetryPolicy) GetRetryHostPredicate Uses

func (x *RetryPolicy) GetRetryHostPredicate() []*RetryPolicy_RetryHostPredicate

func (*RetryPolicy) GetRetryOn Uses

func (x *RetryPolicy) GetRetryOn() string

func (*RetryPolicy) GetRetryPriority Uses

func (x *RetryPolicy) GetRetryPriority() *RetryPolicy_RetryPriority

func (*RetryPolicy) ProtoMessage Uses

func (*RetryPolicy) ProtoMessage()

func (*RetryPolicy) ProtoReflect Uses

func (x *RetryPolicy) ProtoReflect() protoreflect.Message

func (*RetryPolicy) Reset Uses

func (x *RetryPolicy) Reset()

func (*RetryPolicy) String Uses

func (x *RetryPolicy) String() string

func (*RetryPolicy) Validate Uses

func (m *RetryPolicy) Validate() error

Validate checks the field values on RetryPolicy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RetryPolicyValidationError Uses

type RetryPolicyValidationError struct {
    // contains filtered or unexported fields
}

RetryPolicyValidationError is the validation error returned by RetryPolicy.Validate if the designated constraints aren't met.

func (RetryPolicyValidationError) Cause Uses

func (e RetryPolicyValidationError) Cause() error

Cause function returns cause value.

func (RetryPolicyValidationError) Error Uses

func (e RetryPolicyValidationError) Error() string

Error satisfies the builtin error interface

func (RetryPolicyValidationError) ErrorName Uses

func (e RetryPolicyValidationError) ErrorName() string

ErrorName returns error name.

func (RetryPolicyValidationError) Field Uses

func (e RetryPolicyValidationError) Field() string

Field function returns field value.

func (RetryPolicyValidationError) Key Uses

func (e RetryPolicyValidationError) Key() bool

Key function returns key value.

func (RetryPolicyValidationError) Reason Uses

func (e RetryPolicyValidationError) Reason() string

Reason function returns reason value.

type RetryPolicy_RateLimitedRetryBackOff Uses

type RetryPolicy_RateLimitedRetryBackOff struct {

    // Specifies the reset headers (like ``Retry-After`` or ``X-RateLimit-Reset``)
    // to match against the response. Headers are tried in order, and matched case
    // insensitive. The first header to be parsed successfully is used. If no headers
    // match the default exponential back-off is used instead.
    ResetHeaders []*RetryPolicy_ResetHeader `protobuf:"bytes,1,rep,name=reset_headers,json=resetHeaders,proto3" json:"reset_headers,omitempty"`
    // Specifies the maximum back off interval that Envoy will allow. If a reset
    // header contains an interval longer than this then it will be discarded and
    // the next header will be tried. Defaults to 300 seconds.
    MaxInterval *duration.Duration `protobuf:"bytes,2,opt,name=max_interval,json=maxInterval,proto3" json:"max_interval,omitempty"`
    // contains filtered or unexported fields
}

A retry back-off strategy that applies when the upstream server rate limits the request.

Given this configuration:

.. code-block:: yaml

rate_limited_retry_back_off:
  reset_headers:
  - name: Retry-After
    format: SECONDS
  - name: X-RateLimit-Reset
    format: UNIX_TIMESTAMP
  max_interval: "300s"

The following algorithm will apply:

1. If the response contains the header ``Retry-After`` its value must be on
   the form ``120`` (an integer that represents the number of seconds to
   wait before retrying). If so, this value is used as the back-off interval.
2. Otherwise, if the response contains the header ``X-RateLimit-Reset`` its
   value must be on the form ``1595320702`` (an integer that represents the
   point in time at which to retry, as a Unix timestamp in seconds). If so,
   the current time is subtracted from this value and the result is used as
   the back-off interval.
3. Otherwise, Envoy will use the default
   :ref:`exponential back-off <envoy_v3_api_field_config.route.v3.RetryPolicy.retry_back_off>`
   strategy.

No matter which format is used, if the resulting back-off interval exceeds “max_interval“ it is discarded and the next header in “reset_headers“ is tried. If a request timeout is configured for the route it will further limit how long the request will be allowed to run.

To prevent many clients retrying at the same point in time jitter is added to the back-off interval, so the resulting interval is decided by taking: “random(interval, interval * 1.5)“.

.. attention::

Configuring ``rate_limited_retry_back_off`` will not by itself cause a request
to be retried. You will still need to configure the right retry policy to match
the responses from the upstream server.

func (*RetryPolicy_RateLimitedRetryBackOff) Descriptor Uses

func (*RetryPolicy_RateLimitedRetryBackOff) Descriptor() ([]byte, []int)

Deprecated: Use RetryPolicy_RateLimitedRetryBackOff.ProtoReflect.Descriptor instead.

func (*RetryPolicy_RateLimitedRetryBackOff) GetMaxInterval Uses

func (x *RetryPolicy_RateLimitedRetryBackOff) GetMaxInterval() *duration.Duration

func (*RetryPolicy_RateLimitedRetryBackOff) GetResetHeaders Uses

func (x *RetryPolicy_RateLimitedRetryBackOff) GetResetHeaders() []*RetryPolicy_ResetHeader

func (*RetryPolicy_RateLimitedRetryBackOff) ProtoMessage Uses

func (*RetryPolicy_RateLimitedRetryBackOff) ProtoMessage()

func (*RetryPolicy_RateLimitedRetryBackOff) ProtoReflect Uses

func (x *RetryPolicy_RateLimitedRetryBackOff) ProtoReflect() protoreflect.Message

func (*RetryPolicy_RateLimitedRetryBackOff) Reset Uses

func (x *RetryPolicy_RateLimitedRetryBackOff) Reset()

func (*RetryPolicy_RateLimitedRetryBackOff) String Uses

func (x *RetryPolicy_RateLimitedRetryBackOff) String() string

func (*RetryPolicy_RateLimitedRetryBackOff) Validate Uses

func (m *RetryPolicy_RateLimitedRetryBackOff) Validate() error

Validate checks the field values on RetryPolicy_RateLimitedRetryBackOff with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RetryPolicy_RateLimitedRetryBackOffValidationError Uses

type RetryPolicy_RateLimitedRetryBackOffValidationError struct {
    // contains filtered or unexported fields
}

RetryPolicy_RateLimitedRetryBackOffValidationError is the validation error returned by RetryPolicy_RateLimitedRetryBackOff.Validate if the designated constraints aren't met.

func (RetryPolicy_RateLimitedRetryBackOffValidationError) Cause Uses

func (e RetryPolicy_RateLimitedRetryBackOffValidationError) Cause() error

Cause function returns cause value.

func (RetryPolicy_RateLimitedRetryBackOffValidationError) Error Uses

func (e RetryPolicy_RateLimitedRetryBackOffValidationError) Error() string

Error satisfies the builtin error interface

func (RetryPolicy_RateLimitedRetryBackOffValidationError) ErrorName Uses

func (e RetryPolicy_RateLimitedRetryBackOffValidationError) ErrorName() string

ErrorName returns error name.

func (RetryPolicy_RateLimitedRetryBackOffValidationError) Field Uses

func (e RetryPolicy_RateLimitedRetryBackOffValidationError) Field() string

Field function returns field value.

func (RetryPolicy_RateLimitedRetryBackOffValidationError) Key Uses

func (e RetryPolicy_RateLimitedRetryBackOffValidationError) Key() bool

Key function returns key value.

func (RetryPolicy_RateLimitedRetryBackOffValidationError) Reason Uses

func (e RetryPolicy_RateLimitedRetryBackOffValidationError) Reason() string

Reason function returns reason value.

type RetryPolicy_ResetHeader Uses

type RetryPolicy_ResetHeader struct {

    // The name of the reset header.
    //
    // .. note::
    //
    //   If the header appears multiple times only the first value is used.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The format of the reset header.
    Format RetryPolicy_ResetHeaderFormat `protobuf:"varint,2,opt,name=format,proto3,enum=envoy.config.route.v4alpha.RetryPolicy_ResetHeaderFormat" json:"format,omitempty"`
    // contains filtered or unexported fields
}

func (*RetryPolicy_ResetHeader) Descriptor Uses

func (*RetryPolicy_ResetHeader) Descriptor() ([]byte, []int)

Deprecated: Use RetryPolicy_ResetHeader.ProtoReflect.Descriptor instead.

func (*RetryPolicy_ResetHeader) GetFormat Uses

func (x *RetryPolicy_ResetHeader) GetFormat() RetryPolicy_ResetHeaderFormat

func (*RetryPolicy_ResetHeader) GetName Uses

func (x *RetryPolicy_ResetHeader) GetName() string

func (*RetryPolicy_ResetHeader) ProtoMessage Uses

func (*RetryPolicy_ResetHeader) ProtoMessage()

func (*RetryPolicy_ResetHeader) ProtoReflect Uses

func (x *RetryPolicy_ResetHeader) ProtoReflect() protoreflect.Message

func (*RetryPolicy_ResetHeader) Reset Uses

func (x *RetryPolicy_ResetHeader) Reset()

func (*RetryPolicy_ResetHeader) String Uses

func (x *RetryPolicy_ResetHeader) String() string

func (*RetryPolicy_ResetHeader) Validate Uses

func (m *RetryPolicy_ResetHeader) Validate() error

Validate checks the field values on RetryPolicy_ResetHeader with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RetryPolicy_ResetHeaderFormat Uses

type RetryPolicy_ResetHeaderFormat int32
const (
    RetryPolicy_SECONDS        RetryPolicy_ResetHeaderFormat = 0
    RetryPolicy_UNIX_TIMESTAMP RetryPolicy_ResetHeaderFormat = 1
)

func (RetryPolicy_ResetHeaderFormat) Descriptor Uses

func (RetryPolicy_ResetHeaderFormat) Descriptor() protoreflect.EnumDescriptor

func (RetryPolicy_ResetHeaderFormat) Enum Uses

func (x RetryPolicy_ResetHeaderFormat) Enum() *RetryPolicy_ResetHeaderFormat

func (RetryPolicy_ResetHeaderFormat) EnumDescriptor Uses

func (RetryPolicy_ResetHeaderFormat) EnumDescriptor() ([]byte, []int)

Deprecated: Use RetryPolicy_ResetHeaderFormat.Descriptor instead.

func (RetryPolicy_ResetHeaderFormat) Number Uses

func (x RetryPolicy_ResetHeaderFormat) Number() protoreflect.EnumNumber

func (RetryPolicy_ResetHeaderFormat) String Uses

func (x RetryPolicy_ResetHeaderFormat) String() string

func (RetryPolicy_ResetHeaderFormat) Type Uses

func (RetryPolicy_ResetHeaderFormat) Type() protoreflect.EnumType

type RetryPolicy_ResetHeaderValidationError Uses

type RetryPolicy_ResetHeaderValidationError struct {
    // contains filtered or unexported fields
}

RetryPolicy_ResetHeaderValidationError is the validation error returned by RetryPolicy_ResetHeader.Validate if the designated constraints aren't met.

func (RetryPolicy_ResetHeaderValidationError) Cause Uses

func (e RetryPolicy_ResetHeaderValidationError) Cause() error

Cause function returns cause value.

func (RetryPolicy_ResetHeaderValidationError) Error Uses

func (e RetryPolicy_ResetHeaderValidationError) Error() string

Error satisfies the builtin error interface

func (RetryPolicy_ResetHeaderValidationError) ErrorName Uses

func (e RetryPolicy_ResetHeaderValidationError) ErrorName() string

ErrorName returns error name.

func (RetryPolicy_ResetHeaderValidationError) Field Uses

func (e RetryPolicy_ResetHeaderValidationError) Field() string

Field function returns field value.

func (RetryPolicy_ResetHeaderValidationError) Key Uses

func (e RetryPolicy_ResetHeaderValidationError) Key() bool

Key function returns key value.

func (RetryPolicy_ResetHeaderValidationError) Reason Uses

func (e RetryPolicy_ResetHeaderValidationError) Reason() string

Reason function returns reason value.

type RetryPolicy_RetryBackOff Uses

type RetryPolicy_RetryBackOff struct {

    // Specifies the base interval between retries. This parameter is required and must be greater
    // than zero. Values less than 1 ms are rounded up to 1 ms.
    // See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's
    // back-off algorithm.
    BaseInterval *duration.Duration `protobuf:"bytes,1,opt,name=base_interval,json=baseInterval,proto3" json:"base_interval,omitempty"`
    // Specifies the maximum interval between retries. This parameter is optional, but must be
    // greater than or equal to the `base_interval` if set. The default is 10 times the
    // `base_interval`. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion
    // of Envoy's back-off algorithm.
    MaxInterval *duration.Duration `protobuf:"bytes,2,opt,name=max_interval,json=maxInterval,proto3" json:"max_interval,omitempty"`
    // contains filtered or unexported fields
}

func (*RetryPolicy_RetryBackOff) Descriptor Uses

func (*RetryPolicy_RetryBackOff) Descriptor() ([]byte, []int)

Deprecated: Use RetryPolicy_RetryBackOff.ProtoReflect.Descriptor instead.

func (*RetryPolicy_RetryBackOff) GetBaseInterval Uses

func (x *RetryPolicy_RetryBackOff) GetBaseInterval() *duration.Duration

func (*RetryPolicy_RetryBackOff) GetMaxInterval Uses

func (x *RetryPolicy_RetryBackOff) GetMaxInterval() *duration.Duration

func (*RetryPolicy_RetryBackOff) ProtoMessage Uses

func (*RetryPolicy_RetryBackOff) ProtoMessage()

func (*RetryPolicy_RetryBackOff) ProtoReflect Uses

func (x *RetryPolicy_RetryBackOff) ProtoReflect() protoreflect.Message

func (*RetryPolicy_RetryBackOff) Reset Uses

func (x *RetryPolicy_RetryBackOff) Reset()

func (*RetryPolicy_RetryBackOff) String Uses

func (x *RetryPolicy_RetryBackOff) String() string

func (*RetryPolicy_RetryBackOff) Validate Uses

func (m *RetryPolicy_RetryBackOff) Validate() error

Validate checks the field values on RetryPolicy_RetryBackOff with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RetryPolicy_RetryBackOffValidationError Uses

type RetryPolicy_RetryBackOffValidationError struct {
    // contains filtered or unexported fields
}

RetryPolicy_RetryBackOffValidationError is the validation error returned by RetryPolicy_RetryBackOff.Validate if the designated constraints aren't met.

func (RetryPolicy_RetryBackOffValidationError) Cause Uses

func (e RetryPolicy_RetryBackOffValidationError) Cause() error

Cause function returns cause value.

func (RetryPolicy_RetryBackOffValidationError) Error Uses

func (e RetryPolicy_RetryBackOffValidationError) Error() string

Error satisfies the builtin error interface

func (RetryPolicy_RetryBackOffValidationError) ErrorName Uses

func (e RetryPolicy_RetryBackOffValidationError) ErrorName() string

ErrorName returns error name.

func (RetryPolicy_RetryBackOffValidationError) Field Uses

func (e RetryPolicy_RetryBackOffValidationError) Field() string

Field function returns field value.

func (RetryPolicy_RetryBackOffValidationError) Key Uses

func (e RetryPolicy_RetryBackOffValidationError) Key() bool

Key function returns key value.

func (RetryPolicy_RetryBackOffValidationError) Reason Uses

func (e RetryPolicy_RetryBackOffValidationError) Reason() string

Reason function returns reason value.

type RetryPolicy_RetryHostPredicate Uses

type RetryPolicy_RetryHostPredicate struct {
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Types that are assignable to ConfigType:
    //	*RetryPolicy_RetryHostPredicate_TypedConfig
    ConfigType isRetryPolicy_RetryHostPredicate_ConfigType `protobuf_oneof:"config_type"`
    // contains filtered or unexported fields
}

func (*RetryPolicy_RetryHostPredicate) Descriptor Uses

func (*RetryPolicy_RetryHostPredicate) Descriptor() ([]byte, []int)

Deprecated: Use RetryPolicy_RetryHostPredicate.ProtoReflect.Descriptor instead.

func (*RetryPolicy_RetryHostPredicate) GetConfigType Uses

func (m *RetryPolicy_RetryHostPredicate) GetConfigType() isRetryPolicy_RetryHostPredicate_ConfigType

func (*RetryPolicy_RetryHostPredicate) GetName Uses

func (x *RetryPolicy_RetryHostPredicate) GetName() string

func (*RetryPolicy_RetryHostPredicate) GetTypedConfig Uses

func (x *RetryPolicy_RetryHostPredicate) GetTypedConfig() *any.Any

func (*RetryPolicy_RetryHostPredicate) ProtoMessage Uses

func (*RetryPolicy_RetryHostPredicate) ProtoMessage()

func (*RetryPolicy_RetryHostPredicate) ProtoReflect Uses

func (x *RetryPolicy_RetryHostPredicate) ProtoReflect() protoreflect.Message

func (*RetryPolicy_RetryHostPredicate) Reset Uses

func (x *RetryPolicy_RetryHostPredicate) Reset()

func (*RetryPolicy_RetryHostPredicate) String Uses

func (x *RetryPolicy_RetryHostPredicate) String() string

func (*RetryPolicy_RetryHostPredicate) Validate Uses

func (m *RetryPolicy_RetryHostPredicate) Validate() error

Validate checks the field values on RetryPolicy_RetryHostPredicate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RetryPolicy_RetryHostPredicateValidationError Uses

type RetryPolicy_RetryHostPredicateValidationError struct {
    // contains filtered or unexported fields
}

RetryPolicy_RetryHostPredicateValidationError is the validation error returned by RetryPolicy_RetryHostPredicate.Validate if the designated constraints aren't met.

func (RetryPolicy_RetryHostPredicateValidationError) Cause Uses

func (e RetryPolicy_RetryHostPredicateValidationError) Cause() error

Cause function returns cause value.

func (RetryPolicy_RetryHostPredicateValidationError) Error Uses

func (e RetryPolicy_RetryHostPredicateValidationError) Error() string

Error satisfies the builtin error interface

func (RetryPolicy_RetryHostPredicateValidationError) ErrorName Uses

func (e RetryPolicy_RetryHostPredicateValidationError) ErrorName() string

ErrorName returns error name.

func (RetryPolicy_RetryHostPredicateValidationError) Field Uses

func (e RetryPolicy_RetryHostPredicateValidationError) Field() string

Field function returns field value.

func (RetryPolicy_RetryHostPredicateValidationError) Key Uses

func (e RetryPolicy_RetryHostPredicateValidationError) Key() bool

Key function returns key value.

func (RetryPolicy_RetryHostPredicateValidationError) Reason Uses

func (e RetryPolicy_RetryHostPredicateValidationError) Reason() string

Reason function returns reason value.

type RetryPolicy_RetryHostPredicate_TypedConfig Uses

type RetryPolicy_RetryHostPredicate_TypedConfig struct {
    TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

type RetryPolicy_RetryPriority Uses

type RetryPolicy_RetryPriority struct {
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Types that are assignable to ConfigType:
    //	*RetryPolicy_RetryPriority_TypedConfig
    ConfigType isRetryPolicy_RetryPriority_ConfigType `protobuf_oneof:"config_type"`
    // contains filtered or unexported fields
}

func (*RetryPolicy_RetryPriority) Descriptor Uses

func (*RetryPolicy_RetryPriority) Descriptor() ([]byte, []int)

Deprecated: Use RetryPolicy_RetryPriority.ProtoReflect.Descriptor instead.

func (*RetryPolicy_RetryPriority) GetConfigType Uses

func (m *RetryPolicy_RetryPriority) GetConfigType() isRetryPolicy_RetryPriority_ConfigType

func (*RetryPolicy_RetryPriority) GetName Uses

func (x *RetryPolicy_RetryPriority) GetName() string

func (*RetryPolicy_RetryPriority) GetTypedConfig Uses

func (x *RetryPolicy_RetryPriority) GetTypedConfig() *any.Any

func (*RetryPolicy_RetryPriority) ProtoMessage Uses

func (*RetryPolicy_RetryPriority) ProtoMessage()

func (*RetryPolicy_RetryPriority) ProtoReflect Uses

func (x *RetryPolicy_RetryPriority) ProtoReflect() protoreflect.Message

func (*RetryPolicy_RetryPriority) Reset Uses

func (x *RetryPolicy_RetryPriority) Reset()

func (*RetryPolicy_RetryPriority) String Uses

func (x *RetryPolicy_RetryPriority) String() string

func (*RetryPolicy_RetryPriority) Validate Uses

func (m *RetryPolicy_RetryPriority) Validate() error

Validate checks the field values on RetryPolicy_RetryPriority with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RetryPolicy_RetryPriorityValidationError Uses

type RetryPolicy_RetryPriorityValidationError struct {
    // contains filtered or unexported fields
}

RetryPolicy_RetryPriorityValidationError is the validation error returned by RetryPolicy_RetryPriority.Validate if the designated constraints aren't met.

func (RetryPolicy_RetryPriorityValidationError) Cause Uses

func (e RetryPolicy_RetryPriorityValidationError) Cause() error

Cause function returns cause value.

func (RetryPolicy_RetryPriorityValidationError) Error Uses

func (e RetryPolicy_RetryPriorityValidationError) Error() string

Error satisfies the builtin error interface

func (RetryPolicy_RetryPriorityValidationError) ErrorName Uses

func (e RetryPolicy_RetryPriorityValidationError) ErrorName() string

ErrorName returns error name.

func (RetryPolicy_RetryPriorityValidationError) Field Uses

func (e RetryPolicy_RetryPriorityValidationError) Field() string

Field function returns field value.

func (RetryPolicy_RetryPriorityValidationError) Key Uses

func (e RetryPolicy_RetryPriorityValidationError) Key() bool

Key function returns key value.

func (RetryPolicy_RetryPriorityValidationError) Reason Uses

func (e RetryPolicy_RetryPriorityValidationError) Reason() string

Reason function returns reason value.

type RetryPolicy_RetryPriority_TypedConfig Uses

type RetryPolicy_RetryPriority_TypedConfig struct {
    TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

type Route Uses

type Route struct {

    // Name for the route.
    Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name,omitempty"`
    // Route matching parameters.
    Match *RouteMatch `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"`
    // Types that are assignable to Action:
    //	*Route_Route
    //	*Route_Redirect
    //	*Route_DirectResponse
    //	*Route_FilterAction
    Action isRoute_Action `protobuf_oneof:"action"`
    // The Metadata field can be used to provide additional information
    // about the route. It can be used for configuration, stats, and logging.
    // The metadata should go under the filter namespace that will need it.
    // For instance, if the metadata is intended for the Router filter,
    // the filter name should be specified as *envoy.filters.http.router*.
    Metadata *v4alpha.Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
    // Decorator for the matched route.
    Decorator *Decorator `protobuf:"bytes,5,opt,name=decorator,proto3" json:"decorator,omitempty"`
    // The typed_per_filter_config field can be used to provide route-specific
    // configurations for filters. The key should match the filter name, such as
    // *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
    // specific; see the :ref:`HTTP filter documentation <config_http_filters>` for
    // if and how it is utilized.
    TypedPerFilterConfig map[string]*any.Any `protobuf:"bytes,13,rep,name=typed_per_filter_config,json=typedPerFilterConfig,proto3" json:"typed_per_filter_config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Specifies a set of headers that will be added to requests matching this
    // route. Headers specified at this level are applied before headers from the
    // enclosing :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost` and
    // :ref:`envoy_api_msg_config.route.v4alpha.RouteConfiguration`. For more information, including details on
    // header value syntax, see the documentation on :ref:`custom request headers
    // <config_http_conn_man_headers_custom_request_headers>`.
    RequestHeadersToAdd []*v4alpha.HeaderValueOption `protobuf:"bytes,9,rep,name=request_headers_to_add,json=requestHeadersToAdd,proto3" json:"request_headers_to_add,omitempty"`
    // Specifies a list of HTTP headers that should be removed from each request
    // matching this route.
    RequestHeadersToRemove []string `protobuf:"bytes,12,rep,name=request_headers_to_remove,json=requestHeadersToRemove,proto3" json:"request_headers_to_remove,omitempty"`
    // Specifies a set of headers that will be added to responses to requests
    // matching this route. Headers specified at this level are applied before
    // headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost` and
    // :ref:`envoy_api_msg_config.route.v4alpha.RouteConfiguration`. For more information, including
    // details on header value syntax, see the documentation on
    // :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
    ResponseHeadersToAdd []*v4alpha.HeaderValueOption `protobuf:"bytes,10,rep,name=response_headers_to_add,json=responseHeadersToAdd,proto3" json:"response_headers_to_add,omitempty"`
    // Specifies a list of HTTP headers that should be removed from each response
    // to requests matching this route.
    ResponseHeadersToRemove []string `protobuf:"bytes,11,rep,name=response_headers_to_remove,json=responseHeadersToRemove,proto3" json:"response_headers_to_remove,omitempty"`
    // Presence of the object defines whether the connection manager's tracing configuration
    // is overridden by this route specific instance.
    Tracing *Tracing `protobuf:"bytes,15,opt,name=tracing,proto3" json:"tracing,omitempty"`
    // The maximum bytes which will be buffered for retries and shadowing.
    // If set, the bytes actually buffered will be the minimum value of this and the
    // listener per_connection_buffer_limit_bytes.
    PerRequestBufferLimitBytes *wrappers.UInt32Value `protobuf:"bytes,16,opt,name=per_request_buffer_limit_bytes,json=perRequestBufferLimitBytes,proto3" json:"per_request_buffer_limit_bytes,omitempty"`
    // contains filtered or unexported fields
}

A route is both a specification of how to match a request as well as an indication of what to do next (e.g., redirect, forward, rewrite, etc.).

.. attention::

Envoy supports routing on HTTP method via :ref:`header matching
<envoy_api_msg_config.route.v4alpha.HeaderMatcher>`.

[#next-free-field: 18]

func (*Route) Descriptor Uses

func (*Route) Descriptor() ([]byte, []int)

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetAction Uses

func (m *Route) GetAction() isRoute_Action

func (*Route) GetDecorator Uses

func (x *Route) GetDecorator() *Decorator

func (*Route) GetDirectResponse Uses

func (x *Route) GetDirectResponse() *DirectResponseAction

func (*Route) GetFilterAction Uses

func (x *Route) GetFilterAction() *FilterAction

func (*Route) GetMatch Uses

func (x *Route) GetMatch() *RouteMatch

func (*Route) GetMetadata Uses

func (x *Route) GetMetadata() *v4alpha.Metadata

func (*Route) GetName Uses

func (x *Route) GetName() string

func (*Route) GetPerRequestBufferLimitBytes Uses

func (x *Route) GetPerRequestBufferLimitBytes() *wrappers.UInt32Value

func (*Route) GetRedirect Uses

func (x *Route) GetRedirect() *RedirectAction

func (*Route) GetRequestHeadersToAdd Uses

func (x *Route) GetRequestHeadersToAdd() []*v4alpha.HeaderValueOption

func (*Route) GetRequestHeadersToRemove Uses

func (x *Route) GetRequestHeadersToRemove() []string

func (*Route) GetResponseHeadersToAdd Uses

func (x *Route) GetResponseHeadersToAdd() []*v4alpha.HeaderValueOption

func (*Route) GetResponseHeadersToRemove Uses

func (x *Route) GetResponseHeadersToRemove() []string

func (*Route) GetRoute Uses

func (x *Route) GetRoute() *RouteAction

func (*Route) GetTracing Uses

func (x *Route) GetTracing() *Tracing

func (*Route) GetTypedPerFilterConfig Uses

func (x *Route) GetTypedPerFilterConfig() map[string]*any.Any

func (*Route) ProtoMessage Uses

func (*Route) ProtoMessage()

func (*Route) ProtoReflect Uses

func (x *Route) ProtoReflect() protoreflect.Message

func (*Route) Reset Uses

func (x *Route) Reset()

func (*Route) String Uses

func (x *Route) String() string

func (*Route) Validate Uses

func (m *Route) Validate() error

Validate checks the field values on Route with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RouteAction Uses

type RouteAction struct {

    // Types that are assignable to ClusterSpecifier:
    //	*RouteAction_Cluster
    //	*RouteAction_ClusterHeader
    //	*RouteAction_WeightedClusters
    ClusterSpecifier isRouteAction_ClusterSpecifier `protobuf_oneof:"cluster_specifier"`
    // The HTTP status code to use when configured cluster is not found.
    // The default response code is 503 Service Unavailable.
    ClusterNotFoundResponseCode RouteAction_ClusterNotFoundResponseCode `protobuf:"varint,20,opt,name=cluster_not_found_response_code,json=clusterNotFoundResponseCode,proto3,enum=envoy.config.route.v4alpha.RouteAction_ClusterNotFoundResponseCode" json:"cluster_not_found_response_code,omitempty"`
    // Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints
    // in the upstream cluster with metadata matching what's set in this field will be considered
    // for load balancing. If using :ref:`weighted_clusters
    // <envoy_api_field_config.route.v4alpha.RouteAction.weighted_clusters>`, metadata will be merged, with values
    // provided there taking precedence. The filter name should be specified as *envoy.lb*.
    MetadataMatch *v4alpha.Metadata `protobuf:"bytes,4,opt,name=metadata_match,json=metadataMatch,proto3" json:"metadata_match,omitempty"`
    // Indicates that during forwarding, the matched prefix (or path) should be
    // swapped with this value. This option allows application URLs to be rooted
    // at a different path from those exposed at the reverse proxy layer. The router filter will
    // place the original path before rewrite into the :ref:`x-envoy-original-path
    // <config_http_filters_router_x-envoy-original-path>` header.
    //
    // Only one of *prefix_rewrite* or
    // :ref:`regex_rewrite <envoy_api_field_config.route.v4alpha.RouteAction.regex_rewrite>`
    // may be specified.
    //
    // .. attention::
    //
    //   Pay careful attention to the use of trailing slashes in the
    //   :ref:`route's match <envoy_api_field_config.route.v4alpha.Route.match>` prefix value.
    //   Stripping a prefix from a path requires multiple Routes to handle all cases. For example,
    //   rewriting */prefix* to */* and */prefix/etc* to */etc* cannot be done in a single
    //   :ref:`Route <envoy_api_msg_config.route.v4alpha.Route>`, as shown by the below config entries:
    //
    //   .. code-block:: yaml
    //
    //     - match:
    //         prefix: "/prefix/"
    //       route:
    //         prefix_rewrite: "/"
    //     - match:
    //         prefix: "/prefix"
    //       route:
    //         prefix_rewrite: "/"
    //
    //   Having above entries in the config, requests to */prefix* will be stripped to */*, while
    //   requests to */prefix/etc* will be stripped to */etc*.
    PrefixRewrite string `protobuf:"bytes,5,opt,name=prefix_rewrite,json=prefixRewrite,proto3" json:"prefix_rewrite,omitempty"`
    // Indicates that during forwarding, portions of the path that match the
    // pattern should be rewritten, even allowing the substitution of capture
    // groups from the pattern into the new path as specified by the rewrite
    // substitution string. This is useful to allow application paths to be
    // rewritten in a way that is aware of segments with variable content like
    // identifiers. The router filter will place the original path as it was
    // before the rewrite into the :ref:`x-envoy-original-path
    // <config_http_filters_router_x-envoy-original-path>` header.
    //
    // Only one of :ref:`prefix_rewrite <envoy_api_field_config.route.v4alpha.RouteAction.prefix_rewrite>`
    // or *regex_rewrite* may be specified.
    //
    // Examples using Google's `RE2 <https://github.com/google/re2>`_ engine:
    //
    // * The path pattern ``^/service/([^/]+)(/.*)$`` paired with a substitution
    //   string of ``\2/instance/\1`` would transform ``/service/foo/v1/api``
    //   into ``/v1/api/instance/foo``.
    //
    // * The pattern ``one`` paired with a substitution string of ``two`` would
    //   transform ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/two/zzz``.
    //
    // * The pattern ``^(.*?)one(.*)$`` paired with a substitution string of
    //   ``\1two\2`` would replace only the first occurrence of ``one``,
    //   transforming path ``/xxx/one/yyy/one/zzz`` into ``/xxx/two/yyy/one/zzz``.
    //
    // * The pattern ``(?i)/xxx/`` paired with a substitution string of ``/yyy/``
    //   would do a case-insensitive match and transform path ``/aaa/XxX/bbb`` to
    //   ``/aaa/yyy/bbb``.
    RegexRewrite *v4alpha1.RegexMatchAndSubstitute `protobuf:"bytes,32,opt,name=regex_rewrite,json=regexRewrite,proto3" json:"regex_rewrite,omitempty"`
    // Types that are assignable to HostRewriteSpecifier:
    //	*RouteAction_HostRewriteLiteral
    //	*RouteAction_AutoHostRewrite
    //	*RouteAction_HostRewriteHeader
    //	*RouteAction_HostRewritePathRegex
    HostRewriteSpecifier isRouteAction_HostRewriteSpecifier `protobuf_oneof:"host_rewrite_specifier"`
    // Specifies the upstream timeout for the route. If not specified, the default is 15s. This
    // spans between the point at which the entire downstream request (i.e. end-of-stream) has been
    // processed and when the upstream response has been completely processed. A value of 0 will
    // disable the route's timeout.
    //
    // .. note::
    //
    //   This timeout includes all retries. See also
    //   :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`,
    //   :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the
    //   :ref:`retry overview <arch_overview_http_routing_retry>`.
    Timeout *duration.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"`
    // Specifies the idle timeout for the route. If not specified, there is no per-route idle timeout,
    // although the connection manager wide :ref:`stream_idle_timeout
    // <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.stream_idle_timeout>`
    // will still apply. A value of 0 will completely disable the route's idle timeout, even if a
    // connection manager stream idle timeout is configured.
    //
    // The idle timeout is distinct to :ref:`timeout
    // <envoy_api_field_config.route.v4alpha.RouteAction.timeout>`, which provides an upper bound
    // on the upstream response time; :ref:`idle_timeout
    // <envoy_api_field_config.route.v4alpha.RouteAction.idle_timeout>` instead bounds the amount
    // of time the request's stream may be idle.
    //
    // After header decoding, the idle timeout will apply on downstream and
    // upstream request events. Each time an encode/decode event for headers or
    // data is processed for the stream, the timer will be reset. If the timeout
    // fires, the stream is terminated with a 408 Request Timeout error code if no
    // upstream response header has been received, otherwise a stream reset
    // occurs.
    //
    // If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts"
    // is configured, this timeout is scaled according to the value for
    // :ref:`HTTP_DOWNSTREAM_STREAM_IDLE <envoy_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_STREAM_IDLE>`.
    IdleTimeout *duration.Duration `protobuf:"bytes,24,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
    // Indicates that the route has a retry policy. Note that if this is set,
    // it'll take precedence over the virtual host level retry policy entirely
    // (e.g.: policies are not merged, most internal one becomes the enforced policy).
    RetryPolicy *RetryPolicy `protobuf:"bytes,9,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
    // [#not-implemented-hide:]
    // Specifies the configuration for retry policy extension. Note that if this is set, it'll take
    // precedence over the virtual host level retry policy entirely (e.g.: policies are not merged,
    // most internal one becomes the enforced policy). :ref:`Retry policy <envoy_api_field_config.route.v4alpha.VirtualHost.retry_policy>`
    // should not be set if this field is used.
    RetryPolicyTypedConfig *any.Any `protobuf:"bytes,33,opt,name=retry_policy_typed_config,json=retryPolicyTypedConfig,proto3" json:"retry_policy_typed_config,omitempty"`
    // Indicates that the route has request mirroring policies.
    RequestMirrorPolicies []*RouteAction_RequestMirrorPolicy `protobuf:"bytes,30,rep,name=request_mirror_policies,json=requestMirrorPolicies,proto3" json:"request_mirror_policies,omitempty"`
    // Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
    Priority v4alpha.RoutingPriority `protobuf:"varint,11,opt,name=priority,proto3,enum=envoy.config.core.v4alpha.RoutingPriority" json:"priority,omitempty"`
    // Specifies a set of rate limit configurations that could be applied to the
    // route.
    RateLimits []*RateLimit `protobuf:"bytes,13,rep,name=rate_limits,json=rateLimits,proto3" json:"rate_limits,omitempty"`
    // Specifies if the rate limit filter should include the virtual host rate
    // limits. By default, if the route configured rate limits, the virtual host
    // :ref:`rate_limits <envoy_api_field_config.route.v4alpha.VirtualHost.rate_limits>` are not applied to the
    // request.
    //
    // This field is deprecated. Please use :ref:`vh_rate_limits <envoy_v3_api_field_extensions.filters.http.ratelimit.v3.RateLimitPerRoute.vh_rate_limits>`
    //
    // Deprecated: Do not use.
    HiddenEnvoyDeprecatedIncludeVhRateLimits *wrappers.BoolValue `protobuf:"bytes,14,opt,name=hidden_envoy_deprecated_include_vh_rate_limits,json=hiddenEnvoyDeprecatedIncludeVhRateLimits,proto3" json:"hidden_envoy_deprecated_include_vh_rate_limits,omitempty"`
    // Specifies a list of hash policies to use for ring hash load balancing. Each
    // hash policy is evaluated individually and the combined result is used to
    // route the request. The method of combination is deterministic such that
    // identical lists of hash policies will produce the same hash. Since a hash
    // policy examines specific parts of a request, it can fail to produce a hash
    // (i.e. if the hashed header is not present). If (and only if) all configured
    // hash policies fail to generate a hash, no hash will be produced for
    // the route. In this case, the behavior is the same as if no hash policies
    // were specified (i.e. the ring hash load balancer will choose a random
    // backend). If a hash policy has the "terminal" attribute set to true, and
    // there is already a hash generated, the hash is returned immediately,
    // ignoring the rest of the hash policy list.
    HashPolicy []*RouteAction_HashPolicy `protobuf:"bytes,15,rep,name=hash_policy,json=hashPolicy,proto3" json:"hash_policy,omitempty"`
    // Indicates that the route has a CORS policy.
    Cors *CorsPolicy `protobuf:"bytes,17,opt,name=cors,proto3" json:"cors,omitempty"`
    // Deprecated by :ref:`grpc_timeout_header_max <envoy_api_field_config.route.v4alpha.RouteAction.MaxStreamDuration.grpc_timeout_header_max>`
    // If present, and the request is a gRPC request, use the
    // `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_,
    // or its default value (infinity) instead of
    // :ref:`timeout <envoy_api_field_config.route.v4alpha.RouteAction.timeout>`, but limit the applied timeout
    // to the maximum value specified here. If configured as 0, the maximum allowed timeout for
    // gRPC requests is infinity. If not configured at all, the `grpc-timeout` header is not used
    // and gRPC requests time out like any other requests using
    // :ref:`timeout <envoy_api_field_config.route.v4alpha.RouteAction.timeout>` or its default.
    // This can be used to prevent unexpected upstream request timeouts due to potentially long
    // time gaps between gRPC request and response in gRPC streaming mode.
    //
    // .. note::
    //
    //    If a timeout is specified using :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, it takes
    //    precedence over `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, when
    //    both are present. See also
    //    :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`,
    //    :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the
    //    :ref:`retry overview <arch_overview_http_routing_retry>`.
    //
    // Deprecated: Do not use.
    HiddenEnvoyDeprecatedMaxGrpcTimeout *duration.Duration `protobuf:"bytes,23,opt,name=hidden_envoy_deprecated_max_grpc_timeout,json=hiddenEnvoyDeprecatedMaxGrpcTimeout,proto3" json:"hidden_envoy_deprecated_max_grpc_timeout,omitempty"`
    // Deprecated by :ref:`grpc_timeout_header_offset <envoy_api_field_config.route.v4alpha.RouteAction.MaxStreamDuration.grpc_timeout_header_offset>`.
    // If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting
    // the provided duration from the header. This is useful in allowing Envoy to set its global
    // timeout to be less than that of the deadline imposed by the calling client, which makes it more
    // likely that Envoy will handle the timeout instead of having the call canceled by the client.
    // The offset will only be applied if the provided grpc_timeout is greater than the offset. This
    // ensures that the offset will only ever decrease the timeout and never set it to 0 (meaning
    // infinity).
    //
    // Deprecated: Do not use.
    HiddenEnvoyDeprecatedGrpcTimeoutOffset *duration.Duration           `protobuf:"bytes,28,opt,name=hidden_envoy_deprecated_grpc_timeout_offset,json=hiddenEnvoyDeprecatedGrpcTimeoutOffset,proto3" json:"hidden_envoy_deprecated_grpc_timeout_offset,omitempty"`
    UpgradeConfigs                         []*RouteAction_UpgradeConfig `protobuf:"bytes,25,rep,name=upgrade_configs,json=upgradeConfigs,proto3" json:"upgrade_configs,omitempty"`
    // If present, Envoy will try to follow an upstream redirect response instead of proxying the
    // response back to the downstream. An upstream redirect response is defined
    // by :ref:`redirect_response_codes
    // <envoy_api_field_config.route.v4alpha.InternalRedirectPolicy.redirect_response_codes>`.
    InternalRedirectPolicy *InternalRedirectPolicy `protobuf:"bytes,34,opt,name=internal_redirect_policy,json=internalRedirectPolicy,proto3" json:"internal_redirect_policy,omitempty"`
    // Deprecated: Do not use.
    HiddenEnvoyDeprecatedInternalRedirectAction RouteAction_InternalRedirectAction `protobuf:"varint,26,opt,name=hidden_envoy_deprecated_internal_redirect_action,json=hiddenEnvoyDeprecatedInternalRedirectAction,proto3,enum=envoy.config.route.v4alpha.RouteAction_InternalRedirectAction" json:"hidden_envoy_deprecated_internal_redirect_action,omitempty"`
    // An internal redirect is handled, iff the number of previous internal redirects that a
    // downstream request has encountered is lower than this value, and
    // :ref:`internal_redirect_action <envoy_api_field_config.route.v4alpha.RouteAction.internal_redirect_action>`
    // is set to :ref:`HANDLE_INTERNAL_REDIRECT
    // <envoy_api_enum_value_config.route.v4alpha.RouteAction.InternalRedirectAction.HANDLE_INTERNAL_REDIRECT>`
    // In the case where a downstream request is bounced among multiple routes by internal redirect,
    // the first route that hits this threshold, or has
    // :ref:`internal_redirect_action <envoy_api_field_config.route.v4alpha.RouteAction.internal_redirect_action>`
    // set to
    // :ref:`PASS_THROUGH_INTERNAL_REDIRECT
    // <envoy_api_enum_value_config.route.v4alpha.RouteAction.InternalRedirectAction.PASS_THROUGH_INTERNAL_REDIRECT>`
    // will pass the redirect back to downstream.
    //
    // If not specified, at most one redirect will be followed.
    //
    // Deprecated: Do not use.
    HiddenEnvoyDeprecatedMaxInternalRedirects *wrappers.UInt32Value `protobuf:"bytes,31,opt,name=hidden_envoy_deprecated_max_internal_redirects,json=hiddenEnvoyDeprecatedMaxInternalRedirects,proto3" json:"hidden_envoy_deprecated_max_internal_redirects,omitempty"`
    // Indicates that the route has a hedge policy. Note that if this is set,
    // it'll take precedence over the virtual host level hedge policy entirely
    // (e.g.: policies are not merged, most internal one becomes the enforced policy).
    HedgePolicy *HedgePolicy `protobuf:"bytes,27,opt,name=hedge_policy,json=hedgePolicy,proto3" json:"hedge_policy,omitempty"`
    // Specifies the maximum stream duration for this route.
    MaxStreamDuration *RouteAction_MaxStreamDuration `protobuf:"bytes,36,opt,name=max_stream_duration,json=maxStreamDuration,proto3" json:"max_stream_duration,omitempty"`
    // contains filtered or unexported fields
}

[#next-free-field: 37]

func (*RouteAction) Descriptor Uses

func (*RouteAction) Descriptor() ([]byte, []int)

Deprecated: Use RouteAction.ProtoReflect.Descriptor instead.

func (*RouteAction) GetAutoHostRewrite Uses

func (x *RouteAction) GetAutoHostRewrite() *wrappers.BoolValue

func (*RouteAction) GetCluster Uses

func (x *RouteAction) GetCluster() string

func (*RouteAction) GetClusterHeader Uses

func (x *RouteAction) GetClusterHeader() string

func (*RouteAction) GetClusterNotFoundResponseCode Uses

func (x *RouteAction) GetClusterNotFoundResponseCode() RouteAction_ClusterNotFoundResponseCode

func (*RouteAction) GetClusterSpecifier Uses

func (m *RouteAction) GetClusterSpecifier() isRouteAction_ClusterSpecifier

func (*RouteAction) GetCors Uses

func (x *RouteAction) GetCors() *CorsPolicy

func (*RouteAction) GetHashPolicy Uses

func (x *RouteAction) GetHashPolicy() []*RouteAction_HashPolicy

func (*RouteAction) GetHedgePolicy Uses

func (x *RouteAction) GetHedgePolicy() *HedgePolicy

func (*RouteAction) GetHiddenEnvoyDeprecatedGrpcTimeoutOffset Uses

func (x *RouteAction) GetHiddenEnvoyDeprecatedGrpcTimeoutOffset() *duration.Duration

Deprecated: Do not use.

func (*RouteAction) GetHiddenEnvoyDeprecatedIncludeVhRateLimits Uses

func (x *RouteAction) GetHiddenEnvoyDeprecatedIncludeVhRateLimits() *wrappers.BoolValue

Deprecated: Do not use.

func (*RouteAction) GetHiddenEnvoyDeprecatedInternalRedirectAction Uses

func (x *RouteAction) GetHiddenEnvoyDeprecatedInternalRedirectAction() RouteAction_InternalRedirectAction

Deprecated: Do not use.

func (*RouteAction) GetHiddenEnvoyDeprecatedMaxGrpcTimeout Uses

func (x *RouteAction) GetHiddenEnvoyDeprecatedMaxGrpcTimeout() *duration.Duration

Deprecated: Do not use.

func (*RouteAction) GetHiddenEnvoyDeprecatedMaxInternalRedirects Uses

func (x *RouteAction) GetHiddenEnvoyDeprecatedMaxInternalRedirects() *wrappers.UInt32Value

Deprecated: Do not use.

func (*RouteAction) GetHostRewriteHeader Uses

func (x *RouteAction) GetHostRewriteHeader() string

func (*RouteAction) GetHostRewriteLiteral Uses

func (x *RouteAction) GetHostRewriteLiteral() string

func (*RouteAction) GetHostRewritePathRegex Uses

func (x *RouteAction) GetHostRewritePathRegex() *v4alpha1.RegexMatchAndSubstitute

func (*RouteAction) GetHostRewriteSpecifier Uses

func (m *RouteAction) GetHostRewriteSpecifier() isRouteAction_HostRewriteSpecifier

func (*RouteAction) GetIdleTimeout Uses

func (x *RouteAction) GetIdleTimeout() *duration.Duration

func (*RouteAction) GetInternalRedirectPolicy Uses

func (x *RouteAction) GetInternalRedirectPolicy() *InternalRedirectPolicy

func (*RouteAction) GetMaxStreamDuration Uses

func (x *RouteAction) GetMaxStreamDuration() *RouteAction_MaxStreamDuration

func (*RouteAction) GetMetadataMatch Uses

func (x *RouteAction) GetMetadataMatch() *v4alpha.Metadata

func (*RouteAction) GetPrefixRewrite Uses

func (x *RouteAction) GetPrefixRewrite() string

func (*RouteAction) GetPriority Uses

func (x *RouteAction) GetPriority() v4alpha.RoutingPriority

func (*RouteAction) GetRateLimits Uses

func (x *RouteAction) GetRateLimits() []*RateLimit

func (*RouteAction) GetRegexRewrite Uses

func (x *RouteAction) GetRegexRewrite() *v4alpha1.RegexMatchAndSubstitute

func (*RouteAction) GetRequestMirrorPolicies Uses

func (x *RouteAction) GetRequestMirrorPolicies() []*RouteAction_RequestMirrorPolicy

func (*RouteAction) GetRetryPolicy Uses

func (x *RouteAction) GetRetryPolicy() *RetryPolicy

func (*RouteAction) GetRetryPolicyTypedConfig Uses

func (x *RouteAction) GetRetryPolicyTypedConfig() *any.Any

func (*RouteAction) GetTimeout Uses

func (x *RouteAction) GetTimeout() *duration.Duration

func (*RouteAction) GetUpgradeConfigs Uses

func (x *RouteAction) GetUpgradeConfigs() []*RouteAction_UpgradeConfig

func (*RouteAction) GetWeightedClusters Uses

func (x *RouteAction) GetWeightedClusters() *WeightedCluster

func (*RouteAction) ProtoMessage Uses

func (*RouteAction) ProtoMessage()

func (*RouteAction) ProtoReflect Uses

func (x *RouteAction) ProtoReflect() protoreflect.Message

func (*RouteAction) Reset Uses

func (x *RouteAction) Reset()

func (*RouteAction) String Uses

func (x *RouteAction) String() string

func (*RouteAction) Validate Uses

func (m *RouteAction) Validate() error

Validate checks the field values on RouteAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RouteActionValidationError Uses

type RouteActionValidationError struct {
    // contains filtered or unexported fields
}

RouteActionValidationError is the validation error returned by RouteAction.Validate if the designated constraints aren't met.

func (RouteActionValidationError) Cause Uses

func (e RouteActionValidationError) Cause() error

Cause function returns cause value.

func (RouteActionValidationError) Error Uses

func (e RouteActionValidationError) Error() string

Error satisfies the builtin error interface

func (RouteActionValidationError) ErrorName Uses

func (e RouteActionValidationError) ErrorName() string

ErrorName returns error name.

func (RouteActionValidationError) Field Uses

func (e RouteActionValidationError) Field() string

Field function returns field value.

func (RouteActionValidationError) Key Uses

func (e RouteActionValidationError) Key() bool

Key function returns key value.

func (RouteActionValidationError) Reason Uses

func (e RouteActionValidationError) Reason() string

Reason function returns reason value.

type RouteAction_AutoHostRewrite Uses

type RouteAction_AutoHostRewrite struct {
    // Indicates that during forwarding, the host header will be swapped with
    // the hostname of the upstream host chosen by the cluster manager. This
    // option is applicable only when the destination cluster for a route is of
    // type *strict_dns* or *logical_dns*. Setting this to true with other cluster
    // types has no effect.
    AutoHostRewrite *wrappers.BoolValue `protobuf:"bytes,7,opt,name=auto_host_rewrite,json=autoHostRewrite,proto3,oneof"`
}

type RouteAction_Cluster Uses

type RouteAction_Cluster struct {
    // Indicates the upstream cluster to which the request should be routed
    // to.
    Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3,oneof"`
}

type RouteAction_ClusterHeader Uses

type RouteAction_ClusterHeader struct {
    // Envoy will determine the cluster to route to by reading the value of the
    // HTTP header named by cluster_header from the request headers. If the
    // header is not found or the referenced cluster does not exist, Envoy will
    // return a 404 response.
    //
    // .. attention::
    //
    //   Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1
    //   *Host* header. Thus, if attempting to match on *Host*, match on *:authority* instead.
    //
    // .. note::
    //
    //   If the header appears multiple times only the first value is used.
    ClusterHeader string `protobuf:"bytes,2,opt,name=cluster_header,json=clusterHeader,proto3,oneof"`
}

type RouteAction_ClusterNotFoundResponseCode Uses

type RouteAction_ClusterNotFoundResponseCode int32
const (
    // HTTP status code - 503 Service Unavailable.
    RouteAction_SERVICE_UNAVAILABLE RouteAction_ClusterNotFoundResponseCode = 0
    // HTTP status code - 404 Not Found.
    RouteAction_NOT_FOUND RouteAction_ClusterNotFoundResponseCode = 1
)

func (RouteAction_ClusterNotFoundResponseCode) Descriptor Uses

func (RouteAction_ClusterNotFoundResponseCode) Descriptor() protoreflect.EnumDescriptor

func (RouteAction_ClusterNotFoundResponseCode) Enum Uses

func (x RouteAction_ClusterNotFoundResponseCode) Enum() *RouteAction_ClusterNotFoundResponseCode

func (RouteAction_ClusterNotFoundResponseCode) EnumDescriptor Uses

func (RouteAction_ClusterNotFoundResponseCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use RouteAction_ClusterNotFoundResponseCode.Descriptor instead.

func (RouteAction_ClusterNotFoundResponseCode) Number Uses

func (x RouteAction_ClusterNotFoundResponseCode) Number() protoreflect.EnumNumber

func (RouteAction_ClusterNotFoundResponseCode) String Uses

func (x RouteAction_ClusterNotFoundResponseCode) String() string

func (RouteAction_ClusterNotFoundResponseCode) Type Uses

func (RouteAction_ClusterNotFoundResponseCode) Type() protoreflect.EnumType

type RouteAction_HashPolicy Uses

type RouteAction_HashPolicy struct {

    // Types that are assignable to PolicySpecifier:
    //	*RouteAction_HashPolicy_Header_
    //	*RouteAction_HashPolicy_Cookie_
    //	*RouteAction_HashPolicy_ConnectionProperties_
    //	*RouteAction_HashPolicy_QueryParameter_
    //	*RouteAction_HashPolicy_FilterState_
    PolicySpecifier isRouteAction_HashPolicy_PolicySpecifier `protobuf_oneof:"policy_specifier"`
    // The flag that short-circuits the hash computing. This field provides a
    // 'fallback' style of configuration: "if a terminal policy doesn't work,
    // fallback to rest of the policy list", it saves time when the terminal
    // policy works.
    //
    // If true, and there is already a hash computed, ignore rest of the
    // list of hash polices.
    // For example, if the following hash methods are configured:
    //
    //  ========= ========
    //  specifier terminal
    //  ========= ========
    //  Header A  true
    //  Header B  false
    //  Header C  false
    //  ========= ========
    //
    // The generateHash process ends if policy "header A" generates a hash, as
    // it's a terminal policy.
    Terminal bool `protobuf:"varint,4,opt,name=terminal,proto3" json:"terminal,omitempty"`
    // contains filtered or unexported fields
}

Specifies the route's hashing policy if the upstream cluster uses a hashing :ref:`load balancer <arch_overview_load_balancing_types>`. [#next-free-field: 7]

func (*RouteAction_HashPolicy) Descriptor Uses

func (*RouteAction_HashPolicy) Descriptor() ([]byte, []int)

Deprecated: Use RouteAction_HashPolicy.ProtoReflect.Descriptor instead.

func (*RouteAction_HashPolicy) GetConnectionProperties Uses

func (x *RouteAction_HashPolicy) GetConnectionProperties() *RouteAction_HashPolicy_ConnectionProperties

func (*RouteAction_HashPolicy) GetCookie Uses

func (x *RouteAction_HashPolicy) GetCookie() *RouteAction_HashPolicy_Cookie

func (*RouteAction_HashPolicy) GetFilterState Uses

func (x *RouteAction_HashPolicy) GetFilterState() *RouteAction_HashPolicy_FilterState

func (*RouteAction_HashPolicy) GetHeader Uses

func (x *RouteAction_HashPolicy) GetHeader() *RouteAction_HashPolicy_Header

func (*RouteAction_HashPolicy) GetPolicySpecifier Uses

func (m *RouteAction_HashPolicy) GetPolicySpecifier() isRouteAction_HashPolicy_PolicySpecifier

func (*RouteAction_HashPolicy) GetQueryParameter Uses

func (x *RouteAction_HashPolicy) GetQueryParameter() *RouteAction_HashPolicy_QueryParameter

func (*RouteAction_HashPolicy) GetTerminal Uses

func (x *RouteAction_HashPolicy) GetTerminal() bool

func (*RouteAction_HashPolicy) ProtoMessage Uses

func (*RouteAction_HashPolicy) ProtoMessage()

func (*RouteAction_HashPolicy) ProtoReflect Uses

func (x *RouteAction_HashPolicy) ProtoReflect() protoreflect.Message

func (*RouteAction_HashPolicy) Reset Uses

func (x *RouteAction_HashPolicy) Reset()

func (*RouteAction_HashPolicy) String Uses

func (x *RouteAction_HashPolicy) String() string

func (*RouteAction_HashPolicy) Validate Uses

func (m *RouteAction_HashPolicy) Validate() error

Validate checks the field values on RouteAction_HashPolicy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RouteAction_HashPolicyValidationError Uses

type RouteAction_HashPolicyValidationError struct {
    // contains filtered or unexported fields
}

RouteAction_HashPolicyValidationError is the validation error returned by RouteAction_HashPolicy.Validate if the designated constraints aren't met.

func (RouteAction_HashPolicyValidationError) Cause Uses

func (e RouteAction_HashPolicyValidationError) Cause() error

Cause function returns cause value.

func (RouteAction_HashPolicyValidationError) Error Uses

func (e RouteAction_HashPolicyValidationError) Error() string

Error satisfies the builtin error interface

func (RouteAction_HashPolicyValidationError) ErrorName Uses

func (e RouteAction_HashPolicyValidationError) ErrorName() string

ErrorName returns error name.

func (RouteAction_HashPolicyValidationError) Field Uses

func (e RouteAction_HashPolicyValidationError) Field() string

Field function returns field value.

func (RouteAction_HashPolicyValidationError) Key Uses

func (e RouteAction_HashPolicyValidationError) Key() bool

Key function returns key value.

func (RouteAction_HashPolicyValidationError) Reason Uses

func (e RouteAction_HashPolicyValidationError) Reason() string

Reason function returns reason value.

type RouteAction_HashPolicy_ConnectionProperties Uses

type RouteAction_HashPolicy_ConnectionProperties struct {

    // Hash on source IP address.
    SourceIp bool `protobuf:"varint,1,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`
    // contains filtered or unexported fields
}

func (*RouteAction_HashPolicy_ConnectionProperties) Descriptor Uses

func (*RouteAction_HashPolicy_ConnectionProperties) Descriptor() ([]byte, []int)

Deprecated: Use RouteAction_HashPolicy_ConnectionProperties.ProtoReflect.Descriptor instead.

func (*RouteAction_HashPolicy_ConnectionProperties) GetSourceIp Uses

func (x *RouteAction_HashPolicy_ConnectionProperties) GetSourceIp() bool

func (*RouteAction_HashPolicy_ConnectionProperties) ProtoMessage Uses

func (*RouteAction_HashPolicy_ConnectionProperties) ProtoMessage()

func (*RouteAction_HashPolicy_ConnectionProperties) ProtoReflect Uses

func (x *RouteAction_HashPolicy_ConnectionProperties) ProtoReflect() protoreflect.Message

func (*RouteAction_HashPolicy_ConnectionProperties) Reset Uses

func (x *RouteAction_HashPolicy_ConnectionProperties) Reset()

func (*RouteAction_HashPolicy_ConnectionProperties) String Uses

func (x *RouteAction_HashPolicy_ConnectionProperties) String() string

func (*RouteAction_HashPolicy_ConnectionProperties) Validate Uses

func (m *RouteAction_HashPolicy_ConnectionProperties) Validate() error

Validate checks the field values on RouteAction_HashPolicy_ConnectionProperties with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RouteAction_HashPolicy_ConnectionPropertiesValidationError Uses

type RouteAction_HashPolicy_ConnectionPropertiesValidationError struct {
    // contains filtered or unexported fields
}

RouteAction_HashPolicy_ConnectionPropertiesValidationError is the validation error returned by RouteAction_HashPolicy_ConnectionProperties.Validate if the designated constraints aren't met.

func (RouteAction_HashPolicy_ConnectionPropertiesValidationError) Cause Uses

func (e RouteAction_HashPolicy_ConnectionPropertiesValidationError) Cause() error

Cause function returns cause value.

func (RouteAction_HashPolicy_ConnectionPropertiesValidationError) Error Uses

func (e RouteAction_HashPolicy_ConnectionPropertiesValidationError) Error() string

Error satisfies the builtin error interface

func (RouteAction_HashPolicy_ConnectionPropertiesValidationError) ErrorName Uses

func (e RouteAction_HashPolicy_ConnectionPropertiesValidationError) ErrorName() string

ErrorName returns error name.

func (RouteAction_HashPolicy_ConnectionPropertiesValidationError) Field Uses

func (e RouteAction_HashPolicy_ConnectionPropertiesValidationError) Field() string

Field function returns field value.

func (RouteAction_HashPolicy_ConnectionPropertiesValidationError) Key Uses

func (e RouteAction_HashPolicy_ConnectionPropertiesValidationError) Key() bool

Key function returns key value.

func (RouteAction_HashPolicy_ConnectionPropertiesValidationError) Reason Uses

func (e RouteAction_HashPolicy_ConnectionPropertiesValidationError) Reason() string

Reason function returns reason value.

type RouteAction_HashPolicy_ConnectionProperties_ Uses

type RouteAction_HashPolicy_ConnectionProperties_ struct {
    // Connection properties hash policy.
    ConnectionProperties *RouteAction_HashPolicy_ConnectionProperties `protobuf:"bytes,3,opt,name=connection_properties,json=connectionProperties,proto3,oneof"`
}
type RouteAction_HashPolicy_Cookie struct {

    // The name of the cookie that will be used to obtain the hash key. If the
    // cookie is not present and ttl below is not set, no hash will be
    // produced.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // If specified, a cookie with the TTL will be generated if the cookie is
    // not present. If the TTL is present and zero, the generated cookie will
    // be a session cookie.
    Ttl *duration.Duration `protobuf:"bytes,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
    // The name of the path for the cookie. If no path is specified here, no path
    // will be set for the cookie.
    Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
    // contains filtered or unexported fields
}

Envoy supports two types of cookie affinity:

1. Passive. Envoy takes a cookie that's present in the cookies header and

hashes on its value.

2. Generated. Envoy generates and sets a cookie with an expiration (TTL)

on the first request from the client in its response to the client,
based on the endpoint the request gets sent to. The client then
presents this on the next and all subsequent requests. The hash of
this is sufficient to ensure these requests get sent to the same
endpoint. The cookie is generated by hashing the source and
destination ports and addresses so that multiple independent HTTP2
streams on the same connection will independently receive the same
cookie, even if they arrive at the Envoy simultaneously.

func (*RouteAction_HashPolicy_Cookie) Descriptor Uses

func (*RouteAction_HashPolicy_Cookie) Descriptor() ([]byte, []int)

Deprecated: Use RouteAction_HashPolicy_Cookie.ProtoReflect.Descriptor instead.

func (*RouteAction_HashPolicy_Cookie) GetName Uses

func (x *RouteAction_HashPolicy_Cookie) GetName() string

func (*RouteAction_HashPolicy_Cookie) GetPath Uses

func (x *RouteAction_HashPolicy_Cookie) GetPath() string

func (*RouteAction_HashPolicy_Cookie) GetTtl Uses

func (x *RouteAction_HashPolicy_Cookie) GetTtl() *duration.Duration

func (*RouteAction_HashPolicy_Cookie) ProtoMessage Uses

func (*RouteAction_HashPolicy_Cookie) ProtoMessage()

func (*RouteAction_HashPolicy_Cookie) ProtoReflect Uses

func (x *RouteAction_HashPolicy_Cookie) ProtoReflect() protoreflect.Message

func (*RouteAction_HashPolicy_Cookie) Reset Uses

func (x *RouteAction_HashPolicy_Cookie) Reset()

func (*RouteAction_HashPolicy_Cookie) String Uses

func (x *RouteAction_HashPolicy_Cookie) String() string

func (*RouteAction_HashPolicy_Cookie) Validate Uses

func (m *RouteAction_HashPolicy_Cookie) Validate() error

Validate checks the field values on RouteAction_HashPolicy_Cookie with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RouteAction_HashPolicy_CookieValidationError Uses

type RouteAction_HashPolicy_CookieValidationError struct {
    // contains filtered or unexported fields
}

RouteAction_HashPolicy_CookieValidationError is the validation error returned by RouteAction_HashPolicy_Cookie.Validate if the designated constraints aren't met.

func (RouteAction_HashPolicy_CookieValidationError) Cause Uses

func (e RouteAction_HashPolicy_CookieValidationError) Cause() error

Cause function returns cause value.

func (RouteAction_HashPolicy_CookieValidationError) Error Uses

func (e RouteAction_HashPolicy_CookieValidationError) Error() string

Error satisfies the builtin error interface

func (RouteAction_HashPolicy_CookieValidationError) ErrorName Uses

func (e RouteAction_HashPolicy_CookieValidationError) ErrorName() string

ErrorName returns error name.

func (RouteAction_HashPolicy_CookieValidationError) Field Uses

func (e RouteAction_HashPolicy_CookieValidationError) Field() string

Field function returns field value.

func (RouteAction_HashPolicy_CookieValidationError) Key Uses

func (e RouteAction_HashPolicy_CookieValidationError) Key() bool

Key function returns key value.

func (RouteAction_HashPolicy_CookieValidationError) Reason Uses

func (e RouteAction_HashPolicy_CookieValidationError) Reason() string

Reason function returns reason value.

type RouteAction_HashPolicy_Cookie_ struct {
    // Cookie hash policy.
    Cookie *RouteAction_HashPolicy_Cookie `protobuf:"bytes,2,opt,name=cookie,proto3,oneof"`
}

type RouteAction_HashPolicy_FilterState Uses

type RouteAction_HashPolicy_FilterState struct {

    // The name of the Object in the per-request filterState, which is an
    // Envoy::Http::Hashable object. If there is no data associated with the key,
    // or the stored object is not Envoy::Http::Hashable, no hash will be produced.
    Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    // contains filtered or unexported fields
}

func (*RouteAction_HashPolicy_FilterState) Descriptor Uses

func (*RouteAction_HashPolicy_FilterState) Descriptor() ([]byte, []int)

Deprecated: Use RouteAction_HashPolicy_FilterState.ProtoReflect.Descriptor instead.

func (*RouteAction_HashPolicy_FilterState) GetKey Uses

func (x *RouteAction_HashPolicy_FilterState) GetKey() string

func (*RouteAction_HashPolicy_FilterState) ProtoMessage Uses

func (*RouteAction_HashPolicy_FilterState) ProtoMessage()

func (*RouteAction_HashPolicy_FilterState) ProtoReflect Uses

func (x *RouteAction_HashPolicy_FilterState) ProtoReflect() protoreflect.Message

func (*RouteAction_HashPolicy_FilterState) Reset Uses

func (x *RouteAction_HashPolicy_FilterState) Reset()

func (*RouteAction_HashPolicy_FilterState) String Uses

func (x *RouteAction_HashPolicy_FilterState) String() string

func (*RouteAction_HashPolicy_FilterState) Validate Uses

func (m *RouteAction_HashPolicy_FilterState) Validate() error

Validate checks the field values on RouteAction_HashPolicy_FilterState with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RouteAction_HashPolicy_FilterStateValidationError Uses

type RouteAction_HashPolicy_FilterStateValidationError struct {
    // contains filtered or unexported fields
}

RouteAction_HashPolicy_FilterStateValidationError is the validation error returned by RouteAction_HashPolicy_FilterState.Validate if the designated constraints aren't met.

func (RouteAction_HashPolicy_FilterStateValidationError) Cause Uses

func (e RouteAction_HashPolicy_FilterStateValidationError) Cause() error

Cause function returns cause value.

func (RouteAction_HashPolicy_FilterStateValidationError) Error Uses

func (e RouteAction_HashPolicy_FilterStateValidationError) Error() string

Error satisfies the builtin error interface

func (RouteAction_HashPolicy_FilterStateValidationError) ErrorName Uses

func (e RouteAction_HashPolicy_FilterStateValidationError) ErrorName() string

ErrorName returns error name.

func (RouteAction_HashPolicy_FilterStateValidationError) Field Uses

func (e RouteAction_HashPolicy_FilterStateValidationError) Field() string

Field function returns field value.

func (RouteAction_HashPolicy_FilterStateValidationError) Key Uses

func (e RouteAction_HashPolicy_FilterStateValidationError) Key() bool

Key function returns key value.

func (RouteAction_HashPolicy_FilterStateValidationError) Reason Uses

func (e RouteAction_HashPolicy_FilterStateValidationError) Reason() string

Reason function returns reason value.

type RouteAction_HashPolicy_FilterState_ Uses

type RouteAction_HashPolicy_FilterState_ struct {
    // Filter state hash policy.
    FilterState *RouteAction_HashPolicy_FilterState `protobuf:"bytes,6,opt,name=filter_state,json=filterState,proto3,oneof"`
}

type RouteAction_HashPolicy_Header Uses

type RouteAction_HashPolicy_Header struct {

    // The name of the request header that will be used to obtain the hash
    // key. If the request header is not present, no hash will be produced.
    HeaderName string `protobuf:"bytes,1,opt,name=header_name,json=headerName,proto3" json:"header_name,omitempty"`
    // If specified, the request header value will be rewritten and used
    // to produce the hash key.
    RegexRewrite *v4alpha1.RegexMatchAndSubstitute `protobuf:"bytes,2,opt,name=regex_rewrite,json=regexRewrite,proto3" json:"regex_rewrite,omitempty"`
    // contains filtered or unexported fields
}

func (*RouteAction_HashPolicy_Header) Descriptor Uses

func (*RouteAction_HashPolicy_Header) Descriptor() ([]byte, []int)

Deprecated: Use RouteAction_HashPolicy_Header.ProtoReflect.Descriptor instead.

func (*RouteAction_HashPolicy_Header) GetHeaderName Uses

func (x *RouteAction_HashPolicy_Header) GetHeaderName() string

func (*RouteAction_HashPolicy_Header) GetRegexRewrite Uses

func (x *RouteAction_HashPolicy_Header) GetRegexRewrite() *v4alpha1.RegexMatchAndSubstitute

func (*RouteAction_HashPolicy_Header) ProtoMessage Uses

func (*RouteAction_HashPolicy_Header) ProtoMessage()

func (*RouteAction_HashPolicy_Header) ProtoReflect Uses

func (x *RouteAction_HashPolicy_Header) ProtoReflect() protoreflect.Message

func (*RouteAction_HashPolicy_Header) Reset Uses

func (x *RouteAction_HashPolicy_Header) Reset()

func (*RouteAction_HashPolicy_Header) String Uses

func (x *RouteAction_HashPolicy_Header) String() string

func (*RouteAction_HashPolicy_Header) Validate Uses

func (m *RouteAction_HashPolicy_Header) Validate() error

Validate checks the field values on RouteAction_HashPolicy_Header with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RouteAction_HashPolicy_HeaderValidationError Uses

type RouteAction_HashPolicy_HeaderValidationError struct {
    // contains filtered or unexported fields
}

RouteAction_HashPolicy_HeaderValidationError is the validation error returned by RouteAction_HashPolicy_Header.Validate if the designated constraints aren't met.

func (RouteAction_HashPolicy_HeaderValidationError) Cause Uses

func (e RouteAction_HashPolicy_HeaderValidationError) Cause() error

Cause function returns cause value.

func (RouteAction_HashPolicy_HeaderValidationError) Error Uses

func (e RouteAction_HashPolicy_HeaderValidationError) Error() string

Error satisfies the builtin error interface

func (RouteAction_HashPolicy_HeaderValidationError) ErrorName Uses

func (e RouteAction_HashPolicy_HeaderValidationError) ErrorName() string

ErrorName returns error name.

func (RouteAction_HashPolicy_HeaderValidationError) Field Uses

func (e RouteAction_HashPolicy_HeaderValidationError) Field() string

Field function returns field value.

func (RouteAction_HashPolicy_HeaderValidationError) Key Uses

func (e RouteAction_HashPolicy_HeaderValidationError) Key() bool

Key function returns key value.

func (RouteAction_HashPolicy_HeaderValidationError) Reason Uses

func (e RouteAction_HashPolicy_HeaderValidationError) Reason() string

Reason function returns reason value.

type RouteAction_HashPolicy_Header_ Uses

type RouteAction_HashPolicy_Header_ struct {
    // Header hash policy.
    Header *RouteAction_HashPolicy_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
}

type RouteAction_HashPolicy_QueryParameter Uses

type RouteAction_HashPolicy_QueryParameter struct {

    // The name of the URL query parameter that will be used to obtain the hash
    // key. If the parameter is not present, no hash will be produced. Query
    // parameter names are case-sensitive.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

func (*RouteAction_HashPolicy_QueryParameter) Descriptor Uses

func (*RouteAction_HashPolicy_QueryParameter) Descriptor() ([]byte, []int)

Deprecated: Use RouteAction_HashPolicy_QueryParameter.ProtoReflect.Descriptor instead.

func (*RouteAction_HashPolicy_QueryParameter) GetName Uses

func (x *RouteAction_HashPolicy_QueryParameter) GetName() string

func (*RouteAction_HashPolicy_QueryParameter) ProtoMessage Uses

func (*RouteAction_HashPolicy_QueryParameter) ProtoMessage()

func (*RouteAction_HashPolicy_QueryParameter) ProtoReflect Uses

func (x *RouteAction_HashPolicy_QueryParameter) ProtoReflect() protoreflect.Message

func (*RouteAction_HashPolicy_QueryParameter) Reset Uses

func (x *RouteAction_HashPolicy_QueryParameter) Reset()

func (*RouteAction_HashPolicy_QueryParameter) String Uses

func (x *RouteAction_HashPolicy_QueryParameter) String() string

func (*RouteAction_HashPolicy_QueryParameter) Validate Uses

func (m *RouteAction_HashPolicy_QueryParameter) Validate() error

Validate checks the field values on RouteAction_HashPolicy_QueryParameter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RouteAction_HashPolicy_QueryParameterValidationError Uses

type RouteAction_HashPolicy_QueryParameterValidationError struct {
    // contains filtered or unexported fields
}

RouteAction_HashPolicy_QueryParameterValidationError is the validation error returned by RouteAction_HashPolicy_QueryParameter.Validate if the designated constraints aren't met.

func (RouteAction_HashPolicy_QueryParameterValidationError) Cause Uses

func (e RouteAction_HashPolicy_QueryParameterValidationError) Cause() error

Cause function returns cause value.

func (RouteAction_HashPolicy_QueryParameterValidationError) Error Uses

func (e RouteAction_HashPolicy_QueryParameterValidationError) Error() string

Error satisfies the builtin error interface

func (RouteAction_HashPolicy_QueryParameterValidationError) ErrorName Uses

func (e RouteAction_HashPolicy_QueryParameterValidationError) ErrorName() string

ErrorName returns error name.

func (RouteAction_HashPolicy_QueryParameterValidationError) Field Uses

func (e RouteAction_HashPolicy_QueryParameterValidationError) Field() string

Field function returns field value.

func (RouteAction_HashPolicy_QueryParameterValidationError) Key Uses

func (e RouteAction_HashPolicy_QueryParameterValidationError) Key() bool

Key function returns key value.

func (RouteAction_HashPolicy_QueryParameterValidationError) Reason Uses

func (e RouteAction_HashPolicy_QueryParameterValidationError) Reason() string

Reason function returns reason value.

type RouteAction_HashPolicy_QueryParameter_ Uses

type RouteAction_HashPolicy_QueryParameter_ struct {
    // Query parameter hash policy.
    QueryParameter *RouteAction_HashPolicy_QueryParameter `protobuf:"bytes,5,opt,name=query_parameter,json=queryParameter,proto3,oneof"`
}

type RouteAction_HostRewriteHeader Uses

type RouteAction_HostRewriteHeader struct {
    // Indicates that during forwarding, the host header will be swapped with the content of given
    // downstream or :ref:`custom <config_http_conn_man_headers_custom_request_headers>` header.
    // If header value is empty, host header is left intact.
    //
    // .. attention::
    //
    //   Pay attention to the potential security implications of using this option. Provided header
    //   must come from trusted source.
    //
    // .. note::
    //
    //   If the header appears multiple times only the first value is used.
    HostRewriteHeader string `protobuf:"bytes,29,opt,name=host_rewrite_header,json=hostRewriteHeader,proto3,oneof"`
}

type RouteAction_HostRewriteLiteral Uses

type RouteAction_HostRewriteLiteral struct {
    // Indicates that during forwarding, the host header will be swapped with
    // this value.
    HostRewriteLiteral string `protobuf:"bytes,6,opt,name=host_rewrite_literal,json=hostRewriteLiteral,proto3,oneof"`
}

type RouteAction_HostRewritePathRegex Uses

type RouteAction_HostRewritePathRegex struct {
    // Indicates that during forwarding, the host header will be swapped with
    // the result of the regex substitution executed on path value with query and fragment removed.
    // This is useful for transitioning variable content between path segment and subdomain.
    //
    // For example with the following config:
    //
    //   .. code-block:: yaml
    //
    //     host_rewrite_path_regex:
    //       pattern:
    //         google_re2: {}
    //         regex: "^/(.+)/.+$"
    //       substitution: \1
    //
    // Would rewrite the host header to `envoyproxy.io` given the path `/envoyproxy.io/some/path`.
    HostRewritePathRegex *v4alpha1.RegexMatchAndSubstitute `protobuf:"bytes,35,opt,name=host_rewrite_path_regex,json=hostRewritePathRegex,proto3,oneof"`
}

type RouteAction_InternalRedirectAction Uses

type RouteAction_InternalRedirectAction int32

Configures :ref:`internal redirect <arch_overview_internal_redirects>` behavior. [#next-major-version: remove this definition - it's defined in the InternalRedirectPolicy message.]

Deprecated: Do not use.

const (
    RouteAction_PASS_THROUGH_INTERNAL_REDIRECT RouteAction_InternalRedirectAction = 0
    RouteAction_HANDLE_INTERNAL_REDIRECT       RouteAction_InternalRedirectAction = 1
)

func (RouteAction_InternalRedirectAction) Descriptor Uses

func (RouteAction_InternalRedirectAction) Descriptor() protoreflect.EnumDescriptor

func (RouteAction_InternalRedirectAction) Enum Uses

func (x RouteAction_InternalRedirectAction) Enum() *RouteAction_InternalRedirectAction

func (RouteAction_InternalRedirectAction) EnumDescriptor Uses

func (RouteAction_InternalRedirectAction) EnumDescriptor() ([]byte, []int)

Deprecated: Use RouteAction_InternalRedirectAction.Descriptor instead.

func (RouteAction_InternalRedirectAction) Number Uses

func (x RouteAction_InternalRedirectAction) Number() protoreflect.EnumNumber

func (RouteAction_InternalRedirectAction) String Uses

func (x RouteAction_InternalRedirectAction) String() string

func (RouteAction_InternalRedirectAction) Type Uses

func (RouteAction_InternalRedirectAction) Type() protoreflect.EnumType

type RouteAction_MaxStreamDuration Uses

type RouteAction_MaxStreamDuration struct {

    // Specifies the maximum duration allowed for streams on the route. If not specified, the value
    // from the :ref:`max_stream_duration
    // <envoy_api_field_config.core.v4alpha.HttpProtocolOptions.max_stream_duration>` field in
    // :ref:`HttpConnectionManager.common_http_protocol_options
    // <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.common_http_protocol_options>`
    // is used. If this field is set explicitly to zero, any
    // HttpConnectionManager max_stream_duration timeout will be disabled for
    // this route.
    MaxStreamDuration *duration.Duration `protobuf:"bytes,1,opt,name=max_stream_duration,json=maxStreamDuration,proto3" json:"max_stream_duration,omitempty"`
    // If present, and the request contains a `grpc-timeout header
    // <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, use that value as the
    // *max_stream_duration*, but limit the applied timeout to the maximum value specified here.
    // If set to 0, the `grpc-timeout` header is used without modification.
    GrpcTimeoutHeaderMax *duration.Duration `protobuf:"bytes,2,opt,name=grpc_timeout_header_max,json=grpcTimeoutHeaderMax,proto3" json:"grpc_timeout_header_max,omitempty"`
    // If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by
    // subtracting the provided duration from the header. This is useful for allowing Envoy to set
    // its global timeout to be less than that of the deadline imposed by the calling client, which
    // makes it more likely that Envoy will handle the timeout instead of having the call canceled
    // by the client. If, after applying the offset, the resulting timeout is zero or negative,
    // the stream will timeout immediately.
    GrpcTimeoutHeaderOffset *duration.Duration `protobuf:"bytes,3,opt,name=grpc_timeout_header_offset,json=grpcTimeoutHeaderOffset,proto3" json:"grpc_timeout_header_offset,omitempty"`
    // contains filtered or unexported fields
}

func (*RouteAction_MaxStreamDuration) Descriptor Uses

func (*RouteAction_MaxStreamDuration) Descriptor() ([]byte, []int)

Deprecated: Use RouteAction_MaxStreamDuration.ProtoReflect.Descriptor instead.

func (*RouteAction_MaxStreamDuration) GetGrpcTimeoutHeaderMax Uses

func (x *RouteAction_MaxStreamDuration) GetGrpcTimeoutHeaderMax() *duration.Duration

func (*RouteAction_MaxStreamDuration) GetGrpcTimeoutHeaderOffset Uses

func (x *RouteAction_MaxStreamDuration) GetGrpcTimeoutHeaderOffset() *duration.Duration

func (*RouteAction_MaxStreamDuration) GetMaxStreamDuration Uses

func (x *RouteAction_MaxStreamDuration) GetMaxStreamDuration() *duration.Duration

func (*RouteAction_MaxStreamDuration) ProtoMessage Uses

func (*RouteAction_MaxStreamDuration) ProtoMessage()

func (*RouteAction_MaxStreamDuration) ProtoReflect Uses

func (x *RouteAction_MaxStreamDuration) ProtoReflect() protoreflect.Message

func (*RouteAction_MaxStreamDuration) Reset Uses

func (x *RouteAction_MaxStreamDuration) Reset()

func (*RouteAction_MaxStreamDuration) String Uses

func (x *RouteAction_MaxStreamDuration) String() string

func (*RouteAction_MaxStreamDuration) Validate Uses

func (m *RouteAction_MaxStreamDuration) Validate() error

Validate checks the field values on RouteAction_MaxStreamDuration with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RouteAction_MaxStreamDurationValidationError Uses

type RouteAction_MaxStreamDurationValidationError struct {
    // contains filtered or unexported fields
}

RouteAction_MaxStreamDurationValidationError is the validation error returned by RouteAction_MaxStreamDuration.Validate if the designated constraints aren't met.

func (RouteAction_MaxStreamDurationValidationError) Cause Uses

func (e RouteAction_MaxStreamDurationValidationError) Cause() error

Cause function returns cause value.

func (RouteAction_MaxStreamDurationValidationError) Error Uses

func (e RouteAction_MaxStreamDurationValidationError) Error() string

Error satisfies the builtin error interface

func (RouteAction_MaxStreamDurationValidationError) ErrorName Uses

func (e RouteAction_MaxStreamDurationValidationError) ErrorName() string

ErrorName returns error name.

func (RouteAction_MaxStreamDurationValidationError) Field Uses

func (e RouteAction_MaxStreamDurationValidationError) Field() string

Field function returns field value.

func (RouteAction_MaxStreamDurationValidationError) Key Uses

func (e RouteAction_MaxStreamDurationValidationError) Key() bool

Key function returns key value.

func (RouteAction_MaxStreamDurationValidationError) Reason Uses

func (e RouteAction_MaxStreamDurationValidationError) Reason() string

Reason function returns reason value.

type RouteAction_RequestMirrorPolicy Uses

type RouteAction_RequestMirrorPolicy struct {

    // Specifies the cluster that requests will be mirrored to. The cluster must
    // exist in the cluster manager configuration.
    Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
    // If not specified, all requests to the target cluster will be mirrored.
    //
    // If specified, this field takes precedence over the `runtime_key` field and requests must also
    // fall under the percentage of matches indicated by this field.
    //
    // For some fraction N/D, a random number in the range [0,D) is selected. If the
    // number is <= the value of the numerator N, or if the key is not present, the default
    // value, the request will be mirrored.
    RuntimeFraction *v4alpha.RuntimeFractionalPercent `protobuf:"bytes,3,opt,name=runtime_fraction,json=runtimeFraction,proto3" json:"runtime_fraction,omitempty"`
    // Determines if the trace span should be sampled. Defaults to true.
    TraceSampled *wrappers.BoolValue `protobuf:"bytes,4,opt,name=trace_sampled,json=traceSampled,proto3" json:"trace_sampled,omitempty"`
    // contains filtered or unexported fields
}

The router is capable of shadowing traffic from one cluster to another. The current implementation is "fire and forget," meaning Envoy will not wait for the shadow cluster to respond before returning the response from the primary cluster. All normal statistics are collected for the shadow cluster making this feature useful for testing.

During shadowing, the host/authority header is altered such that *-shadow* is appended. This is useful for logging. For example, *cluster1* becomes *cluster1-shadow*.

.. note::

Shadowing will not be triggered if the primary cluster does not exist.

func (*RouteAction_RequestMirrorPolicy) Descriptor Uses

func (*RouteAction_RequestMirrorPolicy) Descriptor() ([]byte, []int)

Deprecated: Use RouteAction_RequestMirrorPolicy.ProtoReflect.Descriptor instead.

func (*RouteAction_RequestMirrorPolicy) GetCluster Uses

func (x *RouteAction_RequestMirrorPolicy) GetCluster() string

func (*RouteAction_RequestMirrorPolicy) GetRuntimeFraction Uses

func (x *RouteAction_RequestMirrorPolicy) GetRuntimeFraction() *v4alpha.RuntimeFractionalPercent

func (*RouteAction_RequestMirrorPolicy) GetTraceSampled Uses

func (x *RouteAction_RequestMirrorPolicy) GetTraceSampled() *wrappers.BoolValue

func (*RouteAction_RequestMirrorPolicy) ProtoMessage Uses

func (*RouteAction_RequestMirrorPolicy) ProtoMessage()

func (*RouteAction_RequestMirrorPolicy) ProtoReflect Uses

func (x *RouteAction_RequestMirrorPolicy) ProtoReflect() protoreflect.Message

func (*RouteAction_RequestMirrorPolicy) Reset Uses

func (x *RouteAction_RequestMirrorPolicy) Reset()

func (*RouteAction_RequestMirrorPolicy) String Uses

func (x *RouteAction_RequestMirrorPolicy) String() string

func (*RouteAction_RequestMirrorPolicy) Validate Uses

func (m *RouteAction_RequestMirrorPolicy) Validate() error

Validate checks the field values on RouteAction_RequestMirrorPolicy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RouteAction_RequestMirrorPolicyValidationError Uses

type RouteAction_RequestMirrorPolicyValidationError struct {
    // contains filtered or unexported fields
}

RouteAction_RequestMirrorPolicyValidationError is the validation error returned by RouteAction_RequestMirrorPolicy.Validate if the designated constraints aren't met.

func (RouteAction_RequestMirrorPolicyValidationError) Cause Uses

func (e RouteAction_RequestMirrorPolicyValidationError) Cause() error

Cause function returns cause value.

func (RouteAction_RequestMirrorPolicyValidationError) Error Uses

func (e RouteAction_RequestMirrorPolicyValidationError) Error() string

Error satisfies the builtin error interface

func (RouteAction_RequestMirrorPolicyValidationError) ErrorName Uses

func (e RouteAction_RequestMirrorPolicyValidationError) ErrorName() string

ErrorName returns error name.

func (RouteAction_RequestMirrorPolicyValidationError) Field Uses

func (e RouteAction_RequestMirrorPolicyValidationError) Field() string

Field function returns field value.