route

package
v0.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthRoute = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRoute   = fmt.Errorf("proto: integer overflow")
)
View Source
var RedirectAction_RedirectResponseCode_name = map[int32]string{
	0: "MOVED_PERMANENTLY",
	1: "FOUND",
	2: "SEE_OTHER",
	3: "TEMPORARY_REDIRECT",
	4: "PERMANENT_REDIRECT",
}
View Source
var RedirectAction_RedirectResponseCode_value = map[string]int32{
	"MOVED_PERMANENTLY":  0,
	"FOUND":              1,
	"SEE_OTHER":          2,
	"TEMPORARY_REDIRECT": 3,
	"PERMANENT_REDIRECT": 4,
}
View Source
var RouteAction_ClusterNotFoundResponseCode_name = map[int32]string{
	0: "SERVICE_UNAVAILABLE",
	1: "NOT_FOUND",
}
View Source
var RouteAction_ClusterNotFoundResponseCode_value = map[string]int32{
	"SERVICE_UNAVAILABLE": 0,
	"NOT_FOUND":           1,
}
View Source
var VirtualHost_TlsRequirementType_name = map[int32]string{
	0: "NONE",
	1: "EXTERNAL_ONLY",
	2: "ALL",
}
View Source
var VirtualHost_TlsRequirementType_value = map[string]int32{
	"NONE":          0,
	"EXTERNAL_ONLY": 1,
	"ALL":           2,
}

Functions

This section is empty.

Types

type CorsPolicy

