http_connection_managerv2

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 29 Imported by: 142

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HttpConnectionManager_CodecType_name = map[int32]string{
		0: "AUTO",
		1: "HTTP1",
		2: "HTTP2",
		3: "HTTP3",
	}
	HttpConnectionManager_CodecType_value = map[string]int32{
		"AUTO":  0,
		"HTTP1": 1,
		"HTTP2": 2,
		"HTTP3": 3,
	}
)

Enum value maps for HttpConnectionManager_CodecType.

View Source
var (
	HttpConnectionManager_ServerHeaderTransformation_name = map[int32]string{
		0: "OVERWRITE",
		1: "APPEND_IF_ABSENT",
		2: "PASS_THROUGH",
	}
	HttpConnectionManager_ServerHeaderTransformation_value = map[string]int32{
		"OVERWRITE":        0,
		"APPEND_IF_ABSENT": 1,
		"PASS_THROUGH":     2,
	}
)

Enum value maps for HttpConnectionManager_ServerHeaderTransformation.

View Source
var (
	HttpConnectionManager_ForwardClientCertDetails_name = map[int32]string{
		0: "SANITIZE",
		1: "FORWARD_ONLY",
		2: "APPEND_FORWARD",
		3: "SANITIZE_SET",
		4: "ALWAYS_FORWARD_ONLY",
	}
	HttpConnectionManager_ForwardClientCertDetails_value = map[string]int32{
		"SANITIZE":            0,
		"FORWARD_ONLY":        1,
		"APPEND_FORWARD":      2,
		"SANITIZE_SET":        3,
		"ALWAYS_FORWARD_ONLY": 4,
	}
)

Enum value maps for HttpConnectionManager_ForwardClientCertDetails.

View Source
var (
	HttpConnectionManager_Tracing_OperationName_name = map[int32]string{
		0: "INGRESS",
		1: "EGRESS",
	}
	HttpConnectionManager_Tracing_OperationName_value = map[string]int32{
		"INGRESS": 0,
		"EGRESS":  1,
	}
)

Enum value maps for HttpConnectionManager_Tracing_OperationName.

View Source
var File_envoy_config_filter_network_http_connection_manager_v2_http_connection_manager_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HttpConnectionManager