type CorsPolicy struct {
	// Specifies the origins that will be allowed to do CORS requests.
	//
	// An origin is allowed if either allow_origin or allow_origin_regex match.
	AllowOrigin []string `protobuf:"bytes,1,rep,name=allow_origin,json=allowOrigin" json:"allow_origin,omitempty"`
	// Specifies regex patterns that match allowed origins.
	//
	// An origin is allowed if either allow_origin or allow_origin_regex match.
	AllowOriginRegex []string `protobuf:"bytes,8,rep,name=allow_origin_regex,json=allowOriginRegex" json:"allow_origin_regex,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 *types.BoolValue `protobuf:"bytes,6,opt,name=allow_credentials,json=allowCredentials" json:"allow_credentials,omitempty"`
	// Specifies if CORS is enabled. Defaults to true. Only effective on route.
	Enabled              *types.BoolValue `protobuf:"bytes,7,opt,name=enabled" json:"enabled,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

[#comment:next free field: 9]

func (*CorsPolicy) Descriptor

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

func (*CorsPolicy) Equal

func (this *CorsPolicy) Equal(that interface{}) bool

func (*CorsPolicy) GetAllowCredentials

func (m *CorsPolicy) GetAllowCredentials() *types.BoolValue

func (*CorsPolicy) GetAllowHeaders

func (m *CorsPolicy) GetAllowHeaders() string

func (*CorsPolicy) GetAllowMethods

func (m *CorsPolicy) GetAllowMethods() string

func (*CorsPolicy) GetAllowOrigin

func (m *CorsPolicy) GetAllowOrigin() []string

func (*CorsPolicy) GetAllowOriginRegex

func (m *CorsPolicy) GetAllowOriginRegex() []string

func (*CorsPolicy) GetEnabled

func (m *CorsPolicy) GetEnabled() *types.BoolValue

func (*CorsPolicy) GetExposeHeaders

func (m *CorsPolicy) GetExposeHeaders() string

func (*CorsPolicy) GetMaxAge

func (m *CorsPolicy) GetMaxAge() string

func (*CorsPolicy) Marshal

func (m *CorsPolicy) Marshal() (dAtA []byte, err error)

func (*CorsPolicy) MarshalTo

func (m *CorsPolicy) MarshalTo(dAtA []byte) (int, error)

func (*CorsPolicy) ProtoMessage

func (*CorsPolicy) ProtoMessage()

func (*CorsPolicy) Reset

func (m *CorsPolicy) Reset()

func (*CorsPolicy) Size

func (m *CorsPolicy) Size() (n int)

func (*CorsPolicy) String

func (m *CorsPolicy) String() string

func (*CorsPolicy) Unmarshal

func (m *CorsPolicy) Unmarshal(dAtA []byte) error

func (*CorsPolicy) Validate

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.

func (*CorsPolicy) XXX_DiscardUnknown

func (m *CorsPolicy) XXX_DiscardUnknown()

func (*CorsPolicy) XXX_Marshal

func (m *CorsPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CorsPolicy) XXX_Merge

func (dst *CorsPolicy) XXX_Merge(src proto.Message)

func (*CorsPolicy) XXX_Size

func (m *CorsPolicy) XXX_Size() int

func (*CorsPolicy) XXX_Unmarshal

func (m *CorsPolicy) XXX_Unmarshal(b []byte) error

type CorsPolicyValidationError

type CorsPolicyValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (CorsPolicyValidationError) Error

Error satisfies the builtin error interface

type Decorator

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Decorator) Descriptor

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

func (*Decorator) Equal

func (this *Decorator) Equal(that interface{}) bool

func (*Decorator) GetOperation

func (m *Decorator) GetOperation() string

func (*Decorator) Marshal

func (m *Decorator) Marshal() (dAtA []byte, err error)

func (*Decorator) MarshalTo

func (m *Decorator) MarshalTo(dAtA []byte) (int, error)

func (*Decorator) ProtoMessage

func (*Decorator) ProtoMessage()

func (*Decorator) Reset

func (m *Decorator) Reset()

func (*Decorator) Size

func (m *Decorator) Size() (n int)

func (*Decorator) String

func (m *Decorator) String() string

func (*Decorator) Unmarshal

func (m *Decorator) Unmarshal(dAtA []byte) error

func (*Decorator) Validate

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.

func (*Decorator) XXX_DiscardUnknown

func (m *Decorator) XXX_DiscardUnknown()

func (*Decorator) XXX_Marshal

func (m *Decorator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Decorator) XXX_Merge

func (dst *Decorator) XXX_Merge(src proto.Message)

func (*Decorator) XXX_Size

func (m *Decorator) XXX_Size() int

func (*Decorator) XXX_Unmarshal

func (m *Decorator) XXX_Unmarshal(b []byte) error

type DecoratorValidationError

type DecoratorValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (DecoratorValidationError) Error

func (e DecoratorValidationError) Error() string

Error satisfies the builtin error interface

type DirectResponseAction

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_route.Route`, :ref:`envoy_api_msg_RouteConfiguration` or
	//   :ref:`envoy_api_msg_route.VirtualHost`.
	Body                 *core.DataSource `protobuf:"bytes,2,opt,name=body" json:"body,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*DirectResponseAction) Descriptor

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

func (*DirectResponseAction) Equal

func (this *DirectResponseAction) Equal(that interface{}) bool

func (*DirectResponseAction) GetBody

func (m *DirectResponseAction) GetBody() *core.DataSource

func (*DirectResponseAction) GetStatus

func (m *DirectResponseAction) GetStatus() uint32

func (*DirectResponseAction) Marshal

func (m *DirectResponseAction) Marshal() (dAtA []byte, err error)

func (*DirectResponseAction) MarshalTo

func (m *DirectResponseAction) MarshalTo(dAtA []byte) (int, error)

func (*DirectResponseAction) ProtoMessage

func (*DirectResponseAction) ProtoMessage()

func (*DirectResponseAction) Reset

func (m *DirectResponseAction) Reset()

func (*DirectResponseAction) Size

func (m *DirectResponseAction) Size() (n int)

func (*DirectResponseAction) String

func (m *DirectResponseAction) String() string

func (*DirectResponseAction) Unmarshal

func (m *DirectResponseAction) Unmarshal(dAtA []byte) error

func (*DirectResponseAction) Validate

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.

func (*DirectResponseAction) XXX_DiscardUnknown

func (m *DirectResponseAction) XXX_DiscardUnknown()

func (*DirectResponseAction) XXX_Marshal

func (m *DirectResponseAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DirectResponseAction) XXX_Merge

func (dst *DirectResponseAction) XXX_Merge(src proto.Message)

func (*DirectResponseAction) XXX_Size

func (m *DirectResponseAction) XXX_Size() int

func (*DirectResponseAction) XXX_Unmarshal

func (m *DirectResponseAction) XXX_Unmarshal(b []byte) error

type DirectResponseActionValidationError

type DirectResponseActionValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (DirectResponseActionValidationError) Error

Error satisfies the builtin error interface

type HeaderMatcher

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 valid to be assigned to HeaderMatchSpecifier:
	//	*HeaderMatcher_ExactMatch
	//	*HeaderMatcher_RegexMatch
	//	*HeaderMatcher_RangeMatch
	//	*HeaderMatcher_PresentMatch
	//	*HeaderMatcher_PrefixMatch
	//	*HeaderMatcher_SuffixMatch
	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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

.. 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_route.HeaderMatcher.present_match>`. i.e, a request that has the :ref:`name
<envoy_api_field_route.HeaderMatcher.name>` header will match, regardless of the header's
value.

func (*HeaderMatcher) Descriptor

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

func (*HeaderMatcher) Equal

func (this *HeaderMatcher) Equal(that interface{}) bool

func (*HeaderMatcher) GetExactMatch

func (m *HeaderMatcher) GetExactMatch() string

func (*HeaderMatcher) GetHeaderMatchSpecifier

func (m *HeaderMatcher) GetHeaderMatchSpecifier() isHeaderMatcher_HeaderMatchSpecifier

func (*HeaderMatcher) GetInvertMatch

func (m *HeaderMatcher) GetInvertMatch() bool

func (*HeaderMatcher) GetName

func (m *HeaderMatcher) GetName() string

func (*HeaderMatcher) GetPrefixMatch

func (m *HeaderMatcher) GetPrefixMatch() string

func (*HeaderMatcher) GetPresentMatch

func (m *HeaderMatcher) GetPresentMatch() bool

func (*HeaderMatcher) GetRangeMatch

func (m *HeaderMatcher) GetRangeMatch() *_type.Int64Range

func (*HeaderMatcher) GetRegexMatch

func (m *HeaderMatcher) GetRegexMatch() string

func (*HeaderMatcher) GetSuffixMatch

func (m *HeaderMatcher) GetSuffixMatch() string

func (*HeaderMatcher) Marshal

func (m *HeaderMatcher) Marshal() (dAtA []byte, err error)

func (*HeaderMatcher) MarshalTo

func (m *HeaderMatcher) MarshalTo(dAtA []byte) (int, error)

func (*HeaderMatcher) ProtoMessage

func (*HeaderMatcher) ProtoMessage()

func (*HeaderMatcher) Reset

func (m *HeaderMatcher) Reset()

func (*HeaderMatcher) Size

func (m *HeaderMatcher) Size() (n int)

func (*HeaderMatcher) String

func (m *HeaderMatcher) String() string

func (*HeaderMatcher) Unmarshal

func (m *HeaderMatcher) Unmarshal(dAtA []byte) error

func (*HeaderMatcher) Validate

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.

func (*HeaderMatcher) XXX_DiscardUnknown

func (m *HeaderMatcher) XXX_DiscardUnknown()

func (*HeaderMatcher) XXX_Marshal

func (m *HeaderMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HeaderMatcher) XXX_Merge

func (dst *HeaderMatcher) XXX_Merge(src proto.Message)

func (*HeaderMatcher) XXX_OneofFuncs

func (*HeaderMatcher) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*HeaderMatcher) XXX_Size

func (m *HeaderMatcher) XXX_Size() int

func (*HeaderMatcher) XXX_Unmarshal

func (m *HeaderMatcher) XXX_Unmarshal(b []byte) error

type HeaderMatcherValidationError

type HeaderMatcherValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (HeaderMatcherValidationError) Error

Error satisfies the builtin error interface

type HeaderMatcher_ExactMatch

type HeaderMatcher_ExactMatch struct {
	ExactMatch string `protobuf:"bytes,4,opt,name=exact_match,json=exactMatch,proto3,oneof"`
}

func (*HeaderMatcher_ExactMatch) Equal

func (this *HeaderMatcher_ExactMatch) Equal(that interface{}) bool

func (*HeaderMatcher_ExactMatch) MarshalTo

func (m *HeaderMatcher_ExactMatch) MarshalTo(dAtA []byte) (int, error)

func (*HeaderMatcher_ExactMatch) Size

func (m *HeaderMatcher_ExactMatch) Size() (n int)

type HeaderMatcher_PrefixMatch

type HeaderMatcher_PrefixMatch struct {
	PrefixMatch string `protobuf:"bytes,9,opt,name=prefix_match,json=prefixMatch,proto3,oneof"`
}

func (*HeaderMatcher_PrefixMatch) Equal

func (this *HeaderMatcher_PrefixMatch) Equal(that interface{}) bool

func (*HeaderMatcher_PrefixMatch) MarshalTo

func (m *HeaderMatcher_PrefixMatch) MarshalTo(dAtA []byte) (int, error)

func (*HeaderMatcher_PrefixMatch) Size

func (m *HeaderMatcher_PrefixMatch) Size() (n int)

type HeaderMatcher_PresentMatch

type HeaderMatcher_PresentMatch struct {
	PresentMatch bool `protobuf:"varint,7,opt,name=present_match,json=presentMatch,proto3,oneof"`
}

func (*HeaderMatcher_PresentMatch) Equal

func (this *HeaderMatcher_PresentMatch) Equal(that interface{}) bool

func (*HeaderMatcher_PresentMatch) MarshalTo

func (m *HeaderMatcher_PresentMatch) MarshalTo(dAtA []byte) (int, error)

func (*HeaderMatcher_PresentMatch) Size

func (m *HeaderMatcher_PresentMatch) Size() (n int)

type HeaderMatcher_RangeMatch

type HeaderMatcher_RangeMatch struct {
	RangeMatch *_type.Int64Range `protobuf:"bytes,6,opt,name=range_match,json=rangeMatch,oneof"`
}

func (*HeaderMatcher_RangeMatch) Equal

func (this *HeaderMatcher_RangeMatch) Equal(that interface{}) bool

func (*HeaderMatcher_RangeMatch) MarshalTo

func (m *HeaderMatcher_RangeMatch) MarshalTo(dAtA []byte) (int, error)

func (*HeaderMatcher_RangeMatch) Size

func (m *HeaderMatcher_RangeMatch) Size() (n int)

type HeaderMatcher_RegexMatch

type HeaderMatcher_RegexMatch struct {
	RegexMatch string `protobuf:"bytes,5,opt,name=regex_match,json=regexMatch,proto3,oneof"`
}

func (*HeaderMatcher_RegexMatch) Equal

func (this *HeaderMatcher_RegexMatch) Equal(that interface{}) bool

func (*HeaderMatcher_RegexMatch) MarshalTo

func (m *HeaderMatcher_RegexMatch) MarshalTo(dAtA []byte) (int, error)

func (*HeaderMatcher_RegexMatch) Size

func (m *HeaderMatcher_RegexMatch) Size() (n int)

type HeaderMatcher_SuffixMatch

type HeaderMatcher_SuffixMatch struct {
	SuffixMatch string `protobuf:"bytes,10,opt,name=suffix_match,json=suffixMatch,proto3,oneof"`
}

func (*HeaderMatcher_SuffixMatch) Equal

func (this *HeaderMatcher_SuffixMatch) Equal(that interface{}) bool

func (*HeaderMatcher_SuffixMatch) MarshalTo

func (m *HeaderMatcher_SuffixMatch) MarshalTo(dAtA []byte) (int, error)

func (*HeaderMatcher_SuffixMatch) Size

func (m *HeaderMatcher_SuffixMatch) Size() (n int)

type QueryParameterMatcher

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"`
	// Specifies the value of the key. If the value is absent, a request
	// that contains the key in its query string will match, whether the
	// key appears with a value (e.g., "?debug=true") or not (e.g., "?debug")
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// Specifies whether the query parameter value is a regular expression.
	// Defaults to false. The entire query parameter value (i.e., the part to
	// the right of the equals sign in "key=value") must match the regex.
	// E.g., the regex "\d+$" will match "123" but not "a123" or "123a".
	Regex                *types.BoolValue `protobuf:"bytes,4,opt,name=regex" json:"regex,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

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.

func (*QueryParameterMatcher) Descriptor

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

func (*QueryParameterMatcher) Equal

func (this *QueryParameterMatcher) Equal(that interface{}) bool

func (*QueryParameterMatcher) GetName

func (m *QueryParameterMatcher) GetName() string

func (*QueryParameterMatcher) GetRegex

func (m *QueryParameterMatcher) GetRegex() *types.BoolValue

func (*QueryParameterMatcher) GetValue

func (m *QueryParameterMatcher) GetValue() string

func (*QueryParameterMatcher) Marshal

func (m *QueryParameterMatcher) Marshal() (dAtA []byte, err error)

func (*QueryParameterMatcher) MarshalTo

func (m *QueryParameterMatcher) MarshalTo(dAtA []byte) (int, error)

func (*QueryParameterMatcher) ProtoMessage

func (*QueryParameterMatcher) ProtoMessage()

func (*QueryParameterMatcher) Reset

func (m *QueryParameterMatcher) Reset()

func (*QueryParameterMatcher) Size

func (m *QueryParameterMatcher) Size() (n int)

func (*QueryParameterMatcher) String

func (m *QueryParameterMatcher) String() string

func (*QueryParameterMatcher) Unmarshal

func (m *QueryParameterMatcher) Unmarshal(dAtA []byte) error

func (*QueryParameterMatcher) Validate

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.

func (*QueryParameterMatcher) XXX_DiscardUnknown

func (m *QueryParameterMatcher) XXX_DiscardUnknown()

func (*QueryParameterMatcher) XXX_Marshal

func (m *QueryParameterMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParameterMatcher) XXX_Merge

func (dst *QueryParameterMatcher) XXX_Merge(src proto.Message)

func (*QueryParameterMatcher) XXX_Size

func (m *QueryParameterMatcher) XXX_Size() int

func (*QueryParameterMatcher) XXX_Unmarshal

func (m *QueryParameterMatcher) XXX_Unmarshal(b []byte) error

type QueryParameterMatcherValidationError

type QueryParameterMatcherValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (QueryParameterMatcherValidationError) Error

Error satisfies the builtin error interface

type RateLimit

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 *types.UInt32Value `protobuf:"bytes,1,opt,name=stage" 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" json:"actions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Global rate limiting :ref:`architecture overview <arch_overview_rate_limit>`.

func (*RateLimit) Descriptor

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

func (*RateLimit) Equal

func (this *RateLimit) Equal(that interface{}) bool

func (*RateLimit) GetActions

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

func (*RateLimit) GetDisableKey

func (m *RateLimit) GetDisableKey() string

func (*RateLimit) GetStage

func (m *RateLimit) GetStage() *types.UInt32Value

func (*RateLimit) Marshal

func (m *RateLimit) Marshal() (dAtA []byte, err error)

func (*RateLimit) MarshalTo

func (m *RateLimit) MarshalTo(dAtA []byte) (int, error)

func (*RateLimit) ProtoMessage

func (*RateLimit) ProtoMessage()

func (*RateLimit) Reset

func (m *RateLimit) Reset()

func (*RateLimit) Size

func (m *RateLimit) Size() (n int)

func (*RateLimit) String

func (m *RateLimit) String() string

func (*RateLimit) Unmarshal

func (m *RateLimit) Unmarshal(dAtA []byte) error

func (*RateLimit) Validate

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.

func (*RateLimit) XXX_DiscardUnknown

func (m *RateLimit) XXX_DiscardUnknown()

func (*RateLimit) XXX_Marshal

func (m *RateLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RateLimit) XXX_Merge

func (dst *RateLimit) XXX_Merge(src proto.Message)

func (*RateLimit) XXX_Size

func (m *RateLimit) XXX_Size() int

func (*RateLimit) XXX_Unmarshal

func (m *RateLimit) XXX_Unmarshal(b []byte) error

type RateLimitValidationError

type RateLimitValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (RateLimitValidationError) Error

func (e RateLimitValidationError) Error() string

Error satisfies the builtin error interface

type RateLimit_Action

type RateLimit_Action struct {
	// Types that are valid to be assigned to ActionSpecifier:
	//	*RateLimit_Action_SourceCluster_
	//	*RateLimit_Action_DestinationCluster_
	//	*RateLimit_Action_RequestHeaders_
	//	*RateLimit_Action_RemoteAddress_
	//	*RateLimit_Action_GenericKey_
	//	*RateLimit_Action_HeaderValueMatch_
	ActionSpecifier      isRateLimit_Action_ActionSpecifier `protobuf_oneof:"action_specifier"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

func (*RateLimit_Action) Descriptor

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

func (*RateLimit_Action) Equal

func (this *RateLimit_Action) Equal(that interface{}) bool

func (*RateLimit_Action) GetActionSpecifier

func (m *RateLimit_Action) GetActionSpecifier() isRateLimit_Action_ActionSpecifier

func (*RateLimit_Action) GetDestinationCluster

func (m *RateLimit_Action) GetDestinationCluster() *RateLimit_Action_DestinationCluster

func (*RateLimit_Action) GetGenericKey

func (m *RateLimit_Action) GetGenericKey() *RateLimit_Action_GenericKey

func (*RateLimit_Action) GetHeaderValueMatch

func (m *RateLimit_Action) GetHeaderValueMatch() *RateLimit_Action_HeaderValueMatch

func (*RateLimit_Action) GetRemoteAddress

func (m *RateLimit_Action) GetRemoteAddress() *RateLimit_Action_RemoteAddress

func (*RateLimit_Action) GetRequestHeaders

func (m *RateLimit_Action) GetRequestHeaders() *RateLimit_Action_RequestHeaders

func (*RateLimit_Action) GetSourceCluster

func (m *RateLimit_Action) GetSourceCluster() *RateLimit_Action_SourceCluster

func (*RateLimit_Action) Marshal

func (m *RateLimit_Action) Marshal() (dAtA []byte, err error)

func (*RateLimit_Action) MarshalTo

func (m *RateLimit_Action) MarshalTo(dAtA []byte) (int, error)

func (*RateLimit_Action) ProtoMessage

func (*RateLimit_Action) ProtoMessage()

func (*RateLimit_Action) Reset

func (m *RateLimit_Action) Reset()

func (*RateLimit_Action) Size

func (m *RateLimit_Action) Size() (n int)

func (*RateLimit_Action) String

func (m *RateLimit_Action) String() string

func (*RateLimit_Action) Unmarshal

func (m *RateLimit_Action) Unmarshal(dAtA []byte) error

func (*RateLimit_Action) Validate

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.

func (*RateLimit_Action) XXX_DiscardUnknown

func (m *RateLimit_Action) XXX_DiscardUnknown()

func (*RateLimit_Action) XXX_Marshal

func (m *RateLimit_Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RateLimit_Action) XXX_Merge

func (dst *RateLimit_Action) XXX_Merge(src proto.Message)

func (*RateLimit_Action) XXX_OneofFuncs

func (*RateLimit_Action) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*RateLimit_Action) XXX_Size

func (m *RateLimit_Action) XXX_Size() int

func (*RateLimit_Action) XXX_Unmarshal

func (m *RateLimit_Action) XXX_Unmarshal(b []byte) error

type RateLimit_ActionValidationError

type RateLimit_ActionValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (RateLimit_ActionValidationError) Error

Error satisfies the builtin error interface

type RateLimit_Action_DestinationCluster

type RateLimit_Action_DestinationCluster struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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_RouteConfiguration>` settings:

  • :ref:`cluster <envoy_api_field_route.RouteAction.cluster>` indicates the upstream cluster to route to.
  • :ref:`weighted_clusters <envoy_api_field_route.RouteAction.weighted_clusters>` chooses a cluster randomly from a set of clusters with attributed weight.
  • :ref:`cluster_header <envoy_api_field_route.RouteAction.cluster_header>` indicates which header in the request contains the target cluster.

func (*RateLimit_Action_DestinationCluster) Descriptor

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

func (*RateLimit_Action_DestinationCluster) Equal

func (this *RateLimit_Action_DestinationCluster) Equal(that interface{}) bool

func (*RateLimit_Action_DestinationCluster) Marshal

func (m *RateLimit_Action_DestinationCluster) Marshal() (dAtA []byte, err error)

func (*RateLimit_Action_DestinationCluster) MarshalTo

func (m *RateLimit_Action_DestinationCluster) MarshalTo(dAtA []byte) (int, error)

func (*RateLimit_Action_DestinationCluster) ProtoMessage

func (*RateLimit_Action_DestinationCluster) ProtoMessage()

func (*RateLimit_Action_DestinationCluster) Reset

func (*RateLimit_Action_DestinationCluster) Size

func (*RateLimit_Action_DestinationCluster) String

func (*RateLimit_Action_DestinationCluster) Unmarshal

func (m *RateLimit_Action_DestinationCluster) Unmarshal(dAtA []byte) error

func (*RateLimit_Action_DestinationCluster) Validate

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.

func (*RateLimit_Action_DestinationCluster) XXX_DiscardUnknown

func (m *RateLimit_Action_DestinationCluster) XXX_DiscardUnknown()

func (*RateLimit_Action_DestinationCluster) XXX_Marshal

func (m *RateLimit_Action_DestinationCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RateLimit_Action_DestinationCluster) XXX_Merge

func (*RateLimit_Action_DestinationCluster) XXX_Size

func (*RateLimit_Action_DestinationCluster) XXX_Unmarshal

func (m *RateLimit_Action_DestinationCluster) XXX_Unmarshal(b []byte) error

type RateLimit_Action_DestinationClusterValidationError

type RateLimit_Action_DestinationClusterValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (RateLimit_Action_DestinationClusterValidationError) Error

Error satisfies the builtin error interface

type RateLimit_Action_DestinationCluster_

type RateLimit_Action_DestinationCluster_ struct {
	DestinationCluster *RateLimit_Action_DestinationCluster `protobuf:"bytes,2,opt,name=destination_cluster,json=destinationCluster,oneof"`
}

func (*RateLimit_Action_DestinationCluster_) Equal

func (this *RateLimit_Action_DestinationCluster_) Equal(that interface{}) bool

func (*RateLimit_Action_DestinationCluster_) MarshalTo

func (m *RateLimit_Action_DestinationCluster_) MarshalTo(dAtA []byte) (int, error)

func (*RateLimit_Action_DestinationCluster_) Size

type RateLimit_Action_GenericKey

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The following descriptor entry is appended to the descriptor:

.. code-block:: cpp

("generic_key", "<descriptor_value>")

func (*RateLimit_Action_GenericKey) Descriptor

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

func (*RateLimit_Action_GenericKey) Equal

func (this *RateLimit_Action_GenericKey) Equal(that interface{}) bool

func (*RateLimit_Action_GenericKey) GetDescriptorValue

func (m *RateLimit_Action_GenericKey) GetDescriptorValue() string

func (*RateLimit_Action_GenericKey) Marshal

func (m *RateLimit_Action_GenericKey) Marshal() (dAtA []byte, err error)

func (*RateLimit_Action_GenericKey) MarshalTo

func (m *RateLimit_Action_GenericKey) MarshalTo(dAtA []byte) (int, error)

func (*RateLimit_Action_GenericKey) ProtoMessage

func (*RateLimit_Action_GenericKey) ProtoMessage()

func (*RateLimit_Action_GenericKey) Reset

func (m *RateLimit_Action_GenericKey) Reset()

func (*RateLimit_Action_GenericKey) Size

func (m *RateLimit_Action_GenericKey) Size() (n int)

func (*RateLimit_Action_GenericKey) String

func (m *RateLimit_Action_GenericKey) String() string

func (*RateLimit_Action_GenericKey) Unmarshal

func (m *RateLimit_Action_GenericKey) Unmarshal(dAtA []byte) error

func (*RateLimit_Action_GenericKey) Validate

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.

func (*RateLimit_Action_GenericKey) XXX_DiscardUnknown

func (m *RateLimit_Action_GenericKey) XXX_DiscardUnknown()

func (*RateLimit_Action_GenericKey) XXX_Marshal

func (m *RateLimit_Action_GenericKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RateLimit_Action_GenericKey) XXX_Merge

func (dst *RateLimit_Action_GenericKey) XXX_Merge(src proto.Message)

func (*RateLimit_Action_GenericKey) XXX_Size

func (m *RateLimit_Action_GenericKey) XXX_Size() int

func (*RateLimit_Action_GenericKey) XXX_Unmarshal

func (m *RateLimit_Action_GenericKey) XXX_Unmarshal(b []byte) error

type RateLimit_Action_GenericKeyValidationError

type RateLimit_Action_GenericKeyValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (RateLimit_Action_GenericKeyValidationError) Error

Error satisfies the builtin error interface

type RateLimit_Action_GenericKey_

type RateLimit_Action_GenericKey_ struct {
	GenericKey *RateLimit_Action_GenericKey `protobuf:"bytes,5,opt,name=generic_key,json=genericKey,oneof"`
}

func (*RateLimit_Action_GenericKey_) Equal

func (this *RateLimit_Action_GenericKey_) Equal(that interface{}) bool

func (*RateLimit_Action_GenericKey_) MarshalTo

func (m *RateLimit_Action_GenericKey_) MarshalTo(dAtA []byte) (int, error)

func (*RateLimit_Action_GenericKey_) Size

func (m *RateLimit_Action_GenericKey_) Size() (n int)

type RateLimit_Action_HeaderValueMatch

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 *types.BoolValue `protobuf:"bytes,2,opt,name=expect_match,json=expectMatch" 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" json:"headers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

The following descriptor entry is appended to the descriptor:

.. code-block:: cpp

("header_match", "<descriptor_value>")

func (*RateLimit_Action_HeaderValueMatch) Descriptor

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

func (*RateLimit_Action_HeaderValueMatch) Equal

func (this *RateLimit_Action_HeaderValueMatch) Equal(that interface{}) bool

func (*RateLimit_Action_HeaderValueMatch) GetDescriptorValue

func (m *RateLimit_Action_HeaderValueMatch) GetDescriptorValue() string

func (*RateLimit_Action_HeaderValueMatch) GetExpectMatch

func (m *RateLimit_Action_HeaderValueMatch) GetExpectMatch() *types.BoolValue

func (*RateLimit_Action_HeaderValueMatch) GetHeaders

func (*RateLimit_Action_HeaderValueMatch) Marshal

func (m *RateLimit_Action_HeaderValueMatch) Marshal() (dAtA []byte, err error)

func (*RateLimit_Action_HeaderValueMatch) MarshalTo

func (m *RateLimit_Action_HeaderValueMatch) MarshalTo(dAtA []byte) (int, error)

func (*RateLimit_Action_HeaderValueMatch) ProtoMessage

func (*RateLimit_Action_HeaderValueMatch) ProtoMessage()

func (*RateLimit_Action_HeaderValueMatch) Reset

func (*RateLimit_Action_HeaderValueMatch) Size

func (m *RateLimit_Action_HeaderValueMatch) Size() (n int)

func (*RateLimit_Action_HeaderValueMatch) String

func (*RateLimit_Action_HeaderValueMatch) Unmarshal

func (m *RateLimit_Action_HeaderValueMatch) Unmarshal(dAtA []byte) error

func (*RateLimit_Action_HeaderValueMatch) Validate

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.

func (*RateLimit_Action_HeaderValueMatch) XXX_DiscardUnknown

func (m *RateLimit_Action_HeaderValueMatch) XXX_DiscardUnknown()

func (*RateLimit_Action_HeaderValueMatch) XXX_Marshal

func (m *RateLimit_Action_HeaderValueMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RateLimit_Action_HeaderValueMatch) XXX_Merge

func (dst *RateLimit_Action_HeaderValueMatch) XXX_Merge(src proto.Message)

func (*RateLimit_Action_HeaderValueMatch) XXX_Size

func (m *RateLimit_Action_HeaderValueMatch) XXX_Size() int

func (*RateLimit_Action_HeaderValueMatch) XXX_Unmarshal

func (m *RateLimit_Action_HeaderValueMatch) XXX_Unmarshal(b []byte) error

type RateLimit_Action_HeaderValueMatchValidationError

type RateLimit_Action_HeaderValueMatchValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (RateLimit_Action_HeaderValueMatchValidationError) Error

Error satisfies the builtin error interface

type RateLimit_Action_HeaderValueMatch_

type RateLimit_Action_HeaderValueMatch_ struct {
	HeaderValueMatch *RateLimit_Action_HeaderValueMatch `protobuf:"bytes,6,opt,name=header_value_match,json=headerValueMatch,oneof"`
}

func (*RateLimit_Action_HeaderValueMatch_) Equal

func (this *RateLimit_Action_HeaderValueMatch_) Equal(that interface{}) bool

func (*RateLimit_Action_HeaderValueMatch_) MarshalTo

func (m *RateLimit_Action_HeaderValueMatch_) MarshalTo(dAtA []byte) (int, error)

func (*RateLimit_Action_HeaderValueMatch_) Size

type RateLimit_Action_RemoteAddress

type RateLimit_Action_RemoteAddress struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*RateLimit_Action_RemoteAddress) Equal

func (this *RateLimit_Action_RemoteAddress) Equal(that interface{}) bool

func (*RateLimit_Action_RemoteAddress) Marshal

func (m *RateLimit_Action_RemoteAddress) Marshal() (dAtA []byte, err error)

func (*RateLimit_Action_RemoteAddress) MarshalTo

func (m *RateLimit_Action_RemoteAddress) MarshalTo(dAtA []byte) (int, error)

func (*RateLimit_Action_RemoteAddress) ProtoMessage

func (*RateLimit_Action_RemoteAddress) ProtoMessage()

func (*RateLimit_Action_RemoteAddress) Reset

func (m *RateLimit_Action_RemoteAddress) Reset()

func (*RateLimit_Action_RemoteAddress) Size

func (m *RateLimit_Action_RemoteAddress) Size() (n int)

func (*RateLimit_Action_RemoteAddress) String

func (*RateLimit_Action_RemoteAddress) Unmarshal

func (m *RateLimit_Action_RemoteAddress) Unmarshal(dAtA []byte) error

func (*RateLimit_Action_RemoteAddress) Validate

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.

func (*RateLimit_Action_RemoteAddress) XXX_DiscardUnknown

func (m *RateLimit_Action_RemoteAddress) XXX_DiscardUnknown()

func (*RateLimit_Action_RemoteAddress) XXX_Marshal

func (m *RateLimit_Action_RemoteAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RateLimit_Action_RemoteAddress) XXX_Merge

func (dst *RateLimit_Action_RemoteAddress) XXX_Merge(src proto.Message)

func (*RateLimit_Action_RemoteAddress) XXX_Size

func (m *RateLimit_Action_RemoteAddress) XXX_Size() int

func (*RateLimit_Action_RemoteAddress) XXX_Unmarshal

func (m *RateLimit_Action_RemoteAddress) XXX_Unmarshal(b []byte) error

type RateLimit_Action_RemoteAddressValidationError

type RateLimit_Action_RemoteAddressValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (RateLimit_Action_RemoteAddressValidationError) Error

Error satisfies the builtin error interface

type RateLimit_Action_RemoteAddress_

type RateLimit_Action_RemoteAddress_ struct {
	RemoteAddress *RateLimit_Action_RemoteAddress `protobuf:"bytes,4,opt,name=remote_address,json=remoteAddress,oneof"`
}

func (*RateLimit_Action_RemoteAddress_) Equal

func (this *RateLimit_Action_RemoteAddress_) Equal(that interface{}) bool

func (*RateLimit_Action_RemoteAddress_) MarshalTo

func (m *RateLimit_Action_RemoteAddress_) MarshalTo(dAtA []byte) (int, error)

func (*RateLimit_Action_RemoteAddress_) Size

func (m *RateLimit_Action_RemoteAddress_) Size() (n int)

type RateLimit_Action_RequestHeaders

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*RateLimit_Action_RequestHeaders) Equal

func (this *RateLimit_Action_RequestHeaders) Equal(that interface{}) bool

func (*RateLimit_Action_RequestHeaders) GetDescriptorKey

func (m *RateLimit_Action_RequestHeaders) GetDescriptorKey() string

func (*RateLimit_Action_RequestHeaders) GetHeaderName

func (m *RateLimit_Action_RequestHeaders) GetHeaderName() string

func (*RateLimit_Action_RequestHeaders) Marshal

func (m *RateLimit_Action_RequestHeaders) Marshal() (dAtA []byte, err error)

func (*RateLimit_Action_RequestHeaders) MarshalTo

func (m *RateLimit_Action_RequestHeaders) MarshalTo(dAtA []byte) (int, error)

func (*RateLimit_Action_RequestHeaders) ProtoMessage

func (*RateLimit_Action_RequestHeaders) ProtoMessage()

func (*RateLimit_Action_RequestHeaders) Reset

func (*RateLimit_Action_RequestHeaders) Size

func (m *RateLimit_Action_RequestHeaders) Size() (n int)

func (*RateLimit_Action_RequestHeaders) String

func (*RateLimit_Action_RequestHeaders) Unmarshal

func (m *RateLimit_Action_RequestHeaders) Unmarshal(dAtA []byte) error

func (*RateLimit_Action_RequestHeaders) Validate

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.

func (*RateLimit_Action_RequestHeaders) XXX_DiscardUnknown

func (m *RateLimit_Action_RequestHeaders) XXX_DiscardUnknown()

func (*RateLimit_Action_RequestHeaders) XXX_Marshal

func (m *RateLimit_Action_RequestHeaders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RateLimit_Action_RequestHeaders) XXX_Merge

func (dst *RateLimit_Action_RequestHeaders) XXX_Merge(src proto.Message)

func (*RateLimit_Action_RequestHeaders) XXX_Size

func (m *RateLimit_Action_RequestHeaders) XXX_Size() int

func (*RateLimit_Action_RequestHeaders) XXX_Unmarshal

func (m *RateLimit_Action_RequestHeaders) XXX_Unmarshal(b []byte) error

type RateLimit_Action_RequestHeadersValidationError

type RateLimit_Action_RequestHeadersValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (RateLimit_Action_RequestHeadersValidationError) Error

Error satisfies the builtin error interface

type RateLimit_Action_RequestHeaders_

type RateLimit_Action_RequestHeaders_ struct {
	RequestHeaders *RateLimit_Action_RequestHeaders `protobuf:"bytes,3,opt,name=request_headers,json=requestHeaders,oneof"`
}

func (*RateLimit_Action_RequestHeaders_) Equal

func (this *RateLimit_Action_RequestHeaders_) Equal(that interface{}) bool

func (*RateLimit_Action_RequestHeaders_) MarshalTo

func (m *RateLimit_Action_RequestHeaders_) MarshalTo(dAtA []byte) (int, error)

func (*RateLimit_Action_RequestHeaders_) Size

func (m *RateLimit_Action_RequestHeaders_) Size() (n int)

type RateLimit_Action_SourceCluster

type RateLimit_Action_SourceCluster struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*RateLimit_Action_SourceCluster) Equal

func (this *RateLimit_Action_SourceCluster) Equal(that interface{}) bool

func (*RateLimit_Action_SourceCluster) Marshal

func (m *RateLimit_Action_SourceCluster) Marshal() (dAtA []byte, err error)

func (*RateLimit_Action_SourceCluster) MarshalTo

func (m *RateLimit_Action_SourceCluster) MarshalTo(dAtA []byte) (int, error)

func (*RateLimit_Action_SourceCluster) ProtoMessage

func (*RateLimit_Action_SourceCluster) ProtoMessage()

func (*RateLimit_Action_SourceCluster) Reset

func (m *RateLimit_Action_SourceCluster) Reset()

func (*RateLimit_Action_SourceCluster) Size

func (m *RateLimit_Action_SourceCluster) Size() (n int)

func (*RateLimit_Action_SourceCluster) String

func (*RateLimit_Action_SourceCluster) Unmarshal

func (m *RateLimit_Action_SourceCluster) Unmarshal(dAtA []byte) error

func (*RateLimit_Action_SourceCluster) Validate

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.

func (*RateLimit_Action_SourceCluster) XXX_DiscardUnknown

func (m *RateLimit_Action_SourceCluster) XXX_DiscardUnknown()

func (*RateLimit_Action_SourceCluster) XXX_Marshal

func (m *RateLimit_Action_SourceCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RateLimit_Action_SourceCluster) XXX_Merge

func (dst *RateLimit_Action_SourceCluster) XXX_Merge(src proto.Message)

func (*RateLimit_Action_SourceCluster) XXX_Size

func (m *RateLimit_Action_SourceCluster) XXX_Size() int

func (*RateLimit_Action_SourceCluster) XXX_Unmarshal

func (m *RateLimit_Action_SourceCluster) XXX_Unmarshal(b []byte) error

type RateLimit_Action_SourceClusterValidationError

type RateLimit_Action_SourceClusterValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (RateLimit_Action_SourceClusterValidationError) Error

Error satisfies the builtin error interface

type RateLimit_Action_SourceCluster_

type RateLimit_Action_SourceCluster_ struct {
	SourceCluster *RateLimit_Action_SourceCluster `protobuf:"bytes,1,opt,name=source_cluster,json=sourceCluster,oneof"`
}

func (*RateLimit_Action_SourceCluster_) Equal

func (this *RateLimit_Action_SourceCluster_) Equal(that interface{}) bool

func (*RateLimit_Action_SourceCluster_) MarshalTo

func (m *RateLimit_Action_SourceCluster_) MarshalTo(dAtA []byte) (int, error)

func (*RateLimit_Action_SourceCluster_) Size

func (m *RateLimit_Action_SourceCluster_) Size() (n int)

type RedirectAction

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 valid to be assigned 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 valid to be assigned to PathRewriteSpecifier:
	//	*RedirectAction_PathRedirect
	//	*RedirectAction_PrefixRewrite
	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 `` /* 158-byte string literal not displayed */
	// 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RedirectAction) Descriptor

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

func (*RedirectAction) Equal

func (this *RedirectAction) Equal(that interface{}) bool

func (*RedirectAction) GetHostRedirect

func (m *RedirectAction) GetHostRedirect() string

func (*RedirectAction) GetHttpsRedirect

func (m *RedirectAction) GetHttpsRedirect() bool

func (*RedirectAction) GetPathRedirect

func (m *RedirectAction) GetPathRedirect() string

func (*RedirectAction) GetPathRewriteSpecifier

func (m *RedirectAction) GetPathRewriteSpecifier() isRedirectAction_PathRewriteSpecifier

func (*RedirectAction) GetPortRedirect added in v0.6.2

func (m *RedirectAction) GetPortRedirect() uint32

func (*RedirectAction) GetPrefixRewrite

func (m *RedirectAction) GetPrefixRewrite() string

func (*RedirectAction) GetResponseCode

func (*RedirectAction) GetSchemeRedirect added in v0.6.2

func (m *RedirectAction) GetSchemeRedirect() string

func (*RedirectAction) GetSchemeRewriteSpecifier added in v0.6.2

func (m *RedirectAction) GetSchemeRewriteSpecifier() isRedirectAction_SchemeRewriteSpecifier

func (*RedirectAction) GetStripQuery

func (m *RedirectAction) GetStripQuery() bool

func (*RedirectAction) Marshal

func (m *RedirectAction) Marshal() (dAtA []byte, err error)

func (*RedirectAction) MarshalTo

func (m *RedirectAction) MarshalTo(dAtA []byte) (int, error)

func (*RedirectAction) ProtoMessage

func (*RedirectAction) ProtoMessage()

func (*RedirectAction) Reset

func (m *RedirectAction) Reset()

func (*RedirectAction) Size

func (m *RedirectAction) Size() (n int)

func (*RedirectAction) String

func (m *RedirectAction) String() string

func (*RedirectAction) Unmarshal

func (m *RedirectAction) Unmarshal(dAtA []byte) error

func (*RedirectAction) Validate

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.

func (*RedirectAction) XXX_DiscardUnknown

func (m *RedirectAction) XXX_DiscardUnknown()

func (*RedirectAction) XXX_Marshal

func (m *RedirectAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RedirectAction) XXX_Merge

func (dst *RedirectAction) XXX_Merge(src proto.Message)

func (*RedirectAction) XXX_OneofFuncs

func (*RedirectAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*RedirectAction) XXX_Size

func (m *RedirectAction) XXX_Size() int

func (*RedirectAction) XXX_Unmarshal

func (m *RedirectAction) XXX_Unmarshal(b []byte) error

type RedirectActionValidationError

type RedirectActionValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (RedirectActionValidationError) Error

Error satisfies the builtin error interface

type RedirectAction_HttpsRedirect added in v0.6.2

type RedirectAction_HttpsRedirect struct {
	HttpsRedirect bool `protobuf:"varint,4,opt,name=https_redirect,json=httpsRedirect,proto3,oneof"`
}

func (*RedirectAction_HttpsRedirect) Equal added in v0.6.2

func (this *RedirectAction_HttpsRedirect) Equal(that interface{}) bool

func (*RedirectAction_HttpsRedirect) MarshalTo added in v0.6.2

func (m *RedirectAction_HttpsRedirect) MarshalTo(dAtA []byte) (int, error)

func (*RedirectAction_HttpsRedirect) Size added in v0.6.2

func (m *RedirectAction_HttpsRedirect) Size() (n int)

type RedirectAction_PathRedirect

type RedirectAction_PathRedirect struct {
	PathRedirect string `protobuf:"bytes,2,opt,name=path_redirect,json=pathRedirect,proto3,oneof"`
}

func (*RedirectAction_PathRedirect) Equal

func (this *RedirectAction_PathRedirect) Equal(that interface{}) bool

func (*RedirectAction_PathRedirect) MarshalTo

func (m *RedirectAction_PathRedirect) MarshalTo(dAtA []byte) (int, error)

func (*RedirectAction_PathRedirect) Size

func (m *RedirectAction_PathRedirect) Size() (n int)

type RedirectAction_PrefixRewrite

type RedirectAction_PrefixRewrite struct {
	PrefixRewrite string `protobuf:"bytes,5,opt,name=prefix_rewrite,json=prefixRewrite,proto3,oneof"`
}

func (*RedirectAction_PrefixRewrite) Equal

func (this *RedirectAction_PrefixRewrite) Equal(that interface{}) bool

func (*RedirectAction_PrefixRewrite) MarshalTo

func (m *RedirectAction_PrefixRewrite) MarshalTo(dAtA []byte) (int, error)

func (*RedirectAction_PrefixRewrite) Size

func (m *RedirectAction_PrefixRewrite) Size() (n int)

type RedirectAction_RedirectResponseCode

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) EnumDescriptor

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

func (RedirectAction_RedirectResponseCode) String

type RedirectAction_SchemeRedirect added in v0.6.2

type RedirectAction_SchemeRedirect struct {
	SchemeRedirect string `protobuf:"bytes,7,opt,name=scheme_redirect,json=schemeRedirect,proto3,oneof"`
}

func (*RedirectAction_SchemeRedirect) Equal added in v0.6.2

func (this *RedirectAction_SchemeRedirect) Equal(that interface{}) bool

func (*RedirectAction_SchemeRedirect) MarshalTo added in v0.6.2

func (m *RedirectAction_SchemeRedirect) MarshalTo(dAtA []byte) (int, error)

func (*RedirectAction_SchemeRedirect) Size added in v0.6.2

func (m *RedirectAction_SchemeRedirect) Size() (n int)

type Route

type Route struct {
	// Route matching parameters.
	Match RouteMatch `protobuf:"bytes,1,opt,name=match" json:"match"`
	// Types that are valid to be assigned to Action:
	//	*Route_Route
	//	*Route_Redirect
	//	*Route_DirectResponse
	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.router*.
	Metadata *core.Metadata `protobuf:"bytes,4,opt,name=metadata" json:"metadata,omitempty"`
	// Decorator for the matched route.
	Decorator *Decorator `protobuf:"bytes,5,opt,name=decorator" json:"decorator,omitempty"`
	// The per_filter_config field can be used to provide route-specific
	// configurations for filters. The key should match the filter name, such as
	// *envoy.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.
	PerFilterConfig map[string]*types.Struct `` /* 182-byte string literal not displayed */
	// [#not-implemented-hide:]
	// The per_filter_config field can be used to provide route-specific
	// configurations for filters. The key should match the filter name, such as
	// *envoy.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]*types.Any `` /* 200-byte string literal not displayed */
	// 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_route.VirtualHost` and
	// :ref:`envoy_api_msg_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 []*core.HeaderValueOption `protobuf:"bytes,9,rep,name=request_headers_to_add,json=requestHeadersToAdd" 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" 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_route.VirtualHost` and
	// :ref:`envoy_api_msg_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 []*core.HeaderValueOption `protobuf:"bytes,10,rep,name=response_headers_to_add,json=responseHeadersToAdd" 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 `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

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_route.HeaderMatcher>`.

[#comment:next free field: 14]

func (*Route) Descriptor

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

func (*Route) Equal

func (this *Route) Equal(that interface{}) bool

func (*Route) GetAction

func (m *Route) GetAction() isRoute_Action

func (*Route) GetDecorator

func (m *Route) GetDecorator() *Decorator

func (*Route) GetDirectResponse

func (m *Route) GetDirectResponse() *DirectResponseAction

func (*Route) GetMatch

func (m *Route) GetMatch() RouteMatch

func (*Route) GetMetadata

func (m *Route) GetMetadata() *core.Metadata

func (*Route) GetPerFilterConfig

func (m *Route) GetPerFilterConfig() map[string]*types.Struct

func (*Route) GetRedirect

func (m *Route) GetRedirect() *RedirectAction

func (*Route) GetRequestHeadersToAdd

func (m *Route) GetRequestHeadersToAdd() []*core.HeaderValueOption

func (*Route) GetRequestHeadersToRemove added in v0.6.0

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

func (*Route) GetResponseHeadersToAdd

func (m *Route) GetResponseHeadersToAdd() []*core.HeaderValueOption

func (*Route) GetResponseHeadersToRemove

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

func (*Route) GetRoute

func (m *Route) GetRoute() *RouteAction

func (*Route) GetTypedPerFilterConfig added in v0.6.3

func (m *Route) GetTypedPerFilterConfig() map[string]*types.Any

func (*Route) Marshal

func (m *Route) Marshal() (dAtA []byte, err error)

func (*Route) MarshalTo

func (m *Route) MarshalTo(dAtA []byte) (int, error)

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) Reset

func (m *Route) Reset()

func (*Route) Size

func (m *Route) Size() (n int)

func (*Route) String

func (m *Route) String() string

func (*Route) Unmarshal

func (m *Route) Unmarshal(dAtA []byte) error

func (*Route) Validate

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.

func (*Route) XXX_DiscardUnknown

func (m *Route) XXX_DiscardUnknown()

func (*Route) XXX_Marshal

func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Route) XXX_Merge

func (dst *Route) XXX_Merge(src proto.Message)

func (*Route) XXX_OneofFuncs

func (*Route) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Route) XXX_Size

func (m *Route) XXX_Size() int

func (*Route) XXX_Unmarshal

func (m *Route) XXX_Unmarshal(b []byte) error

type RouteAction

type RouteAction struct {
	// Types that are valid to be assigned 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 `` /* 214-byte string literal not displayed */
	// 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_route.RouteAction.weighted_clusters>`, metadata will be merged, with values
	// provided there taking precedence. The filter name should be specified as *envoy.lb*.
	MetadataMatch *core.Metadata `protobuf:"bytes,4,opt,name=metadata_match,json=metadataMatch" 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.
	//
	// .. attention::
	//
	//   Pay careful attention to the use of trailing slashes in the
	//   :ref:`route's match <envoy_api_field_route.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_route.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"`
	// Types that are valid to be assigned to HostRewriteSpecifier:
	//	*RouteAction_HostRewrite
	//	*RouteAction_AutoHostRewrite
	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.
	//
	// .. 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 *time.Duration `protobuf:"bytes,8,opt,name=timeout,stdduration" 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_config.filter.network.http_connection_manager.v2.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_route.RouteAction.timeout>`, which provides an upper bound
	// on the upstream response time; :ref:`idle_timeout
	// <envoy_api_field_route.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.
	IdleTimeout *time.Duration `protobuf:"bytes,24,opt,name=idle_timeout,json=idleTimeout,stdduration" json:"idle_timeout,omitempty"`
	// Indicates that the route has a retry policy.
	RetryPolicy *RouteAction_RetryPolicy `protobuf:"bytes,9,opt,name=retry_policy,json=retryPolicy" json:"retry_policy,omitempty"`
	// Indicates that the route has a request mirroring policy.
	RequestMirrorPolicy *RouteAction_RequestMirrorPolicy `protobuf:"bytes,10,opt,name=request_mirror_policy,json=requestMirrorPolicy" json:"request_mirror_policy,omitempty"`
	// Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
	// [#comment:TODO(htuch): add (validate.rules).enum.defined_only = true once
	// https://github.com/lyft/protoc-gen-validate/issues/42 is resolved.]
	Priority core.RoutingPriority `protobuf:"varint,11,opt,name=priority,proto3,enum=envoy.api.v2.core.RoutingPriority" json:"priority,omitempty"`
	// [#not-implemented-hide:]
	RequestHeadersToAdd []*core.HeaderValueOption `protobuf:"bytes,12,rep,name=request_headers_to_add,json=requestHeadersToAdd" json:"request_headers_to_add,omitempty"` // Deprecated: Do not use.
	// [#not-implemented-hide:]
	ResponseHeadersToAdd []*core.HeaderValueOption `protobuf:"bytes,18,rep,name=response_headers_to_add,json=responseHeadersToAdd" json:"response_headers_to_add,omitempty"` // Deprecated: Do not use.
	// [#not-implemented-hide:]
	ResponseHeadersToRemove []string `` // Deprecated: Do not use.
	/* 128-byte string literal not displayed */
	// 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" 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_route.VirtualHost.rate_limits>` are not applied to the
	// request.
	IncludeVhRateLimits *types.BoolValue `protobuf:"bytes,14,opt,name=include_vh_rate_limits,json=includeVhRateLimits" json:"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" json:"hash_policy,omitempty"`
	// Indicates that the route has a CORS policy.
	Cors *CorsPolicy `protobuf:"bytes,17,opt,name=cors" json:"cors,omitempty"`
	// 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_route.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_route.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.
	MaxGrpcTimeout       *time.Duration               `protobuf:"bytes,23,opt,name=max_grpc_timeout,json=maxGrpcTimeout,stdduration" json:"max_grpc_timeout,omitempty"`
	UpgradeConfigs       []*RouteAction_UpgradeConfig `protobuf:"bytes,25,rep,name=upgrade_configs,json=upgradeConfigs" json:"upgrade_configs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

[#comment:next free field: 26]

func (*RouteAction) Descriptor

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

func (*RouteAction) Equal

func (this *RouteAction) Equal(that interface{}) bool

func (*RouteAction) GetAutoHostRewrite

func (m *RouteAction) GetAutoHostRewrite() *types.BoolValue

func (*RouteAction) GetCluster

func (m *RouteAction) GetCluster() string

func (*RouteAction) GetClusterHeader

func (m *RouteAction) GetClusterHeader() string

func (*RouteAction) GetClusterNotFoundResponseCode

func (m *RouteAction) GetClusterNotFoundResponseCode() RouteAction_ClusterNotFoundResponseCode

func (*RouteAction) GetClusterSpecifier

func (m *RouteAction) GetClusterSpecifier() isRouteAction_ClusterSpecifier

func (*RouteAction) GetCors

func (m *RouteAction) GetCors() *CorsPolicy

func (*RouteAction) GetHashPolicy

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

func (*RouteAction) GetHostRewrite

func (m *RouteAction) GetHostRewrite() string

func (*RouteAction) GetHostRewriteSpecifier

func (m *RouteAction) GetHostRewriteSpecifier() isRouteAction_HostRewriteSpecifier

func (*RouteAction) GetIdleTimeout

func (m *RouteAction) GetIdleTimeout() *time.Duration

func (*RouteAction) GetIncludeVhRateLimits

func (m *RouteAction) GetIncludeVhRateLimits() *types.BoolValue

func (*RouteAction) GetMaxGrpcTimeout

func (m *RouteAction) GetMaxGrpcTimeout() *time.Duration

func (*RouteAction) GetMetadataMatch

func (m *RouteAction) GetMetadataMatch() *core.Metadata

func (*RouteAction) GetPrefixRewrite

func (m *RouteAction) GetPrefixRewrite() string

func (*RouteAction) GetPriority

func (m *RouteAction) GetPriority() core.RoutingPriority

func (*RouteAction) GetRateLimits

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

func (*RouteAction) GetRequestHeadersToAdd deprecated

func (m *RouteAction) GetRequestHeadersToAdd() []*core.HeaderValueOption

Deprecated: Do not use.

func (*RouteAction) GetRequestMirrorPolicy

func (m *RouteAction) GetRequestMirrorPolicy() *RouteAction_RequestMirrorPolicy

func (*RouteAction) GetResponseHeadersToAdd deprecated

func (m *RouteAction) GetResponseHeadersToAdd() []*core.HeaderValueOption

Deprecated: Do not use.

func (*RouteAction) GetResponseHeadersToRemove deprecated

func (m *RouteAction) GetResponseHeadersToRemove() []string

Deprecated: Do not use.

func (*RouteAction) GetRetryPolicy

func (m *RouteAction) GetRetryPolicy() *RouteAction_RetryPolicy

func (*RouteAction) GetTimeout

func (m *RouteAction) GetTimeout() *time.Duration

func (*RouteAction) GetUpgradeConfigs added in v0.6.4

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

func (*RouteAction) GetWeightedClusters

func (m *RouteAction) GetWeightedClusters() *WeightedCluster

func (*RouteAction) Marshal

func (m *RouteAction) Marshal() (dAtA []byte, err error)

func (*RouteAction) MarshalTo

func (m *RouteAction) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction) ProtoMessage

func (*RouteAction) ProtoMessage()

func (*RouteAction) Reset

func (m *RouteAction) Reset()

func (*RouteAction) Size

func (m *RouteAction) Size() (n int)

func (*RouteAction) String

func (m *RouteAction) String() string

func (*RouteAction) Unmarshal

func (m *RouteAction) Unmarshal(dAtA []byte) error

func (*RouteAction) Validate

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.

func (*RouteAction) XXX_DiscardUnknown

func (m *RouteAction) XXX_DiscardUnknown()

func (*RouteAction) XXX_Marshal

func (m *RouteAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteAction) XXX_Merge

func (dst *RouteAction) XXX_Merge(src proto.Message)

func (*RouteAction) XXX_OneofFuncs

func (*RouteAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*RouteAction) XXX_Size

func (m *RouteAction) XXX_Size() int

func (*RouteAction) XXX_Unmarshal

func (m *RouteAction) XXX_Unmarshal(b []byte) error

type RouteActionValidationError

type RouteActionValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (RouteActionValidationError) Error

Error satisfies the builtin error interface

type RouteAction_AutoHostRewrite

type RouteAction_AutoHostRewrite struct {
	AutoHostRewrite *types.BoolValue `protobuf:"bytes,7,opt,name=auto_host_rewrite,json=autoHostRewrite,oneof"`
}

func (*RouteAction_AutoHostRewrite) Equal

func (this *RouteAction_AutoHostRewrite) Equal(that interface{}) bool

func (*RouteAction_AutoHostRewrite) MarshalTo

func (m *RouteAction_AutoHostRewrite) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction_AutoHostRewrite) Size

func (m *RouteAction_AutoHostRewrite) Size() (n int)

type RouteAction_Cluster

type RouteAction_Cluster struct {
	Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3,oneof"`
}

func (*RouteAction_Cluster) Equal

func (this *RouteAction_Cluster) Equal(that interface{}) bool

func (*RouteAction_Cluster) MarshalTo

func (m *RouteAction_Cluster) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction_Cluster) Size