type HttpConnectionManager struct {

	// Supplies the type of codec that the connection manager should use.
	CodecType HttpConnectionManager_CodecType `` /* 181-byte string literal not displayed */
	// The human readable prefix to use when emitting statistics for the
	// connection manager. See the :ref:`statistics documentation <config_http_conn_man_stats>` for
	// more information.
	StatPrefix string `protobuf:"bytes,2,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
	// Types that are assignable to RouteSpecifier:
	//
	//	*HttpConnectionManager_Rds
	//	*HttpConnectionManager_RouteConfig
	//	*HttpConnectionManager_ScopedRoutes
	RouteSpecifier isHttpConnectionManager_RouteSpecifier `protobuf_oneof:"route_specifier"`
	// A list of individual HTTP filters that make up the filter chain for
	// requests made to the connection manager. :ref:`Order matters <arch_overview_http_filters_ordering>`
	// as the filters are processed sequentially as request events happen.
	HttpFilters []*HttpFilter `protobuf:"bytes,5,rep,name=http_filters,json=httpFilters,proto3" json:"http_filters,omitempty"`
	// Whether the connection manager manipulates the :ref:`config_http_conn_man_headers_user-agent`
	// and :ref:`config_http_conn_man_headers_downstream-service-cluster` headers. See the linked
	// documentation for more information. Defaults to false.
	AddUserAgent *wrappers.BoolValue `protobuf:"bytes,6,opt,name=add_user_agent,json=addUserAgent,proto3" json:"add_user_agent,omitempty"`
	// Presence of the object defines whether the connection manager
	// emits :ref:`tracing <arch_overview_tracing>` data to the :ref:`configured tracing provider
	// <envoy_api_msg_config.trace.v2.Tracing>`.
	Tracing *HttpConnectionManager_Tracing `protobuf:"bytes,7,opt,name=tracing,proto3" json:"tracing,omitempty"`
	// Additional settings for HTTP requests handled by the connection manager. These will be
	// applicable to both HTTP1 and HTTP2 requests.
	CommonHttpProtocolOptions *core.HttpProtocolOptions `` /* 141-byte string literal not displayed */
	// Additional HTTP/1 settings that are passed to the HTTP/1 codec.
	HttpProtocolOptions *core.Http1ProtocolOptions `protobuf:"bytes,8,opt,name=http_protocol_options,json=httpProtocolOptions,proto3" json:"http_protocol_options,omitempty"`
	// Additional HTTP/2 settings that are passed directly to the HTTP/2 codec.
	Http2ProtocolOptions *core.Http2ProtocolOptions `protobuf:"bytes,9,opt,name=http2_protocol_options,json=http2ProtocolOptions,proto3" json:"http2_protocol_options,omitempty"`
	// An optional override that the connection manager will write to the server
	// header in responses. If not set, the default is *envoy*.
	ServerName string `protobuf:"bytes,10,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
	// Defines the action to be applied to the Server header on the response path.
	// By default, Envoy will overwrite the header with the value specified in
	// server_name.
	ServerHeaderTransformation HttpConnectionManager_ServerHeaderTransformation `` /* 252-byte string literal not displayed */
	// The maximum request headers size for incoming connections.
	// If unconfigured, the default max request headers allowed is 60 KiB.
	// Requests that exceed this limit will receive a 431 response.
	MaxRequestHeadersKb *wrappers.UInt32Value `protobuf:"bytes,29,opt,name=max_request_headers_kb,json=maxRequestHeadersKb,proto3" json:"max_request_headers_kb,omitempty"`
	// The idle timeout for connections managed by the connection manager. The
	// idle timeout is defined as the period in which there are no active
	// requests. If not set, there is no idle timeout. When the idle timeout is
	// reached the connection will be closed. If the connection is an HTTP/2
	// connection a drain sequence will occur prior to closing the connection.
	// This field is deprecated. Use :ref:`idle_timeout
	// <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.common_http_protocol_options>`
	// instead.
	//
	// Deprecated: Marked as deprecated in envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.proto.
	IdleTimeout *duration.Duration `protobuf:"bytes,11,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
	// The stream idle timeout for connections managed by the connection manager.
	// If not specified, this defaults to 5 minutes. The default value was selected
	// so as not to interfere with any smaller configured timeouts that may have
	// existed in configurations prior to the introduction of this feature, while
	// introducing robustness to TCP connections that terminate without a FIN.
	//
	// This idle timeout applies to new streams and is overridable by the
	// :ref:`route-level idle_timeout
	// <envoy_api_field_route.RouteAction.idle_timeout>`. Even on a stream in
	// which the override applies, prior to receipt of the initial request
	// headers, the :ref:`stream_idle_timeout
	// <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.stream_idle_timeout>`
	// applies. 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.
	//
	// This timeout also specifies the amount of time that Envoy will wait for the peer to open enough
	// window to write any remaining stream data once the entirety of stream data (local end stream is
	// true) has been buffered pending available window. In other words, this timeout defends against
	// a peer that does not release enough window to completely write the stream, even though all
	// data has been proxied within available flow control windows. If the timeout is hit in this
	// case, the :ref:`tx_flush_timeout <config_http_conn_man_stats_per_codec>` counter will be
	// incremented. Note that :ref:`max_stream_duration
	// <envoy_api_field_core.HttpProtocolOptions.max_stream_duration>` does not apply to this corner
	// case.
	//
	// Note that it is possible to idle timeout even if the wire traffic for a stream is non-idle, due
	// to the granularity of events presented to the connection manager. For example, while receiving
	// very large request headers, it may be the case that there is traffic regularly arriving on the
	// wire while the connection manage is only able to observe the end-of-headers event, hence the
	// stream may still idle timeout.
	//
	// A value of 0 will completely disable the connection manager stream idle
	// timeout, although per-route idle timeout overrides will continue to apply.
	StreamIdleTimeout *duration.Duration `protobuf:"bytes,24,opt,name=stream_idle_timeout,json=streamIdleTimeout,proto3" json:"stream_idle_timeout,omitempty"`
	// The amount of time that Envoy will wait for the entire request to be received.
	// The timer is activated when the request is initiated, and is disarmed when the last byte of the
	// request is sent upstream (i.e. all decoding filters have processed the request), OR when the
	// response is initiated. If not specified or set to 0, this timeout is disabled.
	RequestTimeout *duration.Duration `protobuf:"bytes,28,opt,name=request_timeout,json=requestTimeout,proto3" json:"request_timeout,omitempty"`
	// The time that Envoy will wait between sending an HTTP/2 “shutdown
	// notification” (GOAWAY frame with max stream ID) and a final GOAWAY frame.
	// This is used so that Envoy provides a grace period for new streams that
	// race with the final GOAWAY frame. During this grace period, Envoy will
	// continue to accept new streams. After the grace period, a final GOAWAY
	// frame is sent and Envoy will start refusing new streams. Draining occurs
	// both when a connection hits the idle timeout or during general server
	// draining. The default grace period is 5000 milliseconds (5 seconds) if this
	// option is not specified.
	DrainTimeout *duration.Duration `protobuf:"bytes,12,opt,name=drain_timeout,json=drainTimeout,proto3" json:"drain_timeout,omitempty"`
	// The delayed close timeout is for downstream connections managed by the HTTP connection manager.
	// It is defined as a grace period after connection close processing has been locally initiated
	// during which Envoy will wait for the peer to close (i.e., a TCP FIN/RST is received by Envoy
	// from the downstream connection) prior to Envoy closing the socket associated with that
	// connection.
	// NOTE: This timeout is enforced even when the socket associated with the downstream connection
	// is pending a flush of the write buffer. However, any progress made writing data to the socket
	// will restart the timer associated with this timeout. This means that the total grace period for
	// a socket in this state will be
	// <total_time_waiting_for_write_buffer_flushes>+<delayed_close_timeout>.
	//
	// Delaying Envoy's connection close and giving the peer the opportunity to initiate the close
	// sequence mitigates a race condition that exists when downstream clients do not drain/process
	// data in a connection's receive buffer after a remote close has been detected via a socket
	// write(). This race leads to such clients failing to process the response code sent by Envoy,
	// which could result in erroneous downstream processing.
	//
	// If the timeout triggers, Envoy will close the connection's socket.
	//
	// The default timeout is 1000 ms if this option is not specified.
	//
	// .. NOTE::
	//
	//	To be useful in avoiding the race condition described above, this timeout must be set
	//	to *at least* <max round trip time expected between clients and Envoy>+<100ms to account for
	//	a reasonable "worst" case processing time for a full iteration of Envoy's event loop>.
	//
	// .. WARNING::
	//
	//	A value of 0 will completely disable delayed close processing. When disabled, the downstream
	//	connection's socket will be closed immediately after the write flush is completed or will
	//	never close if the write flush does not complete.
	DelayedCloseTimeout *duration.Duration `protobuf:"bytes,26,opt,name=delayed_close_timeout,json=delayedCloseTimeout,proto3" json:"delayed_close_timeout,omitempty"`
	// Configuration for :ref:`HTTP access logs <arch_overview_access_logs>`
	// emitted by the connection manager.
	AccessLog []*v2.AccessLog `protobuf:"bytes,13,rep,name=access_log,json=accessLog,proto3" json:"access_log,omitempty"`
	// If set to true, the connection manager will use the real remote address
	// of the client connection when determining internal versus external origin and manipulating
	// various headers. If set to false or absent, the connection manager will use the
	// :ref:`config_http_conn_man_headers_x-forwarded-for` HTTP header. See the documentation for
	// :ref:`config_http_conn_man_headers_x-forwarded-for`,
	// :ref:`config_http_conn_man_headers_x-envoy-internal`, and
	// :ref:`config_http_conn_man_headers_x-envoy-external-address` for more information.
	UseRemoteAddress *wrappers.BoolValue `protobuf:"bytes,14,opt,name=use_remote_address,json=useRemoteAddress,proto3" json:"use_remote_address,omitempty"`
	// The number of additional ingress proxy hops from the right side of the
	// :ref:`config_http_conn_man_headers_x-forwarded-for` HTTP header to trust when
	// determining the origin client's IP address. The default is zero if this option
	// is not specified. See the documentation for
	// :ref:`config_http_conn_man_headers_x-forwarded-for` for more information.
	XffNumTrustedHops uint32 `protobuf:"varint,19,opt,name=xff_num_trusted_hops,json=xffNumTrustedHops,proto3" json:"xff_num_trusted_hops,omitempty"`
	// Configures what network addresses are considered internal for stats and header sanitation
	// purposes. If unspecified, only RFC1918 IP addresses will be considered internal.
	// See the documentation for :ref:`config_http_conn_man_headers_x-envoy-internal` for more
	// information about internal/external addresses.
	InternalAddressConfig *HttpConnectionManager_InternalAddressConfig `` /* 127-byte string literal not displayed */
	// If set, Envoy will not append the remote address to the
	// :ref:`config_http_conn_man_headers_x-forwarded-for` HTTP header. This may be used in
	// conjunction with HTTP filters that explicitly manipulate XFF after the HTTP connection manager
	// has mutated the request headers. While :ref:`use_remote_address
	// <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.use_remote_address>`
	// will also suppress XFF addition, it has consequences for logging and other
	// Envoy uses of the remote address, so *skip_xff_append* should be used
	// when only an elision of XFF addition is intended.
	SkipXffAppend bool `protobuf:"varint,21,opt,name=skip_xff_append,json=skipXffAppend,proto3" json:"skip_xff_append,omitempty"`
	// Via header value to append to request and response headers. If this is
	// empty, no via header will be appended.
	Via string `protobuf:"bytes,22,opt,name=via,proto3" json:"via,omitempty"`
	// Whether the connection manager will generate the :ref:`x-request-id
	// <config_http_conn_man_headers_x-request-id>` header if it does not exist. This defaults to
	// true. Generating a random UUID4 is expensive so in high throughput scenarios where this feature
	// is not desired it can be disabled.
	GenerateRequestId *wrappers.BoolValue `protobuf:"bytes,15,opt,name=generate_request_id,json=generateRequestId,proto3" json:"generate_request_id,omitempty"`
	// Whether the connection manager will keep the :ref:`x-request-id
	// <config_http_conn_man_headers_x-request-id>` header if passed for a request that is edge
	// (Edge request is the request from external clients to front Envoy) and not reset it, which
	// is the current Envoy behaviour. This defaults to false.
	PreserveExternalRequestId bool `` /* 142-byte string literal not displayed */
	// How to handle the :ref:`config_http_conn_man_headers_x-forwarded-client-cert` (XFCC) HTTP
	// header.
	ForwardClientCertDetails HttpConnectionManager_ForwardClientCertDetails `` /* 246-byte string literal not displayed */
	// This field is valid only when :ref:`forward_client_cert_details
	// <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.forward_client_cert_details>`
	// is APPEND_FORWARD or SANITIZE_SET and the client connection is mTLS. It specifies the fields in
	// the client certificate to be forwarded. Note that in the
	// :ref:`config_http_conn_man_headers_x-forwarded-client-cert` header, *Hash* is always set, and
	// *By* is always set when the client certificate presents the URI type Subject Alternative Name
	// value.
	SetCurrentClientCertDetails *HttpConnectionManager_SetCurrentClientCertDetails `` /* 149-byte string literal not displayed */
	// If proxy_100_continue is true, Envoy will proxy incoming "Expect:
	// 100-continue" headers upstream, and forward "100 Continue" responses
	// downstream. If this is false or not set, Envoy will instead strip the
	// "Expect: 100-continue" header, and send a "100 Continue" response itself.
	Proxy_100Continue bool `protobuf:"varint,18,opt,name=proxy_100_continue,json=proxy100Continue,proto3" json:"proxy_100_continue,omitempty"`
	// If
	// :ref:`use_remote_address
	// <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.use_remote_address>`
	// is true and represent_ipv4_remote_address_as_ipv4_mapped_ipv6 is true and the remote address is
	// an IPv4 address, the address will be mapped to IPv6 before it is appended to *x-forwarded-for*.
	// This is useful for testing compatibility of upstream services that parse the header value. For
	// example, 50.0.0.1 is represented as ::FFFF:50.0.0.1. See `IPv4-Mapped IPv6 Addresses
	// <https://tools.ietf.org/html/rfc4291#section-2.5.5.2>`_ for details. This will also affect the
	// :ref:`config_http_conn_man_headers_x-envoy-external-address` header. See
	// :ref:`http_connection_manager.represent_ipv4_remote_address_as_ipv4_mapped_ipv6
	// <config_http_conn_man_runtime_represent_ipv4_remote_address_as_ipv4_mapped_ipv6>` for runtime
	// control.
	// [#not-implemented-hide:]
	RepresentIpv4RemoteAddressAsIpv4MappedIpv6 bool                                   `` /* 201-byte string literal not displayed */
	UpgradeConfigs                             []*HttpConnectionManager_UpgradeConfig `protobuf:"bytes,23,rep,name=upgrade_configs,json=upgradeConfigs,proto3" json:"upgrade_configs,omitempty"`
	// Should paths be normalized according to RFC 3986 before any processing of
	// requests by HTTP filters or routing? This affects the upstream *:path* header
	// as well. For paths that fail this check, Envoy will respond with 400 to
	// paths that are malformed. This defaults to false currently but will default
	// true in the future. When not specified, this value may be overridden by the
	// runtime variable
	// :ref:`http_connection_manager.normalize_path<config_http_conn_man_runtime_normalize_path>`.
	// See `Normalization and Comparison <https://tools.ietf.org/html/rfc3986#section-6>`_
	// for details of normalization.
	// Note that Envoy does not perform
	// `case normalization <https://tools.ietf.org/html/rfc3986#section-6.2.2.1>`_
	NormalizePath *wrappers.BoolValue `protobuf:"bytes,30,opt,name=normalize_path,json=normalizePath,proto3" json:"normalize_path,omitempty"`
	// Determines if adjacent slashes in the path are merged into one before any processing of
	// requests by HTTP filters or routing. This affects the upstream *:path* header as well. Without
	// setting this option, incoming requests with path `//dir///file` will not match against route
	// with `prefix` match set to `/dir`. Defaults to `false`. Note that slash merging is not part of
	// `HTTP spec <https://tools.ietf.org/html/rfc3986>`_ and is provided for convenience.
	MergeSlashes bool `protobuf:"varint,33,opt,name=merge_slashes,json=mergeSlashes,proto3" json:"merge_slashes,omitempty"`
	// The configuration of the request ID extension. This includes operations such as
	// generation, validation, and associated tracing operations.
	//
	// If not set, Envoy uses the default UUID-based behavior:
	//
	// 1. Request ID is propagated using *x-request-id* header.
	//
	// 2. Request ID is a universally unique identifier (UUID).
	//
	// 3. Tracing decision (sampled, forced, etc) is set in 14th byte of the UUID.
	RequestIdExtension *RequestIDExtension `protobuf:"bytes,36,opt,name=request_id_extension,json=requestIdExtension,proto3" json:"request_id_extension,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 37]

func (*HttpConnectionManager) Descriptor deprecated

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

Deprecated: Use HttpConnectionManager.ProtoReflect.Descriptor instead.

func (*HttpConnectionManager) GetAccessLog

func (x *HttpConnectionManager) GetAccessLog() []*v2.AccessLog

func (*HttpConnectionManager) GetAddUserAgent

func (x *HttpConnectionManager) GetAddUserAgent() *wrappers.BoolValue

func (*HttpConnectionManager) GetCodecType

func (*HttpConnectionManager) GetCommonHttpProtocolOptions added in v0.9.1

func (x *HttpConnectionManager) GetCommonHttpProtocolOptions() *core.HttpProtocolOptions

func (*HttpConnectionManager) GetDelayedCloseTimeout added in v0.6.1

func (x *HttpConnectionManager) GetDelayedCloseTimeout() *duration.Duration

func (*HttpConnectionManager) GetDrainTimeout

func (x *HttpConnectionManager) GetDrainTimeout() *duration.Duration

func (*HttpConnectionManager) GetForwardClientCertDetails

func (*HttpConnectionManager) GetGenerateRequestId

func (x *HttpConnectionManager) GetGenerateRequestId() *wrappers.BoolValue

func (*HttpConnectionManager) GetHttp2ProtocolOptions

func (x *HttpConnectionManager) GetHttp2ProtocolOptions() *core.Http2ProtocolOptions

func (*HttpConnectionManager) GetHttpFilters

func (x *HttpConnectionManager) GetHttpFilters() []*HttpFilter

func (*HttpConnectionManager) GetHttpProtocolOptions

func (x *HttpConnectionManager) GetHttpProtocolOptions() *core.Http1ProtocolOptions

func (*HttpConnectionManager) GetIdleTimeout deprecated

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

Deprecated: Marked as deprecated in envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.proto.

func (*HttpConnectionManager) GetInternalAddressConfig added in v0.6.0

func (*HttpConnectionManager) GetMaxRequestHeadersKb added in v0.6.8

func (x *HttpConnectionManager) GetMaxRequestHeadersKb() *wrappers.UInt32Value

func (*HttpConnectionManager) GetMergeSlashes added in v0.8.3

func (x *HttpConnectionManager) GetMergeSlashes() bool

func (*HttpConnectionManager) GetNormalizePath added in v0.7.1

func (x *HttpConnectionManager) GetNormalizePath() *wrappers.BoolValue

func (*HttpConnectionManager) GetPreserveExternalRequestId added in v0.8.1

func (x *HttpConnectionManager) GetPreserveExternalRequestId() bool

func (*HttpConnectionManager) GetProxy_100Continue

func (x *HttpConnectionManager) GetProxy_100Continue() bool

func (*HttpConnectionManager) GetRds

func (x *HttpConnectionManager) GetRds() *Rds

func (*HttpConnectionManager) GetRepresentIpv4RemoteAddressAsIpv4MappedIpv6

func (x *HttpConnectionManager) GetRepresentIpv4RemoteAddressAsIpv4MappedIpv6() bool

func (*HttpConnectionManager) GetRequestIdExtension added in v0.9.5

func (x *HttpConnectionManager) GetRequestIdExtension() *RequestIDExtension

func (*HttpConnectionManager) GetRequestTimeout added in v0.6.3

func (x *HttpConnectionManager) GetRequestTimeout() *duration.Duration

func (*HttpConnectionManager) GetRouteConfig

func (x *HttpConnectionManager) GetRouteConfig() *v21.RouteConfiguration

func (*HttpConnectionManager) GetRouteSpecifier

func (m *HttpConnectionManager) GetRouteSpecifier() isHttpConnectionManager_RouteSpecifier

func (*HttpConnectionManager) GetScopedRoutes added in v0.8.1

func (x *HttpConnectionManager) GetScopedRoutes() *ScopedRoutes

func (*HttpConnectionManager) GetServerHeaderTransformation added in v0.9.0

func (*HttpConnectionManager) GetServerName

func (x *HttpConnectionManager) GetServerName() string

func (*HttpConnectionManager) GetSetCurrentClientCertDetails

func (x *HttpConnectionManager) GetSetCurrentClientCertDetails() *HttpConnectionManager_SetCurrentClientCertDetails

func (*HttpConnectionManager) GetSkipXffAppend

func (x *HttpConnectionManager) GetSkipXffAppend() bool

func (*HttpConnectionManager) GetStatPrefix

func (x *HttpConnectionManager) GetStatPrefix() string

func (*HttpConnectionManager) GetStreamIdleTimeout

func (x *HttpConnectionManager) GetStreamIdleTimeout() *duration.Duration

func (*HttpConnectionManager) GetTracing

func (*HttpConnectionManager) GetUpgradeConfigs

func (*HttpConnectionManager) GetUseRemoteAddress

func (x *HttpConnectionManager) GetUseRemoteAddress() *wrappers.BoolValue

func (*HttpConnectionManager) GetVia

func (x *HttpConnectionManager) GetVia() string

func (*HttpConnectionManager) GetXffNumTrustedHops

func (x *HttpConnectionManager) GetXffNumTrustedHops() uint32

func (*HttpConnectionManager) ProtoMessage

func (*HttpConnectionManager) ProtoMessage()

func (*HttpConnectionManager) ProtoReflect added in v0.9.6

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

func (*HttpConnectionManager) Reset

func (x *HttpConnectionManager) Reset()

func (*HttpConnectionManager) String

func (x *HttpConnectionManager) String() string

func (*HttpConnectionManager) Validate

func (m *HttpConnectionManager) Validate() error

Validate checks the field values on HttpConnectionManager with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HttpConnectionManager) ValidateAll added in v0.10.0

func (m *HttpConnectionManager) ValidateAll() error

ValidateAll checks the field values on HttpConnectionManager with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HttpConnectionManagerMultiError, or nil if none found.

type HttpConnectionManagerMultiError added in v0.10.0

type HttpConnectionManagerMultiError []error

HttpConnectionManagerMultiError is an error wrapping multiple validation errors returned by HttpConnectionManager.ValidateAll() if the designated constraints aren't met.

func (HttpConnectionManagerMultiError) AllErrors added in v0.10.0

func (m HttpConnectionManagerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HttpConnectionManagerMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type HttpConnectionManagerValidationError

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

HttpConnectionManagerValidationError is the validation error returned by HttpConnectionManager.Validate if the designated constraints aren't met.

func (HttpConnectionManagerValidationError) Cause

Cause function returns cause value.

func (HttpConnectionManagerValidationError) Error

Error satisfies the builtin error interface

func (HttpConnectionManagerValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (HttpConnectionManagerValidationError) Field

Field function returns field value.

func (HttpConnectionManagerValidationError) Key

Key function returns key value.

func (HttpConnectionManagerValidationError) Reason

Reason function returns reason value.

type HttpConnectionManager_CodecType

type HttpConnectionManager_CodecType int32
const (
	// For every new connection, the connection manager will determine which
	// codec to use. This mode supports both ALPN for TLS listeners as well as
	// protocol inference for plaintext listeners. If ALPN data is available, it
	// is preferred, otherwise protocol inference is used. In almost all cases,
	// this is the right option to choose for this setting.
	HttpConnectionManager_AUTO HttpConnectionManager_CodecType = 0
	// The connection manager will assume that the client is speaking HTTP/1.1.
	HttpConnectionManager_HTTP1 HttpConnectionManager_CodecType = 1
	// The connection manager will assume that the client is speaking HTTP/2
	// (Envoy does not require HTTP/2 to take place over TLS or to use ALPN.
	// Prior knowledge is allowed).
	HttpConnectionManager_HTTP2 HttpConnectionManager_CodecType = 2
	// [#not-implemented-hide:] QUIC implementation is not production ready yet. Use this enum with
	// caution to prevent accidental execution of QUIC code. I.e. `!= HTTP2` is no longer sufficient
	// to distinguish HTTP1 and HTTP2 traffic.
	HttpConnectionManager_HTTP3 HttpConnectionManager_CodecType = 3
)

func (HttpConnectionManager_CodecType) Descriptor added in v0.9.6

func (HttpConnectionManager_CodecType) Enum added in v0.9.6

func (HttpConnectionManager_CodecType) EnumDescriptor deprecated

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

Deprecated: Use HttpConnectionManager_CodecType.Descriptor instead.

func (HttpConnectionManager_CodecType) Number added in v0.9.6

func (HttpConnectionManager_CodecType) String

func (HttpConnectionManager_CodecType) Type added in v0.9.6

type HttpConnectionManager_ForwardClientCertDetails

type HttpConnectionManager_ForwardClientCertDetails int32

How to handle the :ref:`config_http_conn_man_headers_x-forwarded-client-cert` (XFCC) HTTP header.

const (
	// Do not send the XFCC header to the next hop. This is the default value.
	HttpConnectionManager_SANITIZE HttpConnectionManager_ForwardClientCertDetails = 0
	// When the client connection is mTLS (Mutual TLS), forward the XFCC header
	// in the request.
	HttpConnectionManager_FORWARD_ONLY HttpConnectionManager_ForwardClientCertDetails = 1
	// When the client connection is mTLS, append the client certificate
	// information to the request’s XFCC header and forward it.
	HttpConnectionManager_APPEND_FORWARD HttpConnectionManager_ForwardClientCertDetails = 2
	// When the client connection is mTLS, reset the XFCC header with the client
	// certificate information and send it to the next hop.
	HttpConnectionManager_SANITIZE_SET HttpConnectionManager_ForwardClientCertDetails = 3
	// Always forward the XFCC header in the request, regardless of whether the
	// client connection is mTLS.
	HttpConnectionManager_ALWAYS_FORWARD_ONLY HttpConnectionManager_ForwardClientCertDetails = 4
)

func (HttpConnectionManager_ForwardClientCertDetails) Descriptor added in v0.9.6

func (HttpConnectionManager_ForwardClientCertDetails) Enum added in v0.9.6

func (HttpConnectionManager_ForwardClientCertDetails) EnumDescriptor deprecated

Deprecated: Use HttpConnectionManager_ForwardClientCertDetails.Descriptor instead.

func (HttpConnectionManager_ForwardClientCertDetails) Number added in v0.9.6

func (HttpConnectionManager_ForwardClientCertDetails) String

func (HttpConnectionManager_ForwardClientCertDetails) Type added in v0.9.6

type HttpConnectionManager_InternalAddressConfig added in v0.6.0

type HttpConnectionManager_InternalAddressConfig struct {

	// Whether unix socket addresses should be considered internal.
	UnixSockets bool `protobuf:"varint,1,opt,name=unix_sockets,json=unixSockets,proto3" json:"unix_sockets,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpConnectionManager_InternalAddressConfig) Descriptor deprecated added in v0.6.0

Deprecated: Use HttpConnectionManager_InternalAddressConfig.ProtoReflect.Descriptor instead.

func (*HttpConnectionManager_InternalAddressConfig) GetUnixSockets added in v0.6.0

func (*HttpConnectionManager_InternalAddressConfig) ProtoMessage added in v0.6.0

func (*HttpConnectionManager_InternalAddressConfig) ProtoReflect added in v0.9.6

func (*HttpConnectionManager_InternalAddressConfig) Reset added in v0.6.0

func (*HttpConnectionManager_InternalAddressConfig) String added in v0.6.0

func (*HttpConnectionManager_InternalAddressConfig) Validate added in v0.6.0

Validate checks the field values on HttpConnectionManager_InternalAddressConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HttpConnectionManager_InternalAddressConfig) ValidateAll added in v0.10.0