func (m *RouteAction_Cluster) Size() (n int)

type RouteAction_ClusterHeader

type RouteAction_ClusterHeader struct {
	ClusterHeader string `protobuf:"bytes,2,opt,name=cluster_header,json=clusterHeader,proto3,oneof"`
}

func (*RouteAction_ClusterHeader) Equal

func (this *RouteAction_ClusterHeader) Equal(that interface{}) bool

func (*RouteAction_ClusterHeader) MarshalTo

func (m *RouteAction_ClusterHeader) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction_ClusterHeader) Size

func (m *RouteAction_ClusterHeader) Size() (n int)

type RouteAction_ClusterNotFoundResponseCode

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) EnumDescriptor

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

func (RouteAction_ClusterNotFoundResponseCode) String

type RouteAction_HashPolicy

type RouteAction_HashPolicy struct {
	// Types that are valid to be assigned to PolicySpecifier:
	//	*RouteAction_HashPolicy_Header_
	//	*RouteAction_HashPolicy_Cookie_
	//	*RouteAction_HashPolicy_ConnectionProperties_
	PolicySpecifier isRouteAction_HashPolicy_PolicySpecifier `protobuf_oneof:"policy_specifier"`
	// The flag that shortcircuits 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Specifies the route's hashing policy if the upstream cluster uses a hashing :ref:`load balancer <arch_overview_load_balancing_types>`.

func (*RouteAction_HashPolicy) Descriptor

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

func (*RouteAction_HashPolicy) Equal

func (this *RouteAction_HashPolicy) Equal(that interface{}) bool

func (*RouteAction_HashPolicy) GetConnectionProperties

func (*RouteAction_HashPolicy) GetCookie

func (*RouteAction_HashPolicy) GetHeader

func (*RouteAction_HashPolicy) GetPolicySpecifier

func (m *RouteAction_HashPolicy) GetPolicySpecifier() isRouteAction_HashPolicy_PolicySpecifier

func (*RouteAction_HashPolicy) GetTerminal added in v0.6.0

func (m *RouteAction_HashPolicy) GetTerminal() bool

func (*RouteAction_HashPolicy) Marshal

func (m *RouteAction_HashPolicy) Marshal() (dAtA []byte, err error)

func (*RouteAction_HashPolicy) MarshalTo

func (m *RouteAction_HashPolicy) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction_HashPolicy) ProtoMessage