ValidateAll checks the field values on HttpConnectionManager_InternalAddressConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HttpConnectionManager_InternalAddressConfigMultiError, or nil if none found.

type HttpConnectionManager_InternalAddressConfigMultiError added in v0.10.0

type HttpConnectionManager_InternalAddressConfigMultiError []error

HttpConnectionManager_InternalAddressConfigMultiError is an error wrapping multiple validation errors returned by HttpConnectionManager_InternalAddressConfig.ValidateAll() if the designated constraints aren't met.

func (HttpConnectionManager_InternalAddressConfigMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (HttpConnectionManager_InternalAddressConfigMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type HttpConnectionManager_InternalAddressConfigValidationError added in v0.6.0

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

HttpConnectionManager_InternalAddressConfigValidationError is the validation error returned by HttpConnectionManager_InternalAddressConfig.Validate if the designated constraints aren't met.

func (HttpConnectionManager_InternalAddressConfigValidationError) Cause added in v0.6.0

Cause function returns cause value.

func (HttpConnectionManager_InternalAddressConfigValidationError) Error added in v0.6.0

Error satisfies the builtin error interface

func (HttpConnectionManager_InternalAddressConfigValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (HttpConnectionManager_InternalAddressConfigValidationError) Field added in v0.6.0

Field function returns field value.

func (HttpConnectionManager_InternalAddressConfigValidationError) Key added in v0.6.0

Key function returns key value.

func (HttpConnectionManager_InternalAddressConfigValidationError) Reason added in v0.6.0

Reason function returns reason value.

type HttpConnectionManager_Rds

type HttpConnectionManager_Rds struct {
	// The connection manager’s route table will be dynamically loaded via the RDS API.
	Rds *Rds `protobuf:"bytes,3,opt,name=rds,proto3,oneof"`
}

type HttpConnectionManager_RouteConfig

type HttpConnectionManager_RouteConfig struct {
	// The route table for the connection manager is static and is specified in this property.
	RouteConfig *v21.RouteConfiguration `protobuf:"bytes,4,opt,name=route_config,json=routeConfig,proto3,oneof"`
}

type HttpConnectionManager_ScopedRoutes added in v0.8.1

type HttpConnectionManager_ScopedRoutes struct {
	// A route table will be dynamically assigned to each request based on request attributes
	// (e.g., the value of a header). The "routing scopes" (i.e., route tables) and "scope keys" are
	// specified in this message.
	ScopedRoutes *ScopedRoutes `protobuf:"bytes,31,opt,name=scoped_routes,json=scopedRoutes,proto3,oneof"`
}

type HttpConnectionManager_ServerHeaderTransformation added in v0.9.0

type HttpConnectionManager_ServerHeaderTransformation int32
const (
	// Overwrite any Server header with the contents of server_name.
	HttpConnectionManager_OVERWRITE HttpConnectionManager_ServerHeaderTransformation = 0
	// If no Server header is present, append Server server_name
	// If a Server header is present, pass it through.
	HttpConnectionManager_APPEND_IF_ABSENT HttpConnectionManager_ServerHeaderTransformation = 1
	// Pass through the value of the server header, and do not append a header
	// if none is present.
	HttpConnectionManager_PASS_THROUGH HttpConnectionManager_ServerHeaderTransformation = 2
)

func (HttpConnectionManager_ServerHeaderTransformation) Descriptor added in v0.9.6

func (HttpConnectionManager_ServerHeaderTransformation) Enum added in v0.9.6

func (HttpConnectionManager_ServerHeaderTransformation) EnumDescriptor deprecated added in v0.9.0

Deprecated: Use HttpConnectionManager_ServerHeaderTransformation.Descriptor instead.

func (HttpConnectionManager_ServerHeaderTransformation) Number added in v0.9.6

func (HttpConnectionManager_ServerHeaderTransformation) String added in v0.9.0

func (HttpConnectionManager_ServerHeaderTransformation) Type added in v0.9.6

type HttpConnectionManager_SetCurrentClientCertDetails

type HttpConnectionManager_SetCurrentClientCertDetails struct {

	// Whether to forward the subject of the client cert. Defaults to false.
	Subject *wrappers.BoolValue `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	// Whether to forward the entire client cert in URL encoded PEM format. This will appear in the
	// XFCC header comma separated from other values with the value Cert="PEM".
	// Defaults to false.
	Cert bool `protobuf:"varint,3,opt,name=cert,proto3" json:"cert,omitempty"`
	// Whether to forward the entire client cert chain (including the leaf cert) in URL encoded PEM
	// format. This will appear in the XFCC header comma separated from other values with the value
	// Chain="PEM".
	// Defaults to false.
	Chain bool `protobuf:"varint,6,opt,name=chain,proto3" json:"chain,omitempty"`
	// Whether to forward the DNS type Subject Alternative Names of the client cert.
	// Defaults to false.
	Dns bool `protobuf:"varint,4,opt,name=dns,proto3" json:"dns,omitempty"`
	// Whether to forward the URI type Subject Alternative Name of the client cert. Defaults to
	// false.
	Uri bool `protobuf:"varint,5,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 7]

func (*HttpConnectionManager_SetCurrentClientCertDetails) Descriptor deprecated

Deprecated: Use HttpConnectionManager_SetCurrentClientCertDetails.ProtoReflect.Descriptor instead.

func (*HttpConnectionManager_SetCurrentClientCertDetails) GetCert

func (*HttpConnectionManager_SetCurrentClientCertDetails) GetChain added in v0.8.1

func (*HttpConnectionManager_SetCurrentClientCertDetails) GetDns

func (*HttpConnectionManager_SetCurrentClientCertDetails) GetSubject

func (*HttpConnectionManager_SetCurrentClientCertDetails) GetUri

func (*HttpConnectionManager_SetCurrentClientCertDetails) ProtoMessage

func (*HttpConnectionManager_SetCurrentClientCertDetails) ProtoReflect added in v0.9.6

func (*HttpConnectionManager_SetCurrentClientCertDetails) Reset

func (*HttpConnectionManager_SetCurrentClientCertDetails) String

func (*HttpConnectionManager_SetCurrentClientCertDetails) Validate

Validate checks the field values on HttpConnectionManager_SetCurrentClientCertDetails with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HttpConnectionManager_SetCurrentClientCertDetails) ValidateAll added in v0.10.0

ValidateAll checks the field values on HttpConnectionManager_SetCurrentClientCertDetails with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HttpConnectionManager_SetCurrentClientCertDetailsMultiError, or nil if none found.

type HttpConnectionManager_SetCurrentClientCertDetailsMultiError added in v0.10.0

type HttpConnectionManager_SetCurrentClientCertDetailsMultiError []error

HttpConnectionManager_SetCurrentClientCertDetailsMultiError is an error wrapping multiple validation errors returned by HttpConnectionManager_SetCurrentClientCertDetails.ValidateAll() if the designated constraints aren't met.

func (HttpConnectionManager_SetCurrentClientCertDetailsMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (HttpConnectionManager_SetCurrentClientCertDetailsMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type HttpConnectionManager_SetCurrentClientCertDetailsValidationError

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

HttpConnectionManager_SetCurrentClientCertDetailsValidationError is the validation error returned by HttpConnectionManager_SetCurrentClientCertDetails.Validate if the designated constraints aren't met.

func (HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Cause

Cause function returns cause value.

func (HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Error

Error satisfies the builtin error interface

func (HttpConnectionManager_SetCurrentClientCertDetailsValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Field

Field function returns field value.

func (HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Key

Key function returns key value.

func (HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Reason

Reason function returns reason value.

type HttpConnectionManager_Tracing

type HttpConnectionManager_Tracing struct {

	// The span name will be derived from this field. If
	// :ref:`traffic_direction <envoy_api_field_Listener.traffic_direction>` is
	// specified on the parent listener, then it is used instead of this field.
	//
	// .. attention::
	//
	//	This field has been deprecated in favor of `traffic_direction`.
	//
	// Deprecated: Marked as deprecated in envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.proto.
	OperationName HttpConnectionManager_Tracing_OperationName `` /* 205-byte string literal not displayed */
	// A list of header names used to create tags for the active span. The header name is used to
	// populate the tag name, and the header value is used to populate the tag value. The tag is
	// created if the specified header name is present in the request's headers.
	//
	// .. attention::
	//
	//	This field has been deprecated in favor of :ref:`custom_tags
	//	<envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.tracing.custom_tags>`.
	//
	// Deprecated: Marked as deprecated in envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.proto.
	RequestHeadersForTags []string `` /* 128-byte string literal not displayed */
	// Target percentage of requests managed by this HTTP connection manager that will be force
	// traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>`
	// header is set. This field is a direct analog for the runtime variable
	// 'tracing.client_enabled' in the :ref:`HTTP Connection Manager
	// <config_http_conn_man_runtime>`.
	// Default: 100%
	ClientSampling *_type.Percent `protobuf:"bytes,3,opt,name=client_sampling,json=clientSampling,proto3" json:"client_sampling,omitempty"`
	// Target percentage of requests managed by this HTTP connection manager that will be randomly
	// selected for trace generation, if not requested by the client or not forced. This field is
	// a direct analog for the runtime variable 'tracing.random_sampling' in the
	// :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`.
	// Default: 100%
	RandomSampling *_type.Percent `protobuf:"bytes,4,opt,name=random_sampling,json=randomSampling,proto3" json:"random_sampling,omitempty"`
	// Target percentage of requests managed by this HTTP connection manager that will be traced
	// after all other sampling checks have been applied (client-directed, force tracing, random
	// sampling). This field functions as an upper limit on the total configured sampling rate. For
	// instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1%
	// of client requests with the appropriate headers to be force traced. This field is a direct
	// analog for the runtime variable 'tracing.global_enabled' in the
	// :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`.
	// Default: 100%
	OverallSampling *_type.Percent `protobuf:"bytes,5,opt,name=overall_sampling,json=overallSampling,proto3" json:"overall_sampling,omitempty"`
	// Whether to annotate spans with additional data. If true, spans will include logs for stream
	// events.
	Verbose bool `protobuf:"varint,6,opt,name=verbose,proto3" json:"verbose,omitempty"`
	// Maximum length of the request path to extract and include in the HttpUrl tag. Used to
	// truncate lengthy request paths to meet the needs of a tracing backend.
	// Default: 256
	MaxPathTagLength *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=max_path_tag_length,json=maxPathTagLength,proto3" json:"max_path_tag_length,omitempty"`
	// A list of custom tags with unique tag name to create tags for the active span.
	CustomTags []*v22.CustomTag `protobuf:"bytes,8,rep,name=custom_tags,json=customTags,proto3" json:"custom_tags,omitempty"`
	// Configuration for an external tracing provider.
	// If not specified, no tracing will be performed.
	//
	// .. attention::
	//
	//	Please be aware that *envoy.tracers.opencensus* provider can only be configured once
	//	in Envoy lifetime.
	//	Any attempts to reconfigure it or to use different configurations for different HCM filters
	//	will be rejected.
	//	Such a constraint is inherent to OpenCensus itself. It cannot be overcome without changes
	//	on OpenCensus side.
	Provider *v23.Tracing_Http `protobuf:"bytes,9,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 10]

func (*HttpConnectionManager_Tracing) Descriptor deprecated

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

Deprecated: Use HttpConnectionManager_Tracing.ProtoReflect.Descriptor instead.

func (*HttpConnectionManager_Tracing) GetClientSampling

func (x *HttpConnectionManager_Tracing) GetClientSampling() *_type.Percent

func (*HttpConnectionManager_Tracing) GetCustomTags added in v0.9.2

func (x *HttpConnectionManager_Tracing) GetCustomTags() []*v22.CustomTag

func (*HttpConnectionManager_Tracing) GetMaxPathTagLength added in v0.9.0

func (x *HttpConnectionManager_Tracing) GetMaxPathTagLength() *wrappers.UInt32Value

func (*HttpConnectionManager_Tracing) GetOperationName deprecated

Deprecated: Marked as deprecated in envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.proto.

func (*HttpConnectionManager_Tracing) GetOverallSampling

func (x *HttpConnectionManager_Tracing) GetOverallSampling() *_type.Percent

func (*HttpConnectionManager_Tracing) GetProvider added in v0.9.5

func (*HttpConnectionManager_Tracing) GetRandomSampling

func (x *HttpConnectionManager_Tracing) GetRandomSampling() *_type.Percent

func (*HttpConnectionManager_Tracing) GetRequestHeadersForTags deprecated

func (x *HttpConnectionManager_Tracing) GetRequestHeadersForTags() []string

Deprecated: Marked as deprecated in envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.proto.

func (*HttpConnectionManager_Tracing) GetVerbose added in v0.6.9

func (x *HttpConnectionManager_Tracing) GetVerbose() bool

func (*HttpConnectionManager_Tracing) ProtoMessage

func (*HttpConnectionManager_Tracing) ProtoMessage()

func (*HttpConnectionManager_Tracing) ProtoReflect added in v0.9.6

func (*HttpConnectionManager_Tracing) Reset

func (x *HttpConnectionManager_Tracing) Reset()

func (*HttpConnectionManager_Tracing) String

func (*HttpConnectionManager_Tracing) Validate

func (m *HttpConnectionManager_Tracing) Validate() error

Validate checks the field values on HttpConnectionManager_Tracing with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HttpConnectionManager_Tracing) ValidateAll added in v0.10.0

func (m *HttpConnectionManager_Tracing) ValidateAll() error

ValidateAll checks the field values on HttpConnectionManager_Tracing with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HttpConnectionManager_TracingMultiError, or nil if none found.

type HttpConnectionManager_TracingMultiError added in v0.10.0

type HttpConnectionManager_TracingMultiError []error

HttpConnectionManager_TracingMultiError is an error wrapping multiple validation errors returned by HttpConnectionManager_Tracing.ValidateAll() if the designated constraints aren't met.

func (HttpConnectionManager_TracingMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (HttpConnectionManager_TracingMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type HttpConnectionManager_TracingValidationError

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

HttpConnectionManager_TracingValidationError is the validation error returned by HttpConnectionManager_Tracing.Validate if the designated constraints aren't met.

func (HttpConnectionManager_TracingValidationError) Cause

Cause function returns cause value.

func (HttpConnectionManager_TracingValidationError) Error

Error satisfies the builtin error interface

func (HttpConnectionManager_TracingValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (HttpConnectionManager_TracingValidationError) Field

Field function returns field value.

func (HttpConnectionManager_TracingValidationError) Key

Key function returns key value.

func (HttpConnectionManager_TracingValidationError) Reason

Reason function returns reason value.

type HttpConnectionManager_Tracing_OperationName

type HttpConnectionManager_Tracing_OperationName int32
const (
	// The HTTP listener is used for ingress/incoming requests.
	HttpConnectionManager_Tracing_INGRESS HttpConnectionManager_Tracing_OperationName = 0
	// The HTTP listener is used for egress/outgoing requests.
	HttpConnectionManager_Tracing_EGRESS HttpConnectionManager_Tracing_OperationName = 1
)

func (HttpConnectionManager_Tracing_OperationName) Descriptor added in v0.9.6

func (HttpConnectionManager_Tracing_OperationName) Enum added in v0.9.6

func (HttpConnectionManager_Tracing_OperationName) EnumDescriptor deprecated

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

Deprecated: Use HttpConnectionManager_Tracing_OperationName.Descriptor instead.

func (HttpConnectionManager_Tracing_OperationName) Number added in v0.9.6

func (HttpConnectionManager_Tracing_OperationName) String

func (HttpConnectionManager_Tracing_OperationName) Type added in v0.9.6

type HttpConnectionManager_UpgradeConfig

type HttpConnectionManager_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"`
	// If present, this represents the filter chain which will be created for
	// this type of upgrade. If no filters are present, the filter chain for
	// HTTP connections will be used for this upgrade type.
	Filters []*HttpFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
	// Determines if upgrades are enabled or disabled by default. Defaults to true.
	// This can be overridden on a per-route basis with :ref:`cluster
	// <envoy_api_field_route.RouteAction.upgrade_configs>` as documented in the
	// :ref:`upgrade documentation <arch_overview_upgrades>`.
	Enabled *wrappers.BoolValue `protobuf:"bytes,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

The configuration for HTTP upgrades. For each upgrade type desired, an UpgradeConfig must be added.

.. warning::

The current implementation of upgrade headers does not handle
multi-valued upgrade headers. Support for multi-valued headers may be
added in the future if needed.

.. warning::

The current implementation of upgrade headers does not work with HTTP/2
upstreams.

func (*HttpConnectionManager_UpgradeConfig) Descriptor deprecated

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

Deprecated: Use HttpConnectionManager_UpgradeConfig.ProtoReflect.Descriptor instead.

func (*HttpConnectionManager_UpgradeConfig) GetEnabled added in v0.6.4

func (*HttpConnectionManager_UpgradeConfig) GetFilters

func (*HttpConnectionManager_UpgradeConfig) GetUpgradeType

func (x *HttpConnectionManager_UpgradeConfig) GetUpgradeType() string

func (*HttpConnectionManager_UpgradeConfig) ProtoMessage

func (*HttpConnectionManager_UpgradeConfig) ProtoMessage()

func (*HttpConnectionManager_UpgradeConfig) ProtoReflect added in v0.9.6

func (*HttpConnectionManager_UpgradeConfig) Reset

func (*HttpConnectionManager_UpgradeConfig) String

func (*HttpConnectionManager_UpgradeConfig) Validate

Validate checks the field values on HttpConnectionManager_UpgradeConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HttpConnectionManager_UpgradeConfig) ValidateAll added in v0.10.0

func (m *HttpConnectionManager_UpgradeConfig) ValidateAll() error

ValidateAll checks the field values on HttpConnectionManager_UpgradeConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HttpConnectionManager_UpgradeConfigMultiError, or nil if none found.

type HttpConnectionManager_UpgradeConfigMultiError added in v0.10.0

type HttpConnectionManager_UpgradeConfigMultiError []error

HttpConnectionManager_UpgradeConfigMultiError is an error wrapping multiple validation errors returned by HttpConnectionManager_UpgradeConfig.ValidateAll() if the designated constraints aren't met.

func (HttpConnectionManager_UpgradeConfigMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (HttpConnectionManager_UpgradeConfigMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type HttpConnectionManager_UpgradeConfigValidationError

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

HttpConnectionManager_UpgradeConfigValidationError is the validation error returned by HttpConnectionManager_UpgradeConfig.Validate if the designated constraints aren't met.

func (HttpConnectionManager_UpgradeConfigValidationError) Cause

Cause function returns cause value.

func (HttpConnectionManager_UpgradeConfigValidationError) Error

Error satisfies the builtin error interface

func (HttpConnectionManager_UpgradeConfigValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (HttpConnectionManager_UpgradeConfigValidationError) Field

Field function returns field value.

func (HttpConnectionManager_UpgradeConfigValidationError) Key

Key function returns key value.

func (HttpConnectionManager_UpgradeConfigValidationError) Reason

Reason function returns reason value.

type HttpFilter

type HttpFilter struct {

	// The name of the filter to instantiate. The name must match a
	// :ref:`supported filter <config_http_filters>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Filter specific configuration which depends on the filter being instantiated. See the supported
	// filters for further documentation.
	//
	// Types that are assignable to ConfigType:
	//
	//	*HttpFilter_Config
	//	*HttpFilter_TypedConfig
	ConfigType isHttpFilter_ConfigType `protobuf_oneof:"config_type"`
	// contains filtered or unexported fields
}

func (*HttpFilter) Descriptor deprecated

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

Deprecated: Use HttpFilter.ProtoReflect.Descriptor instead.

func (*HttpFilter) GetConfig deprecated

func (x *HttpFilter) GetConfig() *_struct.Struct

Deprecated: Marked as deprecated in envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.proto.

func (*HttpFilter) GetConfigType added in v0.6.3

func (m *HttpFilter) GetConfigType() isHttpFilter_ConfigType

func (*HttpFilter) GetName

func (x *HttpFilter) GetName() string

func (*HttpFilter) GetTypedConfig added in v0.6.3

func (x *HttpFilter) GetTypedConfig() *any1.Any

func (*HttpFilter) ProtoMessage

func (*HttpFilter) ProtoMessage()

func (*HttpFilter) ProtoReflect added in v0.9.6

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

func (*HttpFilter) Reset

func (x *HttpFilter) Reset()

func (*HttpFilter) String

func (x *HttpFilter) String() string

func (*HttpFilter) Validate

func (m *HttpFilter) Validate() error

Validate checks the field values on HttpFilter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HttpFilter) ValidateAll added in v0.10.0

func (m *HttpFilter) ValidateAll() error

ValidateAll checks the field values on HttpFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HttpFilterMultiError, or nil if none found.

type HttpFilterMultiError added in v0.10.0

type HttpFilterMultiError []error

HttpFilterMultiError is an error wrapping multiple validation errors returned by HttpFilter.ValidateAll() if the designated constraints aren't met.

func (HttpFilterMultiError) AllErrors added in v0.10.0

func (m HttpFilterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HttpFilterMultiError) Error added in v0.10.0

func (m HttpFilterMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HttpFilterValidationError

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

HttpFilterValidationError is the validation error returned by HttpFilter.Validate if the designated constraints aren't met.

func (HttpFilterValidationError) Cause

func (e HttpFilterValidationError) Cause() error

Cause function returns cause value.

func (HttpFilterValidationError) Error

Error satisfies the builtin error interface

func (HttpFilterValidationError) ErrorName added in v0.7.0

func (e HttpFilterValidationError) ErrorName() string

ErrorName returns error name.

func (HttpFilterValidationError) Field

Field function returns field value.

func (HttpFilterValidationError) Key

Key function returns key value.

func (HttpFilterValidationError) Reason

func (e HttpFilterValidationError) Reason() string

Reason function returns reason value.

type HttpFilter_Config added in v0.6.3

type HttpFilter_Config struct {
	// Deprecated: Marked as deprecated in envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.proto.
	Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

type HttpFilter_TypedConfig added in v0.6.3

type HttpFilter_TypedConfig struct {
	TypedConfig *any1.Any `protobuf:"bytes,4,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

type Rds

type Rds struct {

	// Configuration source specifier for RDS.
	ConfigSource *core.ConfigSource `protobuf:"bytes,1,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"`
	// The name of the route configuration. This name will be passed to the RDS
	// API. This allows an Envoy configuration with multiple HTTP listeners (and
	// associated HTTP connection manager filters) to use different route
	// configurations.
	RouteConfigName string `protobuf:"bytes,2,opt,name=route_config_name,json=routeConfigName,proto3" json:"route_config_name,omitempty"`
	// contains filtered or unexported fields
}

func (*Rds) Descriptor deprecated

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

Deprecated: Use Rds.ProtoReflect.Descriptor instead.

func (*Rds) GetConfigSource

func (x *Rds) GetConfigSource() *core.ConfigSource

func (*Rds) GetRouteConfigName

func (x *Rds) GetRouteConfigName() string

func (*Rds) ProtoMessage

func (*Rds) ProtoMessage()

func (*Rds) ProtoReflect added in v0.9.6

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

func (*Rds) Reset

func (x *Rds) Reset()

func (*Rds) String

func (x *Rds) String() string

func (*Rds) Validate

func (m *Rds) Validate() error

Validate checks the field values on Rds with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Rds) ValidateAll added in v0.10.0

func (m *Rds) ValidateAll() error

ValidateAll checks the field values on Rds with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RdsMultiError, or nil if none found.

type RdsMultiError added in v0.10.0

type RdsMultiError []error

RdsMultiError is an error wrapping multiple validation errors returned by Rds.ValidateAll() if the designated constraints aren't met.

func (RdsMultiError) AllErrors added in v0.10.0

func (m RdsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RdsMultiError) Error added in v0.10.0

func (m RdsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RdsValidationError

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

RdsValidationError is the validation error returned by Rds.Validate if the designated constraints aren't met.

func (RdsValidationError) Cause

func (e RdsValidationError) Cause() error

Cause function returns cause value.

func (RdsValidationError) Error

func (e RdsValidationError) Error() string

Error satisfies the builtin error interface

func (RdsValidationError) ErrorName added in v0.7.0

func (e RdsValidationError) ErrorName() string

ErrorName returns error name.

func (RdsValidationError) Field

func (e RdsValidationError) Field() string

Field function returns field value.

func (RdsValidationError) Key

func (e RdsValidationError) Key() bool

Key function returns key value.

func (RdsValidationError) Reason

func (e RdsValidationError) Reason() string

Reason function returns reason value.

type RequestIDExtension added in v0.9.5

type RequestIDExtension struct {

	// Request ID extension specific configuration.
	TypedConfig *any1.Any `protobuf:"bytes,1,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestIDExtension) Descriptor deprecated added in v0.9.5

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

Deprecated: Use RequestIDExtension.ProtoReflect.Descriptor instead.

func (*RequestIDExtension) GetTypedConfig added in v0.9.5

func (x *RequestIDExtension) GetTypedConfig() *any1.Any

func (*RequestIDExtension) ProtoMessage added in v0.9.5

func (*RequestIDExtension) ProtoMessage()

func (*RequestIDExtension) ProtoReflect added in v0.9.6

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

func (*RequestIDExtension) Reset added in v0.9.5

func (x *RequestIDExtension) Reset()

func (*RequestIDExtension) String added in v0.9.5

func (x *RequestIDExtension) String() string

func (*RequestIDExtension) Validate added in v0.9.5

func (m *RequestIDExtension) Validate() error

Validate checks the field values on RequestIDExtension with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RequestIDExtension) ValidateAll added in v0.10.0

func (m *RequestIDExtension) ValidateAll() error

ValidateAll checks the field values on RequestIDExtension with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RequestIDExtensionMultiError, or nil if none found.

type RequestIDExtensionMultiError added in v0.10.0

type RequestIDExtensionMultiError []error

RequestIDExtensionMultiError is an error wrapping multiple validation errors returned by RequestIDExtension.ValidateAll() if the designated constraints aren't met.

func (RequestIDExtensionMultiError) AllErrors added in v0.10.0

func (m RequestIDExtensionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RequestIDExtensionMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type RequestIDExtensionValidationError added in v0.9.5

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

RequestIDExtensionValidationError is the validation error returned by RequestIDExtension.Validate if the designated constraints aren't met.

func (RequestIDExtensionValidationError) Cause added in v0.9.5

Cause function returns cause value.

func (RequestIDExtensionValidationError) Error added in v0.9.5

Error satisfies the builtin error interface

func (RequestIDExtensionValidationError) ErrorName added in v0.9.5

ErrorName returns error name.

func (RequestIDExtensionValidationError) Field added in v0.9.5

Field function returns field value.

func (RequestIDExtensionValidationError) Key added in v0.9.5

Key function returns key value.

func (RequestIDExtensionValidationError) Reason added in v0.9.5

Reason function returns reason value.

type ScopedRds added in v0.8.1

type ScopedRds struct {

	// Configuration source specifier for scoped RDS.
	ScopedRdsConfigSource *core.ConfigSource `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ScopedRds) Descriptor deprecated added in v0.8.1

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

Deprecated: Use ScopedRds.ProtoReflect.Descriptor instead.

func (*ScopedRds) GetScopedRdsConfigSource added in v0.8.1

func (x *ScopedRds) GetScopedRdsConfigSource() *core.ConfigSource

func (*ScopedRds) ProtoMessage added in v0.8.1

func (*ScopedRds) ProtoMessage()

func (*ScopedRds) ProtoReflect added in v0.9.6

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

func (*ScopedRds) Reset added in v0.8.1

func (x *ScopedRds) Reset()

func (*ScopedRds) String added in v0.8.1

func (x *ScopedRds) String() string

func (*ScopedRds) Validate added in v0.8.1

func (m *ScopedRds) Validate() error

Validate checks the field values on ScopedRds with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ScopedRds) ValidateAll added in v0.10.0

func (m *ScopedRds) ValidateAll() error

ValidateAll checks the field values on ScopedRds with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ScopedRdsMultiError, or nil if none found.

type ScopedRdsMultiError added in v0.10.0

type ScopedRdsMultiError []error

ScopedRdsMultiError is an error wrapping multiple validation errors returned by ScopedRds.ValidateAll() if the designated constraints aren't met.

func (ScopedRdsMultiError) AllErrors added in v0.10.0

func (m ScopedRdsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ScopedRdsMultiError) Error added in v0.10.0

func (m ScopedRdsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ScopedRdsValidationError added in v0.8.1

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

ScopedRdsValidationError is the validation error returned by ScopedRds.Validate if the designated constraints aren't met.

func (ScopedRdsValidationError) Cause added in v0.8.1

func (e ScopedRdsValidationError) Cause() error

Cause function returns cause value.

func (ScopedRdsValidationError) Error added in v0.8.1

func (e ScopedRdsValidationError) Error() string

Error satisfies the builtin error interface

func (ScopedRdsValidationError) ErrorName added in v0.8.1

func (e ScopedRdsValidationError) ErrorName() string

ErrorName returns error name.

func (ScopedRdsValidationError) Field added in v0.8.1

func (e ScopedRdsValidationError) Field() string

Field function returns field value.

func (ScopedRdsValidationError) Key added in v0.8.1

Key function returns key value.

func (ScopedRdsValidationError) Reason added in v0.8.1

func (e ScopedRdsValidationError) Reason() string

Reason function returns reason value.

type ScopedRouteConfigurationsList added in v0.8.1

type ScopedRouteConfigurationsList struct {
	ScopedRouteConfigurations []*v21.ScopedRouteConfiguration `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

This message is used to work around the limitations with 'oneof' and repeated fields.

func (*ScopedRouteConfigurationsList) Descriptor deprecated added in v0.8.1

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

Deprecated: Use ScopedRouteConfigurationsList.ProtoReflect.Descriptor instead.

func (*ScopedRouteConfigurationsList) GetScopedRouteConfigurations added in v0.8.1

func (x *ScopedRouteConfigurationsList) GetScopedRouteConfigurations() []*v21.ScopedRouteConfiguration

func (*ScopedRouteConfigurationsList) ProtoMessage added in v0.8.1

func (*ScopedRouteConfigurationsList) ProtoMessage()

func (*ScopedRouteConfigurationsList) ProtoReflect added in v0.9.6

func (*ScopedRouteConfigurationsList) Reset added in v0.8.1

func (x *ScopedRouteConfigurationsList) Reset()

func (*ScopedRouteConfigurationsList) String added in v0.8.1

func (*ScopedRouteConfigurationsList) Validate added in v0.8.1

func (m *ScopedRouteConfigurationsList) Validate() error

Validate checks the field values on ScopedRouteConfigurationsList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ScopedRouteConfigurationsList) ValidateAll added in v0.10.0

func (m *ScopedRouteConfigurationsList) ValidateAll() error

ValidateAll checks the field values on ScopedRouteConfigurationsList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ScopedRouteConfigurationsListMultiError, or nil if none found.

type ScopedRouteConfigurationsListMultiError added in v0.10.0

type ScopedRouteConfigurationsListMultiError []error

ScopedRouteConfigurationsListMultiError is an error wrapping multiple validation errors returned by ScopedRouteConfigurationsList.ValidateAll() if the designated constraints aren't met.

func (ScopedRouteConfigurationsListMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (ScopedRouteConfigurationsListMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type ScopedRouteConfigurationsListValidationError added in v0.8.1

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

ScopedRouteConfigurationsListValidationError is the validation error returned by ScopedRouteConfigurationsList.Validate if the designated constraints aren't met.

func (ScopedRouteConfigurationsListValidationError) Cause added in v0.8.1

Cause function returns cause value.

func (ScopedRouteConfigurationsListValidationError) Error added in v0.8.1

Error satisfies the builtin error interface

func (ScopedRouteConfigurationsListValidationError) ErrorName added in v0.8.1

ErrorName returns error name.

func (ScopedRouteConfigurationsListValidationError) Field added in v0.8.1

Field function returns field value.

func (ScopedRouteConfigurationsListValidationError) Key added in v0.8.1

Key function returns key value.

func (ScopedRouteConfigurationsListValidationError) Reason added in v0.8.1

Reason function returns reason value.

type ScopedRoutes added in v0.8.1

type ScopedRoutes struct {

	// The name assigned to the scoped routing configuration.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The algorithm to use for constructing a scope key for each request.
	ScopeKeyBuilder *ScopedRoutes_ScopeKeyBuilder `protobuf:"bytes,2,opt,name=scope_key_builder,json=scopeKeyBuilder,proto3" json:"scope_key_builder,omitempty"`
	// Configuration source specifier for RDS.
	// This config source is used to subscribe to RouteConfiguration resources specified in
	// ScopedRouteConfiguration messages.
	RdsConfigSource *core.ConfigSource `protobuf:"bytes,3,opt,name=rds_config_source,json=rdsConfigSource,proto3" json:"rds_config_source,omitempty"`
	// Types that are assignable to ConfigSpecifier:
	//
	//	*ScopedRoutes_ScopedRouteConfigurationsList
	//	*ScopedRoutes_ScopedRds
	ConfigSpecifier isScopedRoutes_ConfigSpecifier `protobuf_oneof:"config_specifier"`
	// contains filtered or unexported fields
}

[#next-free-field: 6]

func (*ScopedRoutes) Descriptor deprecated added in v0.8.1

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

Deprecated: Use ScopedRoutes.ProtoReflect.Descriptor instead.

func (*ScopedRoutes) GetConfigSpecifier added in v0.8.1

func (m *ScopedRoutes) GetConfigSpecifier() isScopedRoutes_ConfigSpecifier

func (*ScopedRoutes) GetName added in v0.8.1

func (x *ScopedRoutes) GetName() string

func (*ScopedRoutes) GetRdsConfigSource added in v0.8.1

func (x *ScopedRoutes) GetRdsConfigSource() *core.ConfigSource

func (*ScopedRoutes) GetScopeKeyBuilder added in v0.8.1

func (x *ScopedRoutes) GetScopeKeyBuilder() *ScopedRoutes_ScopeKeyBuilder

func (*ScopedRoutes) GetScopedRds added in v0.8.1

func (x *ScopedRoutes) GetScopedRds() *ScopedRds

func (*ScopedRoutes) GetScopedRouteConfigurationsList added in v0.8.1

func (x *ScopedRoutes) GetScopedRouteConfigurationsList() *ScopedRouteConfigurationsList

func (*ScopedRoutes) ProtoMessage added in v0.8.1

func (*ScopedRoutes) ProtoMessage()

func (*ScopedRoutes) ProtoReflect added in v0.9.6

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

func (*ScopedRoutes) Reset added in v0.8.1

func (x *ScopedRoutes) Reset()

func (*ScopedRoutes) String added in v0.8.1

func (x *ScopedRoutes) String() string

func (*ScopedRoutes) Validate added in v0.8.1

func (m *ScopedRoutes) Validate() error

Validate checks the field values on ScopedRoutes with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ScopedRoutes) ValidateAll added in v0.10.0

func (m *ScopedRoutes) ValidateAll() error

ValidateAll checks the field values on ScopedRoutes with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ScopedRoutesMultiError, or nil if none found.

type ScopedRoutesMultiError added in v0.10.0

type ScopedRoutesMultiError []error

ScopedRoutesMultiError is an error wrapping multiple validation errors returned by ScopedRoutes.ValidateAll() if the designated constraints aren't met.

func (ScopedRoutesMultiError) AllErrors added in v0.10.0

func (m ScopedRoutesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ScopedRoutesMultiError) Error added in v0.10.0

func (m ScopedRoutesMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ScopedRoutesValidationError added in v0.8.1

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

ScopedRoutesValidationError is the validation error returned by ScopedRoutes.Validate if the designated constraints aren't met.

func (ScopedRoutesValidationError) Cause added in v0.8.1

Cause function returns cause value.

func (ScopedRoutesValidationError) Error added in v0.8.1

Error satisfies the builtin error interface

func (ScopedRoutesValidationError) ErrorName added in v0.8.1

func (e ScopedRoutesValidationError) ErrorName() string

ErrorName returns error name.

func (ScopedRoutesValidationError) Field added in v0.8.1

Field function returns field value.

func (ScopedRoutesValidationError) Key added in v0.8.1

Key function returns key value.

func (ScopedRoutesValidationError) Reason added in v0.8.1

Reason function returns reason value.

type ScopedRoutes_ScopeKeyBuilder added in v0.8.1

type ScopedRoutes_ScopeKeyBuilder struct {

	// The final(built) scope key consists of the ordered union of these fragments, which are compared in order with the
	// fragments of a :ref:`ScopedRouteConfiguration<envoy_api_msg_ScopedRouteConfiguration>`.
	// A missing fragment during comparison will make the key invalid, i.e., the computed key doesn't match any key.
	Fragments []*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder `protobuf:"bytes,1,rep,name=fragments,proto3" json:"fragments,omitempty"`
	// contains filtered or unexported fields
}

Specifies the mechanism for constructing "scope keys" based on HTTP request attributes. These keys are matched against a set of :ref:`Key<envoy_api_msg_ScopedRouteConfiguration.Key>` objects assembled from :ref:`ScopedRouteConfiguration<envoy_api_msg_ScopedRouteConfiguration>` messages distributed via SRDS (the Scoped Route Discovery Service) or assigned statically via :ref:`scoped_route_configurations_list<envoy_api_field_config.filter.network.http_connection_manager.v2.ScopedRoutes.scoped_route_configurations_list>`.

Upon receiving a request's headers, the Router will build a key using the algorithm specified by this message. This key will be used to look up the routing table (i.e., the :ref:`RouteConfiguration<envoy_api_msg_RouteConfiguration>`) to use for the request.

func (*ScopedRoutes_ScopeKeyBuilder) Descriptor deprecated added in v0.8.1

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

Deprecated: Use ScopedRoutes_ScopeKeyBuilder.ProtoReflect.Descriptor instead.

func (*ScopedRoutes_ScopeKeyBuilder) GetFragments added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder) ProtoMessage added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder) ProtoMessage()

func (*ScopedRoutes_ScopeKeyBuilder) ProtoReflect added in v0.9.6

func (*ScopedRoutes_ScopeKeyBuilder) Reset added in v0.8.1

func (x *ScopedRoutes_ScopeKeyBuilder) Reset()

func (*ScopedRoutes_ScopeKeyBuilder) String added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder) Validate added in v0.8.1

func (m *ScopedRoutes_ScopeKeyBuilder) Validate() error

Validate checks the field values on ScopedRoutes_ScopeKeyBuilder with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ScopedRoutes_ScopeKeyBuilder) ValidateAll added in v0.10.0

func (m *ScopedRoutes_ScopeKeyBuilder) ValidateAll() error

ValidateAll checks the field values on ScopedRoutes_ScopeKeyBuilder with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ScopedRoutes_ScopeKeyBuilderMultiError, or nil if none found.

type ScopedRoutes_ScopeKeyBuilderMultiError added in v0.10.0

type ScopedRoutes_ScopeKeyBuilderMultiError []error

ScopedRoutes_ScopeKeyBuilderMultiError is an error wrapping multiple validation errors returned by ScopedRoutes_ScopeKeyBuilder.ValidateAll() if the designated constraints aren't met.

func (ScopedRoutes_ScopeKeyBuilderMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (ScopedRoutes_ScopeKeyBuilderMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type ScopedRoutes_ScopeKeyBuilderValidationError added in v0.8.1

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

ScopedRoutes_ScopeKeyBuilderValidationError is the validation error returned by ScopedRoutes_ScopeKeyBuilder.Validate if the designated constraints aren't met.

func (ScopedRoutes_ScopeKeyBuilderValidationError) Cause added in v0.8.1

Cause function returns cause value.

func (ScopedRoutes_ScopeKeyBuilderValidationError) Error added in v0.8.1

Error satisfies the builtin error interface

func (ScopedRoutes_ScopeKeyBuilderValidationError) ErrorName added in v0.8.1

ErrorName returns error name.

func (ScopedRoutes_ScopeKeyBuilderValidationError) Field added in v0.8.1

Field function returns field value.

func (ScopedRoutes_ScopeKeyBuilderValidationError) Key added in v0.8.1

Key function returns key value.

func (ScopedRoutes_ScopeKeyBuilderValidationError) Reason added in v0.8.1

Reason function returns reason value.

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder added in v0.8.1

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder struct {

	// Types that are assignable to Type:
	//
	//	*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_
	Type isScopedRoutes_ScopeKeyBuilder_FragmentBuilder_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

Specifies the mechanism for constructing key fragments which are composed into scope keys.

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder) Descriptor deprecated added in v0.8.1

Deprecated: Use ScopedRoutes_ScopeKeyBuilder_FragmentBuilder.ProtoReflect.Descriptor instead.

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder) GetHeaderValueExtractor added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder) GetType added in v0.8.1

func (m *ScopedRoutes_ScopeKeyBuilder_FragmentBuilder) GetType() isScopedRoutes_ScopeKeyBuilder_FragmentBuilder_Type

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder) ProtoMessage added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder) ProtoReflect added in v0.9.6

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder) Reset added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder) String added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder) Validate added in v0.8.1

Validate checks the field values on ScopedRoutes_ScopeKeyBuilder_FragmentBuilder with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder) ValidateAll added in v0.10.0

ValidateAll checks the field values on ScopedRoutes_ScopeKeyBuilder_FragmentBuilder with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ScopedRoutes_ScopeKeyBuilder_FragmentBuilderMultiError, or nil if none found.

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilderMultiError added in v0.10.0

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilderMultiError []error

ScopedRoutes_ScopeKeyBuilder_FragmentBuilderMultiError is an error wrapping multiple validation errors returned by ScopedRoutes_ScopeKeyBuilder_FragmentBuilder.ValidateAll() if the designated constraints aren't met.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilderMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilderMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilderValidationError added in v0.8.1

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

ScopedRoutes_ScopeKeyBuilder_FragmentBuilderValidationError is the validation error returned by ScopedRoutes_ScopeKeyBuilder_FragmentBuilder.Validate if the designated constraints aren't met.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilderValidationError) Cause added in v0.8.1

Cause function returns cause value.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilderValidationError) Error added in v0.8.1

Error satisfies the builtin error interface

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilderValidationError) ErrorName added in v0.8.1

ErrorName returns error name.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilderValidationError) Field added in v0.8.1

Field function returns field value.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilderValidationError) Key added in v0.8.1

Key function returns key value.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilderValidationError) Reason added in v0.8.1