func (*RouteAction_HashPolicy) ProtoMessage()

func (*RouteAction_HashPolicy) Reset

func (m *RouteAction_HashPolicy) Reset()

func (*RouteAction_HashPolicy) Size

func (m *RouteAction_HashPolicy) Size() (n int)

func (*RouteAction_HashPolicy) String

func (m *RouteAction_HashPolicy) String() string

func (*RouteAction_HashPolicy) Unmarshal

func (m *RouteAction_HashPolicy) Unmarshal(dAtA []byte) error

func (*RouteAction_HashPolicy) Validate

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.

func (*RouteAction_HashPolicy) XXX_DiscardUnknown

func (m *RouteAction_HashPolicy) XXX_DiscardUnknown()

func (*RouteAction_HashPolicy) XXX_Marshal

func (m *RouteAction_HashPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteAction_HashPolicy) XXX_Merge

func (dst *RouteAction_HashPolicy) XXX_Merge(src proto.Message)

func (*RouteAction_HashPolicy) XXX_OneofFuncs

func (*RouteAction_HashPolicy) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*RouteAction_HashPolicy) XXX_Size

func (m *RouteAction_HashPolicy) XXX_Size() int

func (*RouteAction_HashPolicy) XXX_Unmarshal

func (m *RouteAction_HashPolicy) XXX_Unmarshal(b []byte) error

type RouteAction_HashPolicyValidationError

type RouteAction_HashPolicyValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (RouteAction_HashPolicyValidationError) Error

Error satisfies the builtin error interface

type RouteAction_HashPolicy_ConnectionProperties

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RouteAction_HashPolicy_ConnectionProperties) Descriptor

func (*RouteAction_HashPolicy_ConnectionProperties) Equal

func (this *RouteAction_HashPolicy_ConnectionProperties) Equal(that interface{}) bool

func (*RouteAction_HashPolicy_ConnectionProperties) GetSourceIp

func (*RouteAction_HashPolicy_ConnectionProperties) Marshal

func (m *RouteAction_HashPolicy_ConnectionProperties) Marshal() (dAtA []byte, err error)

func (*RouteAction_HashPolicy_ConnectionProperties) MarshalTo

func (*RouteAction_HashPolicy_ConnectionProperties) ProtoMessage

func (*RouteAction_HashPolicy_ConnectionProperties) Reset

func (*RouteAction_HashPolicy_ConnectionProperties) Size

func (*RouteAction_HashPolicy_ConnectionProperties) String

func (*RouteAction_HashPolicy_ConnectionProperties) Unmarshal

func (*RouteAction_HashPolicy_ConnectionProperties) Validate

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.

func (*RouteAction_HashPolicy_ConnectionProperties) XXX_DiscardUnknown

func (m *RouteAction_HashPolicy_ConnectionProperties) XXX_DiscardUnknown()

func (*RouteAction_HashPolicy_ConnectionProperties) XXX_Marshal

func (m *RouteAction_HashPolicy_ConnectionProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteAction_HashPolicy_ConnectionProperties) XXX_Merge

func (*RouteAction_HashPolicy_ConnectionProperties) XXX_Size

func (*RouteAction_HashPolicy_ConnectionProperties) XXX_Unmarshal

type RouteAction_HashPolicy_ConnectionPropertiesValidationError

type RouteAction_HashPolicy_ConnectionPropertiesValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (RouteAction_HashPolicy_ConnectionPropertiesValidationError) Error

Error satisfies the builtin error interface

type RouteAction_HashPolicy_ConnectionProperties_

type RouteAction_HashPolicy_ConnectionProperties_ struct {
	ConnectionProperties *RouteAction_HashPolicy_ConnectionProperties `protobuf:"bytes,3,opt,name=connection_properties,json=connectionProperties,oneof"`
}

func (*RouteAction_HashPolicy_ConnectionProperties_) Equal

func (this *RouteAction_HashPolicy_ConnectionProperties_) Equal(that interface{}) bool

func (*RouteAction_HashPolicy_ConnectionProperties_) MarshalTo

func (*RouteAction_HashPolicy_ConnectionProperties_) Size

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 *time.Duration `protobuf:"bytes,2,opt,name=ttl,stdduration" 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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.
  1. 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

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

func (*RouteAction_HashPolicy_Cookie) Equal

func (this *RouteAction_HashPolicy_Cookie) Equal(that interface{}) bool

func (*RouteAction_HashPolicy_Cookie) GetName

func (*RouteAction_HashPolicy_Cookie) GetPath

func (*RouteAction_HashPolicy_Cookie) GetTtl

func (*RouteAction_HashPolicy_Cookie) Marshal

func (m *RouteAction_HashPolicy_Cookie) Marshal() (dAtA []byte, err error)

func (*RouteAction_HashPolicy_Cookie) MarshalTo

func (m *RouteAction_HashPolicy_Cookie) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction_HashPolicy_Cookie) ProtoMessage

func (*RouteAction_HashPolicy_Cookie) ProtoMessage()

func (*RouteAction_HashPolicy_Cookie) Reset

func (m *RouteAction_HashPolicy_Cookie) Reset()

func (*RouteAction_HashPolicy_Cookie) Size

func (m *RouteAction_HashPolicy_Cookie) Size() (n int)

func (*RouteAction_HashPolicy_Cookie) String

func (*RouteAction_HashPolicy_Cookie) Unmarshal

func (m *RouteAction_HashPolicy_Cookie) Unmarshal(dAtA []byte) error

func (*RouteAction_HashPolicy_Cookie) Validate

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.

func (*RouteAction_HashPolicy_Cookie) XXX_DiscardUnknown

func (m *RouteAction_HashPolicy_Cookie) XXX_DiscardUnknown()

func (*RouteAction_HashPolicy_Cookie) XXX_Marshal

func (m *RouteAction_HashPolicy_Cookie) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteAction_HashPolicy_Cookie) XXX_Merge

func (dst *RouteAction_HashPolicy_Cookie) XXX_Merge(src proto.Message)

func (*RouteAction_HashPolicy_Cookie) XXX_Size

func (m *RouteAction_HashPolicy_Cookie) XXX_Size() int

func (*RouteAction_HashPolicy_Cookie) XXX_Unmarshal

func (m *RouteAction_HashPolicy_Cookie) XXX_Unmarshal(b []byte) error

type RouteAction_HashPolicy_CookieValidationError

type RouteAction_HashPolicy_CookieValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (RouteAction_HashPolicy_CookieValidationError) Error

Error satisfies the builtin error interface

type RouteAction_HashPolicy_Cookie_ struct {
	Cookie *RouteAction_HashPolicy_Cookie `protobuf:"bytes,2,opt,name=cookie,oneof"`
}
func (this *RouteAction_HashPolicy_Cookie_) Equal(that interface{}) bool
func (m *RouteAction_HashPolicy_Cookie_) MarshalTo(dAtA []byte) (int, error)
func (m *RouteAction_HashPolicy_Cookie_) Size() (n int)

type RouteAction_HashPolicy_Header

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RouteAction_HashPolicy_Header) Descriptor

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

func (*RouteAction_HashPolicy_Header) Equal

func (this *RouteAction_HashPolicy_Header) Equal(that interface{}) bool

func (*RouteAction_HashPolicy_Header) GetHeaderName

func (m *RouteAction_HashPolicy_Header) GetHeaderName() string

func (*RouteAction_HashPolicy_Header) Marshal

func (m *RouteAction_HashPolicy_Header) Marshal() (dAtA []byte, err error)

func (*RouteAction_HashPolicy_Header) MarshalTo

func (m *RouteAction_HashPolicy_Header) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction_HashPolicy_Header) ProtoMessage

func (*RouteAction_HashPolicy_Header) ProtoMessage()

func (*RouteAction_HashPolicy_Header) Reset

func (m *RouteAction_HashPolicy_Header) Reset()

func (*RouteAction_HashPolicy_Header) Size

func (m *RouteAction_HashPolicy_Header) Size() (n int)

func (*RouteAction_HashPolicy_Header) String

func (*RouteAction_HashPolicy_Header) Unmarshal

func (m *RouteAction_HashPolicy_Header) Unmarshal(dAtA []byte) error

func (*RouteAction_HashPolicy_Header) Validate

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.

func (*RouteAction_HashPolicy_Header) XXX_DiscardUnknown

func (m *RouteAction_HashPolicy_Header) XXX_DiscardUnknown()

func (*RouteAction_HashPolicy_Header) XXX_Marshal

func (m *RouteAction_HashPolicy_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteAction_HashPolicy_Header) XXX_Merge

func (dst *RouteAction_HashPolicy_Header) XXX_Merge(src proto.Message)

func (*RouteAction_HashPolicy_Header) XXX_Size

func (m *RouteAction_HashPolicy_Header) XXX_Size() int

func (*RouteAction_HashPolicy_Header) XXX_Unmarshal

func (m *RouteAction_HashPolicy_Header) XXX_Unmarshal(b []byte) error

type RouteAction_HashPolicy_HeaderValidationError

type RouteAction_HashPolicy_HeaderValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (RouteAction_HashPolicy_HeaderValidationError) Error

Error satisfies the builtin error interface

type RouteAction_HashPolicy_Header_

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

func (*RouteAction_HashPolicy_Header_) Equal

func (this *RouteAction_HashPolicy_Header_) Equal(that interface{}) bool

func (*RouteAction_HashPolicy_Header_) MarshalTo

func (m *RouteAction_HashPolicy_Header_) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction_HashPolicy_Header_) Size

func (m *RouteAction_HashPolicy_Header_) Size() (n int)

type RouteAction_HostRewrite

type RouteAction_HostRewrite struct {
	HostRewrite string `protobuf:"bytes,6,opt,name=host_rewrite,json=hostRewrite,proto3,oneof"`
}

func (*RouteAction_HostRewrite) Equal

func (this *RouteAction_HostRewrite) Equal(that interface{}) bool

func (*RouteAction_HostRewrite) MarshalTo

func (m *RouteAction_HostRewrite) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction_HostRewrite) Size

func (m *RouteAction_HostRewrite) Size() (n int)

type RouteAction_RequestMirrorPolicy

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, Envoy will lookup the runtime key to get the % of requests to
	// mirror. Valid values are from 0 to 10000, allowing for increments of
	// 0.01% of requests to be mirrored. If the runtime key is specified in the
	// configuration but not present in runtime, 0 is the default and thus 0% of
	// requests will be mirrored.
	RuntimeKey           string   `protobuf:"bytes,2,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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*.

func (*RouteAction_RequestMirrorPolicy) Descriptor

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

func (*RouteAction_RequestMirrorPolicy) Equal

func (this *RouteAction_RequestMirrorPolicy) Equal(that interface{}) bool

func (*RouteAction_RequestMirrorPolicy) GetCluster

func (m *RouteAction_RequestMirrorPolicy) GetCluster() string

func (*RouteAction_RequestMirrorPolicy) GetRuntimeKey

func (m *RouteAction_RequestMirrorPolicy) GetRuntimeKey() string

func (*RouteAction_RequestMirrorPolicy) Marshal

func (m *RouteAction_RequestMirrorPolicy) Marshal() (dAtA []byte, err error)

func (*RouteAction_RequestMirrorPolicy) MarshalTo

func (m *RouteAction_RequestMirrorPolicy) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction_RequestMirrorPolicy) ProtoMessage

func (*RouteAction_RequestMirrorPolicy) ProtoMessage()

func (*RouteAction_RequestMirrorPolicy) Reset

func (*RouteAction_RequestMirrorPolicy) Size

func (m *RouteAction_RequestMirrorPolicy) Size() (n int)

func (*RouteAction_RequestMirrorPolicy) String

func (*RouteAction_RequestMirrorPolicy) Unmarshal

func (m *RouteAction_RequestMirrorPolicy) Unmarshal(dAtA []byte) error

func (*RouteAction_RequestMirrorPolicy) Validate

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.

func (*RouteAction_RequestMirrorPolicy) XXX_DiscardUnknown

func (m *RouteAction_RequestMirrorPolicy) XXX_DiscardUnknown()

func (*RouteAction_RequestMirrorPolicy) XXX_Marshal

func (m *RouteAction_RequestMirrorPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteAction_RequestMirrorPolicy) XXX_Merge

func (dst *RouteAction_RequestMirrorPolicy) XXX_Merge(src proto.Message)

func (*RouteAction_RequestMirrorPolicy) XXX_Size

func (m *RouteAction_RequestMirrorPolicy) XXX_Size() int

func (*RouteAction_RequestMirrorPolicy) XXX_Unmarshal

func (m *RouteAction_RequestMirrorPolicy) XXX_Unmarshal(b []byte) error

type RouteAction_RequestMirrorPolicyValidationError

type RouteAction_RequestMirrorPolicyValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (RouteAction_RequestMirrorPolicyValidationError) Error

Error satisfies the builtin error interface

type RouteAction_RetryPolicy

type RouteAction_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`.
	NumRetries *types.UInt32Value `protobuf:"bytes,2,opt,name=num_retries,json=numRetries" json:"num_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_route.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 *time.Duration `protobuf:"bytes,3,opt,name=per_try_timeout,json=perTryTimeout,stdduration" 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 *RouteAction_RetryPolicy_RetryPriority `protobuf:"bytes,4,opt,name=retry_priority,json=retryPriority" 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 []*RouteAction_RetryPolicy_RetryHostPredicate `protobuf:"bytes,5,rep,name=retry_host_predicate,json=retryHostPredicate" 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 `` /* 155-byte string literal not displayed */
	// 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" json:"retriable_status_codes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

HTTP retry :ref:`architecture overview <arch_overview_http_routing_retry>`.

func (*RouteAction_RetryPolicy) Descriptor

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

func (*RouteAction_RetryPolicy) Equal

func (this *RouteAction_RetryPolicy) Equal(that interface{}) bool

func (*RouteAction_RetryPolicy) GetHostSelectionRetryMaxAttempts added in v0.6.0

func (m *RouteAction_RetryPolicy) GetHostSelectionRetryMaxAttempts() int64

func (*RouteAction_RetryPolicy) GetNumRetries

func (m *RouteAction_RetryPolicy) GetNumRetries() *types.UInt32Value

func (*RouteAction_RetryPolicy) GetPerTryTimeout

func (m *RouteAction_RetryPolicy) GetPerTryTimeout() *time.Duration

func (*RouteAction_RetryPolicy) GetRetriableStatusCodes added in v0.6.1

func (m *RouteAction_RetryPolicy) GetRetriableStatusCodes() []uint32

func (*RouteAction_RetryPolicy) GetRetryHostPredicate added in v0.6.0

func (*RouteAction_RetryPolicy) GetRetryOn

func (m *RouteAction_RetryPolicy) GetRetryOn() string

func (*RouteAction_RetryPolicy) GetRetryPriority added in v0.6.0

func (*RouteAction_RetryPolicy) Marshal

func (m *RouteAction_RetryPolicy) Marshal() (dAtA []byte, err error)

func (*RouteAction_RetryPolicy) MarshalTo

func (m *RouteAction_RetryPolicy) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction_RetryPolicy) ProtoMessage

func (*RouteAction_RetryPolicy) ProtoMessage()

func (*RouteAction_RetryPolicy) Reset

func (m *RouteAction_RetryPolicy) Reset()

func (*RouteAction_RetryPolicy) Size

func (m *RouteAction_RetryPolicy) Size() (n int)

func (*RouteAction_RetryPolicy) String

func (m *RouteAction_RetryPolicy) String() string

func (*RouteAction_RetryPolicy) Unmarshal

func (m *RouteAction_RetryPolicy) Unmarshal(dAtA []byte) error

func (*RouteAction_RetryPolicy) Validate

func (m *RouteAction_RetryPolicy) Validate() error

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

func (*RouteAction_RetryPolicy) XXX_DiscardUnknown

func (m *RouteAction_RetryPolicy) XXX_DiscardUnknown()

func (*RouteAction_RetryPolicy) XXX_Marshal

func (m *RouteAction_RetryPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteAction_RetryPolicy) XXX_Merge

func (dst *RouteAction_RetryPolicy) XXX_Merge(src proto.Message)

func (*RouteAction_RetryPolicy) XXX_Size

func (m *RouteAction_RetryPolicy) XXX_Size() int

func (*RouteAction_RetryPolicy) XXX_Unmarshal

func (m *RouteAction_RetryPolicy) XXX_Unmarshal(b []byte) error

type RouteAction_RetryPolicyValidationError

type RouteAction_RetryPolicyValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

RouteAction_RetryPolicyValidationError is the validation error returned by RouteAction_RetryPolicy.Validate if the designated constraints aren't met.

func (RouteAction_RetryPolicyValidationError) Error

Error satisfies the builtin error interface

type RouteAction_RetryPolicy_RetryHostPredicate added in v0.6.0

type RouteAction_RetryPolicy_RetryHostPredicate struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are valid to be assigned to ConfigType:
	//	*RouteAction_RetryPolicy_RetryHostPredicate_Config
	//	*RouteAction_RetryPolicy_RetryHostPredicate_TypedConfig
	ConfigType           isRouteAction_RetryPolicy_RetryHostPredicate_ConfigType `protobuf_oneof:"config_type"`
	XXX_NoUnkeyedLiteral struct{}                                                `json:"-"`
	XXX_unrecognized     []byte                                                  `json:"-"`
	XXX_sizecache        int32                                                   `json:"-"`
}