Reason function returns reason value.

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor added in v0.8.1

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor struct {

	// The name of the header field to extract the value from.
	//
	// .. note::
	//
	//	If the header appears multiple times only the first value is used.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The element separator (e.g., ';' separates 'a;b;c;d').
	// Default: empty string. This causes the entirety of the header field to be extracted.
	// If this field is set to an empty string and 'index' is used in the oneof below, 'index'
	// must be set to 0.
	ElementSeparator string `protobuf:"bytes,2,opt,name=element_separator,json=elementSeparator,proto3" json:"element_separator,omitempty"`
	// Types that are assignable to ExtractType:
	//
	//	*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_Index
	//	*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_Element
	ExtractType isScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_ExtractType `protobuf_oneof:"extract_type"`
	// contains filtered or unexported fields
}

Specifies how the value of a header should be extracted. The following example maps the structure of a header to the fields in this message.

.. code::

          <0> <1>   <-- index
X-Header: a=b;c=d
|         || |
|         || \----> <element_separator>
|         ||
|         |\----> <element.separator>
|         |
|         \----> <element.key>
|
\----> <name>

Each 'a=b' key-value pair constitutes an 'element' of the header field.

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor) Descriptor deprecated added in v0.8.1

Deprecated: Use ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor.ProtoReflect.Descriptor instead.

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor) GetElement added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor) GetElementSeparator added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor) GetExtractType added in v0.8.1