func (*RouteAction_RetryPolicy_RetryHostPredicate) Descriptor added in v0.6.0

func (*RouteAction_RetryPolicy_RetryHostPredicate) Equal added in v0.6.0

func (this *RouteAction_RetryPolicy_RetryHostPredicate) Equal(that interface{}) bool

func (*RouteAction_RetryPolicy_RetryHostPredicate) GetConfig added in v0.6.0

func (*RouteAction_RetryPolicy_RetryHostPredicate) GetConfigType added in v0.6.3

func (m *RouteAction_RetryPolicy_RetryHostPredicate) GetConfigType() isRouteAction_RetryPolicy_RetryHostPredicate_ConfigType

func (*RouteAction_RetryPolicy_RetryHostPredicate) GetName added in v0.6.0

func (*RouteAction_RetryPolicy_RetryHostPredicate) GetTypedConfig added in v0.6.3

func (*RouteAction_RetryPolicy_RetryHostPredicate) Marshal added in v0.6.0

func (m *RouteAction_RetryPolicy_RetryHostPredicate) Marshal() (dAtA []byte, err error)

func (*RouteAction_RetryPolicy_RetryHostPredicate) MarshalTo added in v0.6.0

func (m *RouteAction_RetryPolicy_RetryHostPredicate) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction_RetryPolicy_RetryHostPredicate) ProtoMessage added in v0.6.0

func (*RouteAction_RetryPolicy_RetryHostPredicate) Reset added in v0.6.0

func (*RouteAction_RetryPolicy_RetryHostPredicate) Size added in v0.6.0

func (*RouteAction_RetryPolicy_RetryHostPredicate) String added in v0.6.0

func (*RouteAction_RetryPolicy_RetryHostPredicate) Unmarshal added in v0.6.0

func (*RouteAction_RetryPolicy_RetryHostPredicate) Validate added in v0.6.0

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

func (*RouteAction_RetryPolicy_RetryHostPredicate) XXX_DiscardUnknown added in v0.6.0

func (m *RouteAction_RetryPolicy_RetryHostPredicate) XXX_DiscardUnknown()

func (*RouteAction_RetryPolicy_RetryHostPredicate) XXX_Marshal added in v0.6.0

func (m *RouteAction_RetryPolicy_RetryHostPredicate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteAction_RetryPolicy_RetryHostPredicate) XXX_Merge added in v0.6.0

func (*RouteAction_RetryPolicy_RetryHostPredicate) XXX_OneofFuncs added in v0.6.3

func (*RouteAction_RetryPolicy_RetryHostPredicate) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*RouteAction_RetryPolicy_RetryHostPredicate) XXX_Size added in v0.6.0

func (*RouteAction_RetryPolicy_RetryHostPredicate) XXX_Unmarshal added in v0.6.0

type RouteAction_RetryPolicy_RetryHostPredicateValidationError added in v0.6.0

type RouteAction_RetryPolicy_RetryHostPredicateValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

RouteAction_RetryPolicy_RetryHostPredicateValidationError is the validation error returned by RouteAction_RetryPolicy_RetryHostPredicate.Validate if the designated constraints aren't met.

func (RouteAction_RetryPolicy_RetryHostPredicateValidationError) Error added in v0.6.0

Error satisfies the builtin error interface

type RouteAction_RetryPolicy_RetryHostPredicate_Config added in v0.6.3

type RouteAction_RetryPolicy_RetryHostPredicate_Config struct {
	Config *types.Struct `protobuf:"bytes,2,opt,name=config,oneof"`
}

func (*RouteAction_RetryPolicy_RetryHostPredicate_Config) Equal added in v0.6.3

func (this *RouteAction_RetryPolicy_RetryHostPredicate_Config) Equal(that interface{}) bool

func (*RouteAction_RetryPolicy_RetryHostPredicate_Config) MarshalTo added in v0.6.3

func (*RouteAction_RetryPolicy_RetryHostPredicate_Config) Size added in v0.6.3

type RouteAction_RetryPolicy_RetryHostPredicate_TypedConfig added in v0.6.3

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

func (*RouteAction_RetryPolicy_RetryHostPredicate_TypedConfig) Equal added in v0.6.3

func (this *RouteAction_RetryPolicy_RetryHostPredicate_TypedConfig) Equal(that interface{}) bool

func (*RouteAction_RetryPolicy_RetryHostPredicate_TypedConfig) MarshalTo added in v0.6.3

func (*RouteAction_RetryPolicy_RetryHostPredicate_TypedConfig) Size added in v0.6.3

type RouteAction_RetryPolicy_RetryPriority added in v0.6.0

type RouteAction_RetryPolicy_RetryPriority struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are valid to be assigned to ConfigType:
	//	*RouteAction_RetryPolicy_RetryPriority_Config
	//	*RouteAction_RetryPolicy_RetryPriority_TypedConfig
	ConfigType           isRouteAction_RetryPolicy_RetryPriority_ConfigType `protobuf_oneof:"config_type"`
	XXX_NoUnkeyedLiteral struct{}                                           `json:"-"`
	XXX_unrecognized     []byte                                             `json:"-"`
	XXX_sizecache        int32                                              `json:"-"`
}

func (*RouteAction_RetryPolicy_RetryPriority) Descriptor added in v0.6.0

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

func (*RouteAction_RetryPolicy_RetryPriority) Equal added in v0.6.0

func (this *RouteAction_RetryPolicy_RetryPriority) Equal(that interface{}) bool

func (*RouteAction_RetryPolicy_RetryPriority) GetConfig added in v0.6.0

func (*RouteAction_RetryPolicy_RetryPriority) GetConfigType added in v0.6.3

func (m *RouteAction_RetryPolicy_RetryPriority) GetConfigType() isRouteAction_RetryPolicy_RetryPriority_ConfigType

func (*RouteAction_RetryPolicy_RetryPriority) GetName added in v0.6.0

func (*RouteAction_RetryPolicy_RetryPriority) GetTypedConfig added in v0.6.3

func (m *RouteAction_RetryPolicy_RetryPriority) GetTypedConfig() *types.Any

func (*RouteAction_RetryPolicy_RetryPriority) Marshal added in v0.6.0

func (m *RouteAction_RetryPolicy_RetryPriority) Marshal() (dAtA []byte, err error)

func (*RouteAction_RetryPolicy_RetryPriority) MarshalTo added in v0.6.0

func (m *RouteAction_RetryPolicy_RetryPriority) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction_RetryPolicy_RetryPriority) ProtoMessage added in v0.6.0

func (*RouteAction_RetryPolicy_RetryPriority) ProtoMessage()

func (*RouteAction_RetryPolicy_RetryPriority) Reset added in v0.6.0

func (*RouteAction_RetryPolicy_RetryPriority) Size added in v0.6.0

func (*RouteAction_RetryPolicy_RetryPriority) String added in v0.6.0

func (*RouteAction_RetryPolicy_RetryPriority) Unmarshal added in v0.6.0

func (m *RouteAction_RetryPolicy_RetryPriority) Unmarshal(dAtA []byte) error

func (*RouteAction_RetryPolicy_RetryPriority) Validate added in v0.6.0

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

func (*RouteAction_RetryPolicy_RetryPriority) XXX_DiscardUnknown added in v0.6.0

func (m *RouteAction_RetryPolicy_RetryPriority) XXX_DiscardUnknown()

func (*RouteAction_RetryPolicy_RetryPriority) XXX_Marshal added in v0.6.0

func (m *RouteAction_RetryPolicy_RetryPriority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteAction_RetryPolicy_RetryPriority) XXX_Merge added in v0.6.0

func (*RouteAction_RetryPolicy_RetryPriority) XXX_OneofFuncs added in v0.6.3

func (*RouteAction_RetryPolicy_RetryPriority) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*RouteAction_RetryPolicy_RetryPriority) XXX_Size added in v0.6.0

func (*RouteAction_RetryPolicy_RetryPriority) XXX_Unmarshal added in v0.6.0

func (m *RouteAction_RetryPolicy_RetryPriority) XXX_Unmarshal(b []byte) error

type RouteAction_RetryPolicy_RetryPriorityValidationError added in v0.6.0

type RouteAction_RetryPolicy_RetryPriorityValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

RouteAction_RetryPolicy_RetryPriorityValidationError is the validation error returned by RouteAction_RetryPolicy_RetryPriority.Validate if the designated constraints aren't met.

func (RouteAction_RetryPolicy_RetryPriorityValidationError) Error added in v0.6.0

Error satisfies the builtin error interface

type RouteAction_RetryPolicy_RetryPriority_Config added in v0.6.3

type RouteAction_RetryPolicy_RetryPriority_Config struct {
	Config *types.Struct `protobuf:"bytes,2,opt,name=config,oneof"`
}

func (*RouteAction_RetryPolicy_RetryPriority_Config) Equal added in v0.6.3

func (this *RouteAction_RetryPolicy_RetryPriority_Config) Equal(that interface{}) bool

func (*RouteAction_RetryPolicy_RetryPriority_Config) MarshalTo added in v0.6.3

func (*RouteAction_RetryPolicy_RetryPriority_Config) Size added in v0.6.3

type RouteAction_RetryPolicy_RetryPriority_TypedConfig added in v0.6.3

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

func (*RouteAction_RetryPolicy_RetryPriority_TypedConfig) Equal added in v0.6.3

func (this *RouteAction_RetryPolicy_RetryPriority_TypedConfig) Equal(that interface{}) bool

func (*RouteAction_RetryPolicy_RetryPriority_TypedConfig) MarshalTo added in v0.6.3

func (*RouteAction_RetryPolicy_RetryPriority_TypedConfig) Size added in v0.6.3

type RouteAction_UpgradeConfig added in v0.6.4