func (m *ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor) GetExtractType() isScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_ExtractType

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor) GetIndex added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor) GetName added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor) ProtoMessage added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor) ProtoReflect added in v0.9.6

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor) Reset added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor) String added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor) Validate added in v0.8.1

Validate checks the field values on ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor) ValidateAll added in v0.10.0

ValidateAll checks the field values on ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractorMultiError, or nil if none found.

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractorMultiError added in v0.10.0

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractorMultiError []error

ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractorMultiError is an error wrapping multiple validation errors returned by ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor.ValidateAll() if the designated constraints aren't met.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractorMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractorMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractorValidationError added in v0.8.1

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

ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractorValidationError is the validation error returned by ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor.Validate if the designated constraints aren't met.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractorValidationError) Cause added in v0.8.1

Cause function returns cause value.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractorValidationError) Error added in v0.8.1

Error satisfies the builtin error interface

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractorValidationError) ErrorName added in v0.8.1

ErrorName returns error name.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractorValidationError) Field added in v0.8.1

Field function returns field value.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractorValidationError) Key added in v0.8.1

Key function returns key value.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractorValidationError) Reason added in v0.8.1

Reason function returns reason value.

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_ added in v0.8.1

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_ struct {
	// Specifies how a header field's value should be extracted.
	HeaderValueExtractor *ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor `protobuf:"bytes,1,opt,name=header_value_extractor,json=headerValueExtractor,proto3,oneof"`
}

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_Element added in v0.8.1

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_Element struct {
	// Specifies the key value pair to extract the value from.
	Element *ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement `protobuf:"bytes,4,opt,name=element,proto3,oneof"`
}

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_Index added in v0.8.1

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_Index struct {
	// Specifies the zero based index of the element to extract.
	// Note Envoy concatenates multiple values of the same header key into a comma separated
	// string, the splitting always happens after the concatenation.
	Index uint32 `protobuf:"varint,3,opt,name=index,proto3,oneof"`
}

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement added in v0.8.1

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement struct {

	// The separator between key and value (e.g., '=' separates 'k=v;...').
	// If an element is an empty string, the element is ignored.
	// If an element contains no separator, the whole element is parsed as key and the
	// fragment value is an empty string.
	// If there are multiple values for a matched key, the first value is returned.
	Separator string `protobuf:"bytes,1,opt,name=separator,proto3" json:"separator,omitempty"`
	// The key to match on.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

Specifies a header field's key value pair to match on.

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement) Descriptor deprecated added in v0.8.1

Deprecated: Use ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement.ProtoReflect.Descriptor instead.

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement) GetKey added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement) GetSeparator added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement) ProtoMessage added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement) ProtoReflect added in v0.9.6

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement) Reset added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement) String added in v0.8.1

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement) Validate added in v0.8.1

Validate checks the field values on ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement) ValidateAll added in v0.10.0

ValidateAll checks the field values on ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElementMultiError, or nil if none found.

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElementMultiError added in v0.10.0

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElementMultiError []error

ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElementMultiError is an error wrapping multiple validation errors returned by ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement.ValidateAll() if the designated constraints aren't met.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElementMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElementMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

type ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElementValidationError added in v0.8.1

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

ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElementValidationError is the validation error returned by ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElement.Validate if the designated constraints aren't met.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElementValidationError) Cause added in v0.8.1

Cause function returns cause value.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElementValidationError) Error added in v0.8.1

Error satisfies the builtin error interface

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElementValidationError) ErrorName added in v0.8.1

ErrorName returns error name.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElementValidationError) Field added in v0.8.1

Field function returns field value.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElementValidationError) Key added in v0.8.1

Key function returns key value.

func (ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor_KvElementValidationError) Reason added in v0.8.1

Reason function returns reason value.