type RouteAction_UpgradeConfig struct {
	// The case-insensitive name of this upgrade, e.g. "websocket".
	// For each upgrade type present in upgrade_configs, requests with
	// Upgrade: [upgrade_type] will be proxied upstream.
	UpgradeType string `protobuf:"bytes,1,opt,name=upgrade_type,json=upgradeType,proto3" json:"upgrade_type,omitempty"`
	// Determines if upgrades are available on this route. Defaults to true.
	Enabled              *types.BoolValue `protobuf:"bytes,2,opt,name=enabled" json:"enabled,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Allows enabling and disabling upgrades on a per-route basis. This overrides any enabled/disabled upgrade filter chain specified in the HttpConnectionManager :ref:upgrade_configs` <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.upgrade_configs>` but does not affect any custom filter chain specified there.

func (*RouteAction_UpgradeConfig) Descriptor added in v0.6.4

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

func (*RouteAction_UpgradeConfig) Equal added in v0.6.4

func (this *RouteAction_UpgradeConfig) Equal(that interface{}) bool

func (*RouteAction_UpgradeConfig) GetEnabled added in v0.6.4

func (m *RouteAction_UpgradeConfig) GetEnabled() *types.BoolValue

func (*RouteAction_UpgradeConfig) GetUpgradeType added in v0.6.4

func (m *RouteAction_UpgradeConfig) GetUpgradeType() string

func (*RouteAction_UpgradeConfig) Marshal added in v0.6.4

func (m *RouteAction_UpgradeConfig) Marshal() (dAtA []byte, err error)

func (*RouteAction_UpgradeConfig) MarshalTo added in v0.6.4

func (m *RouteAction_UpgradeConfig) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction_UpgradeConfig) ProtoMessage added in v0.6.4

func (*RouteAction_UpgradeConfig) ProtoMessage()

func (*RouteAction_UpgradeConfig) Reset added in v0.6.4

func (m *RouteAction_UpgradeConfig) Reset()

func (*RouteAction_UpgradeConfig) Size added in v0.6.4

func (m *RouteAction_UpgradeConfig) Size() (n int)

func (*RouteAction_UpgradeConfig) String added in v0.6.4

func (m *RouteAction_UpgradeConfig) String() string

func (*RouteAction_UpgradeConfig) Unmarshal added in v0.6.4

func (m *RouteAction_UpgradeConfig) Unmarshal(dAtA []byte) error

func (*RouteAction_UpgradeConfig) Validate added in v0.6.4

func (m *RouteAction_UpgradeConfig) Validate() error

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

func (*RouteAction_UpgradeConfig) XXX_DiscardUnknown added in v0.6.4

func (m *RouteAction_UpgradeConfig) XXX_DiscardUnknown()

func (*RouteAction_UpgradeConfig) XXX_Marshal added in v0.6.4

func (m *RouteAction_UpgradeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteAction_UpgradeConfig) XXX_Merge added in v0.6.4

func (dst *RouteAction_UpgradeConfig) XXX_Merge(src proto.Message)

func (*RouteAction_UpgradeConfig) XXX_Size added in v0.6.4

func (m *RouteAction_UpgradeConfig) XXX_Size() int

func (*RouteAction_UpgradeConfig) XXX_Unmarshal added in v0.6.4

func (m *RouteAction_UpgradeConfig) XXX_Unmarshal(b []byte) error

type RouteAction_UpgradeConfigValidationError added in v0.6.4

type RouteAction_UpgradeConfigValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

RouteAction_UpgradeConfigValidationError is the validation error returned by RouteAction_UpgradeConfig.Validate if the designated constraints aren't met.

func (RouteAction_UpgradeConfigValidationError) Error added in v0.6.4

Error satisfies the builtin error interface

type RouteAction_WeightedClusters

type RouteAction_WeightedClusters struct {
	WeightedClusters *WeightedCluster `protobuf:"bytes,3,opt,name=weighted_clusters,json=weightedClusters,oneof"`
}

func (*RouteAction_WeightedClusters) Equal

func (this *RouteAction_WeightedClusters) Equal(that interface{}) bool

func (*RouteAction_WeightedClusters) MarshalTo

func (m *RouteAction_WeightedClusters) MarshalTo(dAtA []byte) (int, error)

func (*RouteAction_WeightedClusters) Size

func (m *RouteAction_WeightedClusters) Size() (n int)

type RouteMatch

type RouteMatch struct {
	// Types that are valid to be assigned to PathSpecifier:
	//	*RouteMatch_Prefix
	//	*RouteMatch_Path
	//	*RouteMatch_Regex
	PathSpecifier isRouteMatch_PathSpecifier `protobuf_oneof:"path_specifier"`
	// Indicates that prefix/path matching should be case insensitive. The default
	// is true.
	CaseSensitive *types.BoolValue `protobuf:"bytes,4,opt,name=case_sensitive,json=caseSensitive" json:"case_sensitive,omitempty"`
	// Indicates that the route should additionally match on a runtime key. Every time the route
	// is considered for a match, it 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 numberator N, or if the key is not present, the default
	// value, the router continues to evaluate the remaining match criteria. A runtime_fraction
	// route configuration can be used to roll out route changes in a gradual manner without full
	// code/config deploys. Refer to the :ref:`traffic shifting
	// <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation.
	//
	// .. note::
	//
	//    Parsing this field is implemented such that the runtime key's data may be represented
	//    as a FractionalPercent proto represented as JSON/YAM and may also be represented as an
	//    integer with the assumption that the value is an integral percentage out of 100. For
	//    instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent
	//    whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics.
	RuntimeFraction *core.RuntimeFractionalPercent `protobuf:"bytes,9,opt,name=runtime_fraction,json=runtimeFraction" json:"runtime_fraction,omitempty"`
	// Specifies a set of headers that the route should match on. The router will
	// check the request’s headers against all the specified headers in the route
	// config. A match will happen if all the headers in the route 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,6,rep,name=headers" json:"headers,omitempty"`
	// Specifies a set of URL query parameters on which the route should
	// match. The router will check the query string from the *path* header
	// against all the specified query parameters. If the number of specified
	// query parameters is nonzero, they all must match the *path* header's
	// query string for a match to occur.
	QueryParameters []*QueryParameterMatcher `protobuf:"bytes,7,rep,name=query_parameters,json=queryParameters" json:"query_parameters,omitempty"`
	// If specified, only gRPC requests will be matched. The router will check
	// that the content-type header has a application/grpc or one of the various
	// application/grpc+ values.
	Grpc                 *RouteMatch_GrpcRouteMatchOptions `protobuf:"bytes,8,opt,name=grpc" json:"grpc,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

func (*RouteMatch) Descriptor

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

func (*RouteMatch) Equal

func (this *RouteMatch) Equal(that interface{}) bool

func (*RouteMatch) GetCaseSensitive

func (m *RouteMatch) GetCaseSensitive() *types.BoolValue

func (*RouteMatch) GetGrpc added in v0.6.0

func (*RouteMatch) GetHeaders

func (m *RouteMatch) GetHeaders() []*HeaderMatcher

func (*RouteMatch) GetPath

func (m *RouteMatch) GetPath() string

func (*RouteMatch) GetPathSpecifier

func (m *RouteMatch) GetPathSpecifier() isRouteMatch_PathSpecifier

func (*RouteMatch) GetPrefix

func (m *RouteMatch) GetPrefix() string

func (*RouteMatch) GetQueryParameters

func (m *RouteMatch) GetQueryParameters() []*QueryParameterMatcher

func (*RouteMatch) GetRegex

func (m *RouteMatch) GetRegex() string

func (*RouteMatch) GetRuntimeFraction added in v0.6.1

func (m *RouteMatch) GetRuntimeFraction() *core.RuntimeFractionalPercent

func (*RouteMatch) Marshal

func (m *RouteMatch) Marshal() (dAtA []byte, err error)

func (*RouteMatch) MarshalTo

func (m *RouteMatch) MarshalTo(dAtA []byte) (int, error)

func (*RouteMatch) ProtoMessage

func (*RouteMatch) ProtoMessage()

func (*RouteMatch) Reset

func (m *RouteMatch) Reset()

func (*RouteMatch) Size

func (m *RouteMatch) Size() (n int)

func (*RouteMatch) String

func (m *RouteMatch) String() string

func (*RouteMatch) Unmarshal

func (m *RouteMatch) Unmarshal(dAtA []byte) error

func (*RouteMatch) Validate

func (m *RouteMatch) Validate() error

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

func (*RouteMatch) XXX_DiscardUnknown

func (m *RouteMatch) XXX_DiscardUnknown()

func (*RouteMatch) XXX_Marshal

func (m *RouteMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteMatch) XXX_Merge

func (dst *RouteMatch) XXX_Merge(src proto.Message)

func (*RouteMatch) XXX_OneofFuncs

func (*RouteMatch) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*RouteMatch) XXX_Size

func (m *RouteMatch) XXX_Size() int

func (*RouteMatch) XXX_Unmarshal

func (m *RouteMatch) XXX_Unmarshal(b []byte) error

type RouteMatchValidationError

type RouteMatchValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

RouteMatchValidationError is the validation error returned by RouteMatch.Validate if the designated constraints aren't met.

func (RouteMatchValidationError) Error

Error satisfies the builtin error interface

type RouteMatch_GrpcRouteMatchOptions added in v0.6.0

type RouteMatch_GrpcRouteMatchOptions struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RouteMatch_GrpcRouteMatchOptions) Descriptor added in v0.6.0

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

func (*RouteMatch_GrpcRouteMatchOptions) Equal added in v0.6.0

func (this *RouteMatch_GrpcRouteMatchOptions) Equal(that interface{}) bool

func (*RouteMatch_GrpcRouteMatchOptions) Marshal added in v0.6.0

func (m *RouteMatch_GrpcRouteMatchOptions) Marshal() (dAtA []byte, err error)

func (*RouteMatch_GrpcRouteMatchOptions) MarshalTo added in v0.6.0

func (m *RouteMatch_GrpcRouteMatchOptions) MarshalTo(dAtA []byte) (int, error)

func (*RouteMatch_GrpcRouteMatchOptions) ProtoMessage added in v0.6.0

func (*RouteMatch_GrpcRouteMatchOptions) ProtoMessage()

func (*RouteMatch_GrpcRouteMatchOptions) Reset added in v0.6.0

func (*RouteMatch_GrpcRouteMatchOptions) Size added in v0.6.0

func (m *RouteMatch_GrpcRouteMatchOptions) Size() (n int)

func (*RouteMatch_GrpcRouteMatchOptions) String added in v0.6.0

func (*RouteMatch_GrpcRouteMatchOptions) Unmarshal added in v0.6.0

func (m *RouteMatch_GrpcRouteMatchOptions) Unmarshal(dAtA []byte) error

func (*RouteMatch_GrpcRouteMatchOptions) Validate added in v0.6.0

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

func (*RouteMatch_GrpcRouteMatchOptions) XXX_DiscardUnknown added in v0.6.0

func (m *RouteMatch_GrpcRouteMatchOptions) XXX_DiscardUnknown()

func (*RouteMatch_GrpcRouteMatchOptions) XXX_Marshal added in v0.6.0

func (m *RouteMatch_GrpcRouteMatchOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteMatch_GrpcRouteMatchOptions) XXX_Merge added in v0.6.0

func (dst *RouteMatch_GrpcRouteMatchOptions) XXX_Merge(src proto.Message)

func (*RouteMatch_GrpcRouteMatchOptions) XXX_Size added in v0.6.0

func (m *RouteMatch_GrpcRouteMatchOptions) XXX_Size() int

func (*RouteMatch_GrpcRouteMatchOptions) XXX_Unmarshal added in v0.6.0

func (m *RouteMatch_GrpcRouteMatchOptions) XXX_Unmarshal(b []byte) error

type RouteMatch_GrpcRouteMatchOptionsValidationError added in v0.6.0

type RouteMatch_GrpcRouteMatchOptionsValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

RouteMatch_GrpcRouteMatchOptionsValidationError is the validation error returned by RouteMatch_GrpcRouteMatchOptions.Validate if the designated constraints aren't met.

func (RouteMatch_GrpcRouteMatchOptionsValidationError) Error added in v0.6.0

Error satisfies the builtin error interface

type RouteMatch_Path

type RouteMatch_Path struct {
	Path string `protobuf:"bytes,2,opt,name=path,proto3,oneof"`
}

func (*RouteMatch_Path) Equal

func (this *RouteMatch_Path) Equal(that interface{}) bool

func (*RouteMatch_Path) MarshalTo

func (m *RouteMatch_Path) MarshalTo(dAtA []byte) (int, error)

func (*RouteMatch_Path) Size

func (m *RouteMatch_Path) Size() (n int)

type RouteMatch_Prefix

type RouteMatch_Prefix struct {
	Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3,oneof"`
}

func (*RouteMatch_Prefix) Equal

func (this *RouteMatch_Prefix) Equal(that interface{}) bool

func (*RouteMatch_Prefix) MarshalTo

func (m *RouteMatch_Prefix) MarshalTo(dAtA []byte) (int, error)

func (*RouteMatch_Prefix) Size

func (m *RouteMatch_Prefix) Size() (n int)

type RouteMatch_Regex

type RouteMatch_Regex struct {
	Regex string `protobuf:"bytes,3,opt,name=regex,proto3,oneof"`
}

func (*RouteMatch_Regex) Equal

func (this *RouteMatch_Regex) Equal(that interface{}) bool

func (*RouteMatch_Regex) MarshalTo

func (m *RouteMatch_Regex) MarshalTo(dAtA []byte) (int, error)

func (*RouteMatch_Regex) Size

func (m *RouteMatch_Regex) Size() (n int)

type RouteValidationError

type RouteValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

RouteValidationError is the validation error returned by Route.Validate if the designated constraints aren't met.

func (RouteValidationError) Error

func (e RouteValidationError) Error() string

Error satisfies the builtin error interface

type Route_DirectResponse

type Route_DirectResponse struct {
	DirectResponse *DirectResponseAction `protobuf:"bytes,7,opt,name=direct_response,json=directResponse,oneof"`
}

func (*Route_DirectResponse) Equal

func (this *Route_DirectResponse) Equal(that interface{}) bool

func (*Route_DirectResponse) MarshalTo

func (m *Route_DirectResponse) MarshalTo(dAtA []byte) (int, error)

func (*Route_DirectResponse) Size

func (m *Route_DirectResponse) Size() (n int)

type Route_Redirect

type Route_Redirect struct {
	Redirect *RedirectAction `protobuf:"bytes,3,opt,name=redirect,oneof"`
}

func (*Route_Redirect) Equal

func (this *Route_Redirect) Equal(that interface{}) bool

func (*Route_Redirect) MarshalTo

func (m *Route_Redirect) MarshalTo(dAtA []byte) (int, error)

func (*Route_Redirect) Size

func (m *Route_Redirect) Size() (n int)

type Route_Route

type Route_Route struct {
	Route *RouteAction `protobuf:"bytes,2,opt,name=route,oneof"`
}

func (*Route_Route) Equal

func (this *Route_Route) Equal(that interface{}) bool

func (*Route_Route) MarshalTo

func (m *Route_Route) MarshalTo(dAtA []byte) (int, error)

func (*Route_Route) Size

func (m *Route_Route) Size() (n int)

type VirtualCluster

type VirtualCluster struct {
	// Specifies a regex pattern to use for matching requests. The entire path of the request
	// must match the regex. The regex grammar used is defined `here
	// <http://en.cppreference.com/w/cpp/regex/ecmascript>`_.
	//
	// Examples:
	//
	// * The regex */rides/\d+* matches the path */rides/0*
	// * The regex */rides/\d+* matches the path */rides/123*
	// * The regex */rides/\d+* does not match the path */rides/123/456*
	Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
	//  Specifies the name of the virtual cluster. The virtual cluster name as well
	// as the virtual host name are used when emitting statistics. The statistics are emitted by the
	// router filter and are documented :ref:`here <config_http_filters_router_stats>`.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Optionally specifies the HTTP method to match on. For example GET, PUT,
	// etc.
	// [#comment:TODO(htuch): add (validate.rules).enum.defined_only = true once
	// https://github.com/lyft/protoc-gen-validate/issues/42 is resolved.]
	Method               core.RequestMethod `protobuf:"varint,3,opt,name=method,proto3,enum=envoy.api.v2.core.RequestMethod" json:"method,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

A virtual cluster is a way of specifying a regex matching rule against certain important endpoints such that statistics are generated explicitly for the matched requests. The reason this is useful is that when doing prefix/path matching Envoy does not always know what the application considers to be an endpoint. Thus, it’s impossible for Envoy to generically emit per endpoint statistics. However, often systems have highly critical endpoints that they wish to get “perfect” statistics on. Virtual cluster statistics are perfect in the sense that they are emitted on the downstream side such that they include network level failures.

Documentation for :ref:`virtual cluster statistics <config_http_filters_router_stats>`.

.. note::

Virtual clusters are a useful tool, but we do not recommend setting up a virtual cluster for
every application endpoint. This is both not easily maintainable and as well the matching and
statistics output are not free.

func (*VirtualCluster) Descriptor

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

func (*VirtualCluster) Equal

func (this *VirtualCluster) Equal(that interface{}) bool

func (*VirtualCluster) GetMethod

func (m *VirtualCluster) GetMethod() core.RequestMethod

func (*VirtualCluster) GetName

func (m *VirtualCluster) GetName() string

func (*VirtualCluster) GetPattern

func (m *VirtualCluster) GetPattern() string

func (*VirtualCluster) Marshal

func (m *VirtualCluster) Marshal() (dAtA []byte, err error)

func (*VirtualCluster) MarshalTo

func (m *VirtualCluster) MarshalTo(dAtA []byte) (int, error)

func (*VirtualCluster) ProtoMessage

func (*VirtualCluster) ProtoMessage()

func (*VirtualCluster) Reset

func (m *VirtualCluster) Reset()

func (*VirtualCluster) Size

func (m *VirtualCluster) Size() (n int)

func (*VirtualCluster) String

func (m *VirtualCluster) String() string

func (*VirtualCluster) Unmarshal

func (m *VirtualCluster) Unmarshal(dAtA []byte) error

func (*VirtualCluster) Validate

func (m *VirtualCluster) Validate() error

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

func (*VirtualCluster) XXX_DiscardUnknown

func (m *VirtualCluster) XXX_DiscardUnknown()

func (*VirtualCluster) XXX_Marshal

func (m *VirtualCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VirtualCluster) XXX_Merge

func (dst *VirtualCluster) XXX_Merge(src proto.Message)

func (*VirtualCluster) XXX_Size

func (m *VirtualCluster) XXX_Size() int

func (*VirtualCluster) XXX_Unmarshal

func (m *VirtualCluster) XXX_Unmarshal(b []byte) error

type VirtualClusterValidationError

type VirtualClusterValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

VirtualClusterValidationError is the validation error returned by VirtualCluster.Validate if the designated constraints aren't met.

func (VirtualClusterValidationError) Error

Error satisfies the builtin error interface

type VirtualHost

type VirtualHost struct {
	// The logical name of the virtual host. This is used when emitting certain
	// statistics but is not relevant for routing.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A list of domains (host/authority header) that will be matched to this
	// virtual host. Wildcard hosts are supported in the form of “*.foo.com“ or
	// “*-bar.foo.com“.
	//
	// .. note::
	//
	//   The wildcard will not match the empty string.
	//   e.g. “*-bar.foo.com“ will match “baz-bar.foo.com“ but not “-bar.foo.com“.
	//   Additionally, a special entry “*“ is allowed which will match any
	//   host/authority header. Only a single virtual host in the entire route
	//   configuration can match on “*“. A domain must be unique across all virtual
	//   hosts or the config will fail to load.
	Domains []string `protobuf:"bytes,2,rep,name=domains" json:"domains,omitempty"`
	// The list of routes that will be matched, in order, for incoming requests.
	// The first route that matches will be used.
	Routes []Route `protobuf:"bytes,3,rep,name=routes" json:"routes"`
	// Specifies the type of TLS enforcement the virtual host expects. If this option is not
	// specified, there is no TLS requirement for the virtual host.
	RequireTls VirtualHost_TlsRequirementType `` /* 147-byte string literal not displayed */
	// A list of virtual clusters defined for this virtual host. Virtual clusters
	// are used for additional statistics gathering.
	VirtualClusters []*VirtualCluster `protobuf:"bytes,5,rep,name=virtual_clusters,json=virtualClusters" json:"virtual_clusters,omitempty"`
	// Specifies a set of rate limit configurations that will be applied to the
	// virtual host.
	RateLimits []*RateLimit `protobuf:"bytes,6,rep,name=rate_limits,json=rateLimits" json:"rate_limits,omitempty"`
	// Specifies a list of HTTP headers that should be added to each request
	// handled by this virtual host. Headers specified at this level are applied
	// after headers from enclosed :ref:`envoy_api_msg_route.Route` and before headers from the
	// enclosing :ref:`envoy_api_msg_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 []*core.HeaderValueOption `protobuf:"bytes,7,rep,name=request_headers_to_add,json=requestHeadersToAdd" json:"request_headers_to_add,omitempty"`
	// Specifies a list of HTTP headers that should be removed from each request
	// handled by this virtual host.
	RequestHeadersToRemove []string `protobuf:"bytes,13,rep,name=request_headers_to_remove,json=requestHeadersToRemove" json:"request_headers_to_remove,omitempty"`
	// Specifies a list of HTTP headers that should be added to each response
	// handled by this virtual host. Headers specified at this level are applied
	// after headers from enclosed :ref:`envoy_api_msg_route.Route` and before headers from the
	// enclosing :ref:`envoy_api_msg_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 []*core.HeaderValueOption `protobuf:"bytes,10,rep,name=response_headers_to_add,json=responseHeadersToAdd" json:"response_headers_to_add,omitempty"`
	// Specifies a list of HTTP headers that should be removed from each response
	// handled by this virtual host.
	ResponseHeadersToRemove []string `` /* 128-byte string literal not displayed */
	// Indicates that the virtual host has a CORS policy.
	Cors *CorsPolicy `protobuf:"bytes,8,opt,name=cors" json:"cors,omitempty"`
	// The per_filter_config field can be used to provide virtual host-specific
	// configurations for filters. The key should match the filter name, such as
	// *envoy.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.
	PerFilterConfig map[string]*types.Struct `` /* 183-byte string literal not displayed */
	// [#not-implemented-hide:]
	// The per_filter_config field can be used to provide virtual host-specific
	// configurations for filters. The key should match the filter name, such as
	// *envoy.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]*types.Any `` /* 200-byte string literal not displayed */
	// Decides whether the :ref:`x-envoy-attempt-count
	// <config_http_filters_router_x-envoy-attempt-count>` header should be included
	// in the upstream request. Setting this option will cause it to override any existing header
	// value, so in the case of two Envoys on the request path with this option enabled, the upstream
	// will see the attempt count as perceived by the second Envoy. Defaults to false.
	// This header is unaffected by the
	// :ref:`suppress_envoy_headers
	// <envoy_api_field_config.filter.http.router.v2.Router.suppress_envoy_headers>` flag.
	IncludeRequestAttemptCount bool     `` /* 145-byte string literal not displayed */
	XXX_NoUnkeyedLiteral       struct{} `json:"-"`
	XXX_unrecognized           []byte   `json:"-"`
	XXX_sizecache              int32    `json:"-"`
}