type ScopedRoutes_ScopedRds added in v0.8.1

type ScopedRoutes_ScopedRds struct {
	// The set of routing scopes associated with the HCM will be dynamically loaded via the SRDS
	// API. A scope is assigned to a request by matching a key constructed from the request's
	// attributes according to the algorithm specified by the
	// :ref:`ScopeKeyBuilder<envoy_api_msg_config.filter.network.http_connection_manager.v2.ScopedRoutes.ScopeKeyBuilder>`
	// in this message.
	ScopedRds *ScopedRds `protobuf:"bytes,5,opt,name=scoped_rds,json=scopedRds,proto3,oneof"`
}

type ScopedRoutes_ScopedRouteConfigurationsList added in v0.8.1

type ScopedRoutes_ScopedRouteConfigurationsList struct {
	// The set of routing scopes corresponding to the HCM. A scope is assigned to a request by
	// matching a key constructed from the request's attributes according to the algorithm specified
	// by the
	// :ref:`ScopeKeyBuilder<envoy_api_msg_config.filter.network.http_connection_manager.v2.ScopedRoutes.ScopeKeyBuilder>`
	// in this message.
	ScopedRouteConfigurationsList *ScopedRouteConfigurationsList `protobuf:"bytes,4,opt,name=scoped_route_configurations_list,json=scopedRouteConfigurationsList,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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