The top level element in the routing configuration is a virtual host. Each virtual host has a logical name as well as a set of domains that get routed to it based on the incoming request's host header. This allows a single listener to service multiple top level domain path trees. Once a virtual host is selected based on the domain, the routes are processed in order to see which upstream cluster to route to or whether to perform a redirect. [#comment:next free field: 16]

func (*VirtualHost) Descriptor

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

func (*VirtualHost) Equal

func (this *VirtualHost) Equal(that interface{}) bool

func (*VirtualHost) GetCors

func (m *VirtualHost) GetCors() *CorsPolicy

func (*VirtualHost) GetDomains

func (m *VirtualHost) GetDomains() []string

func (*VirtualHost) GetIncludeRequestAttemptCount added in v0.6.1

func (m *VirtualHost) GetIncludeRequestAttemptCount() bool

func (*VirtualHost) GetName

func (m *VirtualHost) GetName() string

func (*VirtualHost) GetPerFilterConfig

func (m *VirtualHost) GetPerFilterConfig() map[string]*types.Struct

func (*VirtualHost) GetRateLimits

func (m *VirtualHost) GetRateLimits() []*RateLimit

func (*VirtualHost) GetRequestHeadersToAdd

func (m *VirtualHost) GetRequestHeadersToAdd() []*core.HeaderValueOption

func (*VirtualHost) GetRequestHeadersToRemove added in v0.6.0

func (m *VirtualHost) GetRequestHeadersToRemove() []string

func (*VirtualHost) GetRequireTls

func (m *VirtualHost) GetRequireTls() VirtualHost_TlsRequirementType

func (*VirtualHost) GetResponseHeadersToAdd

func (m *VirtualHost) GetResponseHeadersToAdd() []*core.HeaderValueOption

func (*VirtualHost) GetResponseHeadersToRemove

func (m *VirtualHost) GetResponseHeadersToRemove() []string

func (*VirtualHost) GetRoutes

func (m *VirtualHost) GetRoutes() []Route

func (*VirtualHost) GetTypedPerFilterConfig added in v0.6.3

func (m *VirtualHost) GetTypedPerFilterConfig() map[string]*types.Any

func (*VirtualHost) GetVirtualClusters

func (m *VirtualHost) GetVirtualClusters() []*VirtualCluster

func (*VirtualHost) Marshal

func (m *VirtualHost) Marshal() (dAtA []byte, err error)

func (*VirtualHost) MarshalTo

func (m *VirtualHost) MarshalTo(dAtA []byte) (int, error)

func (*VirtualHost) ProtoMessage

func (*VirtualHost) ProtoMessage()

func (*VirtualHost) Reset

func (m *VirtualHost) Reset()

func (*VirtualHost) Size

func (m *VirtualHost) Size() (n int)

func (*VirtualHost) String

func (m *VirtualHost) String() string

func (*VirtualHost) Unmarshal

func (m *VirtualHost) Unmarshal(dAtA []byte) error

func (*VirtualHost) Validate

func (m *VirtualHost) Validate() error

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

func (*VirtualHost) XXX_DiscardUnknown

func (m *VirtualHost) XXX_DiscardUnknown()

func (*VirtualHost) XXX_Marshal

func (m *VirtualHost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VirtualHost) XXX_Merge

func (dst *VirtualHost) XXX_Merge(src proto.Message)

func (*VirtualHost) XXX_Size

func (m *VirtualHost) XXX_Size() int

func (*VirtualHost) XXX_Unmarshal

func (m *VirtualHost) XXX_Unmarshal(b []byte) error

type VirtualHostValidationError

type VirtualHostValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

VirtualHostValidationError is the validation error returned by VirtualHost.Validate if the designated constraints aren't met.

func (VirtualHostValidationError) Error

Error satisfies the builtin error interface

type VirtualHost_TlsRequirementType

type VirtualHost_TlsRequirementType int32
const (
	// No TLS requirement for the virtual host.
	VirtualHost_NONE VirtualHost_TlsRequirementType = 0
	// External requests must use TLS. If a request is external and it is not
	// using TLS, a 301 redirect will be sent telling the client to use HTTPS.
	VirtualHost_EXTERNAL_ONLY VirtualHost_TlsRequirementType = 1
	// All requests must use TLS. If a request is not using TLS, a 301 redirect
	// will be sent telling the client to use HTTPS.
	VirtualHost_ALL VirtualHost_TlsRequirementType = 2
)

func (VirtualHost_TlsRequirementType) EnumDescriptor

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

func (VirtualHost_TlsRequirementType) String

type WeightedCluster

type WeightedCluster struct {
	// Specifies one or more upstream clusters associated with the route.
	Clusters []*WeightedCluster_ClusterWeight `protobuf:"bytes,1,rep,name=clusters" json:"clusters,omitempty"`
	// Specifies the total weight across all clusters. The sum of all cluster weights must equal this
	// value, which must be greater than 0. Defaults to 100.
	TotalWeight *types.UInt32Value `protobuf:"bytes,3,opt,name=total_weight,json=totalWeight" json:"total_weight,omitempty"`
	// Specifies the runtime key prefix that should be used to construct the
	// runtime keys associated with each cluster. When the *runtime_key_prefix* is
	// specified, the router will look for weights associated with each upstream
	// cluster under the key *runtime_key_prefix* + "." + *cluster[i].name* where
	// *cluster[i]* denotes an entry in the clusters array field. If the runtime
	// key for the cluster does not exist, the value specified in the
	// configuration file will be used as the default weight. See the :ref:`runtime documentation
	// <operations_runtime>` for how key names map to the underlying implementation.
	RuntimeKeyPrefix     string   `protobuf:"bytes,2,opt,name=runtime_key_prefix,json=runtimeKeyPrefix,proto3" json:"runtime_key_prefix,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Compared to the :ref:`cluster <envoy_api_field_route.RouteAction.cluster>` field that specifies a single upstream cluster as the target of a request, the :ref:`weighted_clusters <envoy_api_field_route.RouteAction.weighted_clusters>` option allows for specification of multiple upstream clusters along with weights that indicate the percentage of traffic to be forwarded to each cluster. The router selects an upstream cluster based on the weights. [#comment:next free field: 11]

func (*WeightedCluster) Descriptor

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

func (*WeightedCluster) Equal

func (this *WeightedCluster) Equal(that interface{}) bool

func (*WeightedCluster) GetClusters

func (m *WeightedCluster) GetClusters() []*WeightedCluster_ClusterWeight

func (*WeightedCluster) GetRuntimeKeyPrefix

func (m *WeightedCluster) GetRuntimeKeyPrefix() string

func (*WeightedCluster) GetTotalWeight

func (m *WeightedCluster) GetTotalWeight() *types.UInt32Value

func (*WeightedCluster) Marshal

func (m *WeightedCluster) Marshal() (dAtA []byte, err error)

func (*WeightedCluster) MarshalTo

func (m *WeightedCluster) MarshalTo(dAtA []byte) (int, error)

func (*WeightedCluster) ProtoMessage

func (*WeightedCluster) ProtoMessage()

func (*WeightedCluster) Reset

func (m *WeightedCluster) Reset()

func (*WeightedCluster) Size

func (m *WeightedCluster) Size() (n int)

func (*WeightedCluster) String

func (m *WeightedCluster) String() string

func (*WeightedCluster) Unmarshal

func (m *WeightedCluster) Unmarshal(dAtA []byte) error

func (*WeightedCluster) Validate

func (m *WeightedCluster) Validate() error

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

func (*WeightedCluster) XXX_DiscardUnknown

func (m *WeightedCluster) XXX_DiscardUnknown()

func (*WeightedCluster) XXX_Marshal

func (m *WeightedCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WeightedCluster) XXX_Merge

func (dst *WeightedCluster) XXX_Merge(src proto.Message)

func (*WeightedCluster) XXX_Size

func (m *WeightedCluster) XXX_Size() int

func (*WeightedCluster) XXX_Unmarshal

func (m *WeightedCluster) XXX_Unmarshal(b []byte) error

type WeightedClusterValidationError

type WeightedClusterValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

WeightedClusterValidationError is the validation error returned by WeightedCluster.Validate if the designated constraints aren't met.

func (WeightedClusterValidationError) Error

Error satisfies the builtin error interface

type WeightedCluster_ClusterWeight

type WeightedCluster_ClusterWeight struct {
	// Name of the upstream cluster. The cluster must exist in the
	// :ref:`cluster manager configuration <config_cluster_manager>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// An integer between 0 and :ref:`total_weight
	// <envoy_api_field_route.WeightedCluster.total_weight>`. When a request matches the route,
	// the choice of an upstream cluster is determined by its weight. The sum of weights across all
	// entries in the clusters array must add up to the total_weight, which defaults to 100.
	Weight *types.UInt32Value `protobuf:"bytes,2,opt,name=weight" json:"weight,omitempty"`
	// Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in
	// the upstream cluster with metadata matching what is set in this field will be considered for
	// load balancing. Note that this will be merged with what's provided in :ref:
	// `RouteAction.MetadataMatch <envoy_api_field_route.RouteAction.metadata_match>`, with values
	// here taking precedence. The filter name should be specified as *envoy.lb*.
	MetadataMatch *core.Metadata `protobuf:"bytes,3,opt,name=metadata_match,json=metadataMatch" json:"metadata_match,omitempty"`
	// Specifies a list of headers to be added to requests when this cluster is selected
	// through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
	// Headers specified at this level are applied before headers from the enclosing
	// :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
	// :ref:`envoy_api_msg_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 []*core.HeaderValueOption `protobuf:"bytes,4,rep,name=request_headers_to_add,json=requestHeadersToAdd" json:"request_headers_to_add,omitempty"`
	// Specifies a list of HTTP headers that should be removed from each request when
	// this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
	RequestHeadersToRemove []string `protobuf:"bytes,9,rep,name=request_headers_to_remove,json=requestHeadersToRemove" json:"request_headers_to_remove,omitempty"`
	// Specifies a list of headers to be added to responses when this cluster is selected
	// through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
	// Headers specified at this level are applied before headers from the enclosing
	// :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
	// :ref:`envoy_api_msg_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 []*core.HeaderValueOption `protobuf:"bytes,5,rep,name=response_headers_to_add,json=responseHeadersToAdd" json:"response_headers_to_add,omitempty"`
	// Specifies a list of headers to be removed from responses when this cluster is selected
	// through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
	ResponseHeadersToRemove []string `` /* 127-byte string literal not displayed */
	// The per_filter_config field can be used to provide weighted cluster-specific
	// configurations for filters. The key should match the filter name, such as
	// *envoy.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.
	PerFilterConfig map[string]*types.Struct `` /* 182-byte string literal not displayed */
	// [#not-implemented-hide:]
	// The per_filter_config field can be used to provide weighted cluster-specific
	// configurations for filters. The key should match the filter name, such as
	// *envoy.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]*types.Any `` /* 200-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*WeightedCluster_ClusterWeight) Descriptor

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

func (*WeightedCluster_ClusterWeight) Equal

func (this *WeightedCluster_ClusterWeight) Equal(that interface{}) bool

func (*WeightedCluster_ClusterWeight) GetMetadataMatch

func (m *WeightedCluster_ClusterWeight) GetMetadataMatch() *core.Metadata

func (*WeightedCluster_ClusterWeight) GetName

func (*WeightedCluster_ClusterWeight) GetPerFilterConfig

func (m *WeightedCluster_ClusterWeight) GetPerFilterConfig() map[string]*types.Struct

func (*WeightedCluster_ClusterWeight) GetRequestHeadersToAdd

func (m *WeightedCluster_ClusterWeight) GetRequestHeadersToAdd() []*core.HeaderValueOption

func (*WeightedCluster_ClusterWeight) GetRequestHeadersToRemove added in v0.6.0

func (m *WeightedCluster_ClusterWeight) GetRequestHeadersToRemove() []string

func (*WeightedCluster_ClusterWeight) GetResponseHeadersToAdd

func (m *WeightedCluster_ClusterWeight) GetResponseHeadersToAdd() []*core.HeaderValueOption

func (*WeightedCluster_ClusterWeight) GetResponseHeadersToRemove

func (m *WeightedCluster_ClusterWeight) GetResponseHeadersToRemove() []string

func (*WeightedCluster_ClusterWeight) GetTypedPerFilterConfig added in v0.6.3

func (m *WeightedCluster_ClusterWeight) GetTypedPerFilterConfig() map[string]*types.Any

func (*WeightedCluster_ClusterWeight) GetWeight

func (*WeightedCluster_ClusterWeight) Marshal

func (m *WeightedCluster_ClusterWeight) Marshal() (dAtA []byte, err error)

func (*WeightedCluster_ClusterWeight) MarshalTo

func (m *WeightedCluster_ClusterWeight) MarshalTo(dAtA []byte) (int, error)

func (*WeightedCluster_ClusterWeight) ProtoMessage

func (*WeightedCluster_ClusterWeight) ProtoMessage()

func (*WeightedCluster_ClusterWeight) Reset

func (m *WeightedCluster_ClusterWeight) Reset()

func (*WeightedCluster_ClusterWeight) Size

func (m *WeightedCluster_ClusterWeight) Size() (n int)

func (*WeightedCluster_ClusterWeight) String

func (*WeightedCluster_ClusterWeight) Unmarshal

func (m *WeightedCluster_ClusterWeight) Unmarshal(dAtA []byte) error

func (*WeightedCluster_ClusterWeight) Validate

func (m *WeightedCluster_ClusterWeight) Validate() error

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

func (*WeightedCluster_ClusterWeight) XXX_DiscardUnknown

func (m *WeightedCluster_ClusterWeight) XXX_DiscardUnknown()

func (*WeightedCluster_ClusterWeight) XXX_Marshal

func (m *WeightedCluster_ClusterWeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WeightedCluster_ClusterWeight) XXX_Merge

func (dst *WeightedCluster_ClusterWeight) XXX_Merge(src proto.Message)

func (*WeightedCluster_ClusterWeight) XXX_Size

func (m *WeightedCluster_ClusterWeight) XXX_Size() int

func (*WeightedCluster_ClusterWeight) XXX_Unmarshal

func (m *WeightedCluster_ClusterWeight) XXX_Unmarshal(b []byte) error

type WeightedCluster_ClusterWeightValidationError

type WeightedCluster_ClusterWeightValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

WeightedCluster_ClusterWeightValidationError is the validation error returned by WeightedCluster_ClusterWeight.Validate if the designated constraints aren't met.

func (WeightedCluster_ClusterWeightValidationError) Error

Error satisfies the builtin error interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL