hcm

package
v1.15.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 24 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

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

Enum value maps for HttpConnectionManagerSettings_ForwardClientCertDetails.

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

Enum value maps for HttpConnectionManagerSettings_ServerHeaderTransformation.

View Source
var (
	HttpConnectionManagerSettings_HeadersWithUnderscoreAction_name = map[int32]string{
		0: "ALLOW",
		1: "REJECT_CLIENT_REQUEST",
		2: "DROP_HEADER",
	}
	HttpConnectionManagerSettings_HeadersWithUnderscoreAction_value = map[string]int32{
		"ALLOW":                 0,
		"REJECT_CLIENT_REQUEST": 1,
		"DROP_HEADER":           2,
	}
)

Enum value maps for HttpConnectionManagerSettings_HeadersWithUnderscoreAction.

View Source
var (
	HttpConnectionManagerSettings_PathWithEscapedSlashesAction_name = map[int32]string{
		0: "IMPLEMENTATION_SPECIFIC_DEFAULT",
		1: "KEEP_UNCHANGED",
		2: "REJECT_REQUEST",
		3: "UNESCAPE_AND_REDIRECT",
		4: "UNESCAPE_AND_FORWARD",
	}
	HttpConnectionManagerSettings_PathWithEscapedSlashesAction_value = map[string]int32{
		"IMPLEMENTATION_SPECIFIC_DEFAULT": 0,
		"KEEP_UNCHANGED":                  1,
		"REJECT_REQUEST":                  2,
		"UNESCAPE_AND_REDIRECT":           3,
		"UNESCAPE_AND_FORWARD":            4,
	}
)

Enum value maps for HttpConnectionManagerSettings_PathWithEscapedSlashesAction.

View Source
var (
	HttpConnectionManagerSettings_CodecType_name = map[int32]string{
		0: "AUTO",
		1: "HTTP1",
		2: "HTTP2",
	}
	HttpConnectionManagerSettings_CodecType_value = map[string]int32{
		"AUTO":  0,
		"HTTP1": 1,
		"HTTP2": 2,
	}
)

Enum value maps for HttpConnectionManagerSettings_CodecType.

View Source
var File_github_com_solo_io_gloo_projects_gloo_api_v1_options_hcm_hcm_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HttpConnectionManagerSettings

type HttpConnectionManagerSettings struct {
	SkipXffAppend       *wrappers.BoolValue   `protobuf:"bytes,1,opt,name=skip_xff_append,json=skipXffAppend,proto3" json:"skip_xff_append,omitempty"`
	Via                 *wrappers.StringValue `protobuf:"bytes,2,opt,name=via,proto3" json:"via,omitempty"`
	XffNumTrustedHops   *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=xff_num_trusted_hops,json=xffNumTrustedHops,proto3" json:"xff_num_trusted_hops,omitempty"`
	UseRemoteAddress    *wrappers.BoolValue   `protobuf:"bytes,4,opt,name=use_remote_address,json=useRemoteAddress,proto3" json:"use_remote_address,omitempty"`
	GenerateRequestId   *wrappers.BoolValue   `protobuf:"bytes,5,opt,name=generate_request_id,json=generateRequestId,proto3" json:"generate_request_id,omitempty"`
	Proxy_100Continue   *wrappers.BoolValue   `protobuf:"bytes,6,opt,name=proxy_100_continue,json=proxy100Continue,proto3" json:"proxy_100_continue,omitempty"`
	StreamIdleTimeout   *duration.Duration    `protobuf:"bytes,7,opt,name=stream_idle_timeout,json=streamIdleTimeout,proto3" json:"stream_idle_timeout,omitempty"`
	IdleTimeout         *duration.Duration    `protobuf:"bytes,8,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
	MaxRequestHeadersKb *wrappers.UInt32Value `protobuf:"bytes,9,opt,name=max_request_headers_kb,json=maxRequestHeadersKb,proto3" json:"max_request_headers_kb,omitempty"`
	RequestTimeout      *duration.Duration    `protobuf:"bytes,10,opt,name=request_timeout,json=requestTimeout,proto3" json:"request_timeout,omitempty"`
	// The amount of time that Envoy will wait for the request headers to be received. The timer is
	// activated when the first byte of the headers is received, and is disarmed when the last byte of
	// the headers has been received. If not specified or set to 0, this timeout is disabled.
	RequestHeadersTimeout *duration.Duration    `` /* 127-byte string literal not displayed */
	DrainTimeout          *duration.Duration    `protobuf:"bytes,12,opt,name=drain_timeout,json=drainTimeout,proto3" json:"drain_timeout,omitempty"`
	DelayedCloseTimeout   *duration.Duration    `protobuf:"bytes,13,opt,name=delayed_close_timeout,json=delayedCloseTimeout,proto3" json:"delayed_close_timeout,omitempty"`
	ServerName            *wrappers.StringValue `protobuf:"bytes,14,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
	StripAnyHostPort      *wrappers.BoolValue   `protobuf:"bytes,36,opt,name=strip_any_host_port,json=stripAnyHostPort,proto3" json:"strip_any_host_port,omitempty"`
	// For explanation of these settings see: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/protocol.proto#envoy-api-msg-core-http1protocoloptions
	AcceptHttp_10         *wrappers.BoolValue   `protobuf:"bytes,15,opt,name=accept_http_10,json=acceptHttp10,proto3" json:"accept_http_10,omitempty"`
	DefaultHostForHttp_10 *wrappers.StringValue `` /* 128-byte string literal not displayed */
	// For an explanation of these settings, see: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/protocol.proto#config-core-v3-http1protocoloptions
	AllowChunkedLength *wrappers.BoolValue `protobuf:"bytes,34,opt,name=allow_chunked_length,json=allowChunkedLength,proto3" json:"allow_chunked_length,omitempty"`
	EnableTrailers     *wrappers.BoolValue `protobuf:"bytes,35,opt,name=enable_trailers,json=enableTrailers,proto3" json:"enable_trailers,omitempty"`
	// Types that are assignable to HeaderFormat:
	//
	//	*HttpConnectionManagerSettings_ProperCaseHeaderKeyFormat
	//	*HttpConnectionManagerSettings_PreserveCaseHeaderKeyFormat
	HeaderFormat                isHttpConnectionManagerSettings_HeaderFormat               `protobuf_oneof:"header_format"`
	Tracing                     *tracing.ListenerTracingSettings                           `protobuf:"bytes,17,opt,name=tracing,proto3" json:"tracing,omitempty"`
	ForwardClientCertDetails    HttpConnectionManagerSettings_ForwardClientCertDetails     `` /* 224-byte string literal not displayed */
	SetCurrentClientCertDetails *HttpConnectionManagerSettings_SetCurrentClientCertDetails `` /* 149-byte string literal not displayed */
	PreserveExternalRequestId   *wrappers.BoolValue                                        `` /* 141-byte string literal not displayed */
	// HttpConnectionManager configuration for protocol upgrade requests.
	// Note: WebSocket upgrades are enabled by default on the HTTP Connection Manager and must be explicitly disabled.
	Upgrades []*protocol_upgrade.ProtocolUpgradeConfig `protobuf:"bytes,21,rep,name=upgrades,proto3" json:"upgrades,omitempty"`
	// For an explanation of these settings see https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/protocol.proto#config-core-v3-httpprotocoloptions
	MaxConnectionDuration *duration.Duration `` /* 127-byte string literal not displayed */
	// For an explanation of these settings see https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/protocol.proto#config-core-v3-httpprotocoloptions
	MaxStreamDuration *duration.Duration `protobuf:"bytes,24,opt,name=max_stream_duration,json=maxStreamDuration,proto3" json:"max_stream_duration,omitempty"`
	// For an explanation of these settings see https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/protocol.proto#config-core-v3-httpprotocoloptions
	MaxHeadersCount *wrappers.UInt32Value `protobuf:"bytes,27,opt,name=max_headers_count,json=maxHeadersCount,proto3" json:"max_headers_count,omitempty"`
	// For an explanation of these settings see https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/protocol.proto#config-core-v3-httpprotocoloptions
	HeadersWithUnderscoresAction HttpConnectionManagerSettings_HeadersWithUnderscoreAction `` /* 239-byte string literal not displayed */
	// For an explanation of these settings see https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/protocol.proto#config-core-v3-httpprotocoloptions
	MaxRequestsPerConnection *wrappers.UInt32Value `` /* 138-byte string literal not displayed */
	// For an explanation of the settings see: https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto.html#envoy-v3-api-enum-extensions-filters-network-http-connection-manager-v3-httpconnectionmanager-serverheadertransformation
	ServerHeaderTransformation HttpConnectionManagerSettings_ServerHeaderTransformation `` /* 230-byte string literal not displayed */
	// Action to take when request URL path contains escaped slash sequences (%2F, %2f, %5C and %5c).
	// The default value can be overridden by the :ref:`http_connection_manager.path_with_escaped_slashes_action<config_http_conn_man_runtime_path_with_escaped_slashes_action>`
	// runtime variable.
	// The :ref:`http_connection_manager.path_with_escaped_slashes_action_sampling<config_http_conn_man_runtime_path_with_escaped_slashes_action_enabled>` runtime
	// variable can be used to apply the action to a portion of all requests.
	PathWithEscapedSlashesAction HttpConnectionManagerSettings_PathWithEscapedSlashesAction `` /* 242-byte string literal not displayed */
	// Supplies the type of codec that the connection manager should use.
	// See here for more information: https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto#extensions-filters-network-http-connection-manager-v3-httpconnectionmanager
	CodecType HttpConnectionManagerSettings_CodecType `` /* 160-byte string literal not displayed */
	// Determines if adjacent slashes in the path are merged into one before any processing of requests by HTTP filters or routing.
	// See here for more information: https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto
	MergeSlashes *wrappers.BoolValue `protobuf:"bytes,29,opt,name=merge_slashes,json=mergeSlashes,proto3" json:"merge_slashes,omitempty"`
	// Should paths be normalized according to RFC 3986 before any processing of requests by HTTP filters or routing? Defaults to True.
	// See here for more information: https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto
	NormalizePath       *wrappers.BoolValue                                        `protobuf:"bytes,30,opt,name=normalize_path,json=normalizePath,proto3" json:"normalize_path,omitempty"`
	UuidRequestIdConfig *HttpConnectionManagerSettings_UuidRequestIdConfigSettings `protobuf:"bytes,37,opt,name=uuid_request_id_config,json=uuidRequestIdConfig,proto3" json:"uuid_request_id_config,omitempty"`
	// Additional HTTP/2 settings that are passed directly to the HTTP/2 codec.
	Http2ProtocolOptions *protocol.Http2ProtocolOptions `protobuf:"bytes,39,opt,name=http2_protocol_options,json=http2ProtocolOptions,proto3" json:"http2_protocol_options,omitempty"`
	// Configuration of internal addresses
	InternalAddressConfig *HttpConnectionManagerSettings_InternalAddressConfig `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

Contains various settings for Envoy's http connection manager. See here for more information: https://www.envoyproxy.io/docs/envoy/v1.9.0/configuration/http_conn_man/http_conn_man Now contains v3 fields as well v3 documents https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto#extensions-filters-network-http-connection-manager-v3-httpconnectionmanager

func (*HttpConnectionManagerSettings) Clone added in v1.8.24

Clone function

func (*HttpConnectionManagerSettings) Descriptor deprecated

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

Deprecated: Use HttpConnectionManagerSettings.ProtoReflect.Descriptor instead.

func (*HttpConnectionManagerSettings) Equal

func (m *HttpConnectionManagerSettings) Equal(that interface{}) bool

Equal function

func (*HttpConnectionManagerSettings) GetAcceptHttp_10

func (x *HttpConnectionManagerSettings) GetAcceptHttp_10() *wrappers.BoolValue

func (*HttpConnectionManagerSettings) GetAllowChunkedLength added in v1.9.25

func (x *HttpConnectionManagerSettings) GetAllowChunkedLength() *wrappers.BoolValue

func (*HttpConnectionManagerSettings) GetCodecType added in v1.9.25

func (*HttpConnectionManagerSettings) GetDefaultHostForHttp_10

func (x *HttpConnectionManagerSettings) GetDefaultHostForHttp_10() *wrappers.StringValue

func (*HttpConnectionManagerSettings) GetDelayedCloseTimeout

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

func (*HttpConnectionManagerSettings) GetDrainTimeout

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

func (*HttpConnectionManagerSettings) GetEnableTrailers added in v1.9.25

func (x *HttpConnectionManagerSettings) GetEnableTrailers() *wrappers.BoolValue

func (*HttpConnectionManagerSettings) GetForwardClientCertDetails

func (*HttpConnectionManagerSettings) GetGenerateRequestId

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

func (*HttpConnectionManagerSettings) GetHeaderFormat added in v1.9.25

func (m *HttpConnectionManagerSettings) GetHeaderFormat() isHttpConnectionManagerSettings_HeaderFormat

func (*HttpConnectionManagerSettings) GetHeadersWithUnderscoresAction added in v1.9.25

func (*HttpConnectionManagerSettings) GetHttp2ProtocolOptions added in v1.9.25

func (x *HttpConnectionManagerSettings) GetHttp2ProtocolOptions() *protocol.Http2ProtocolOptions

func (*HttpConnectionManagerSettings) GetIdleTimeout

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

func (*HttpConnectionManagerSettings) GetInternalAddressConfig added in v1.12.22

func (*HttpConnectionManagerSettings) GetMaxConnectionDuration added in v1.5.1

func (x *HttpConnectionManagerSettings) GetMaxConnectionDuration() *duration.Duration

func (*HttpConnectionManagerSettings) GetMaxHeadersCount added in v1.9.25

func (x *HttpConnectionManagerSettings) GetMaxHeadersCount() *wrappers.UInt32Value

func (*HttpConnectionManagerSettings) GetMaxRequestHeadersKb

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

func (*HttpConnectionManagerSettings) GetMaxRequestsPerConnection added in v1.9.25

func (x *HttpConnectionManagerSettings) GetMaxRequestsPerConnection() *wrappers.UInt32Value

func (*HttpConnectionManagerSettings) GetMaxStreamDuration added in v1.5.1

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

func (*HttpConnectionManagerSettings) GetMergeSlashes added in v1.9.25

func (x *HttpConnectionManagerSettings) GetMergeSlashes() *wrappers.BoolValue

func (*HttpConnectionManagerSettings) GetNormalizePath added in v1.9.25

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

func (*HttpConnectionManagerSettings) GetPathWithEscapedSlashesAction added in v1.6.26

func (*HttpConnectionManagerSettings) GetPreserveCaseHeaderKeyFormat added in v1.9.25

func (x *HttpConnectionManagerSettings) GetPreserveCaseHeaderKeyFormat() *wrappers.BoolValue

func (*HttpConnectionManagerSettings) GetPreserveExternalRequestId added in v1.2.8

func (x *HttpConnectionManagerSettings) GetPreserveExternalRequestId() *wrappers.BoolValue

func (*HttpConnectionManagerSettings) GetProperCaseHeaderKeyFormat added in v1.3.28

func (x *HttpConnectionManagerSettings) GetProperCaseHeaderKeyFormat() *wrappers.BoolValue

func (*HttpConnectionManagerSettings) GetProxy_100Continue

func (x *HttpConnectionManagerSettings) GetProxy_100Continue() *wrappers.BoolValue

func (*HttpConnectionManagerSettings) GetRequestHeadersTimeout added in v1.9.25

func (x *HttpConnectionManagerSettings) GetRequestHeadersTimeout() *duration.Duration

func (*HttpConnectionManagerSettings) GetRequestTimeout

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

func (*HttpConnectionManagerSettings) GetServerHeaderTransformation added in v1.5.9

func (*HttpConnectionManagerSettings) GetServerName

func (*HttpConnectionManagerSettings) GetSetCurrentClientCertDetails

func (*HttpConnectionManagerSettings) GetSkipXffAppend

func (x *HttpConnectionManagerSettings) GetSkipXffAppend() *wrappers.BoolValue

func (*HttpConnectionManagerSettings) GetStreamIdleTimeout

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

func (*HttpConnectionManagerSettings) GetStripAnyHostPort added in v1.9.25

func (x *HttpConnectionManagerSettings) GetStripAnyHostPort() *wrappers.BoolValue

func (*HttpConnectionManagerSettings) GetTracing

func (*HttpConnectionManagerSettings) GetUpgrades added in v1.2.10

func (*HttpConnectionManagerSettings) GetUseRemoteAddress

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

func (*HttpConnectionManagerSettings) GetUuidRequestIdConfig added in v1.9.25

func (*HttpConnectionManagerSettings) GetVia

func (*HttpConnectionManagerSettings) GetXffNumTrustedHops

func (x *HttpConnectionManagerSettings) GetXffNumTrustedHops() *wrappers.UInt32Value

func (*HttpConnectionManagerSettings) Hash added in v1.2.13

Hash function

func (*HttpConnectionManagerSettings) ProtoMessage

func (*HttpConnectionManagerSettings) ProtoMessage()

func (*HttpConnectionManagerSettings) ProtoReflect added in v1.6.0

func (*HttpConnectionManagerSettings) Reset

func (x *HttpConnectionManagerSettings) Reset()

func (*HttpConnectionManagerSettings) String

type HttpConnectionManagerSettings_CidrRange added in v1.12.22

type HttpConnectionManagerSettings_CidrRange struct {

	// IPv4 or IPv6 address
	AddressPrefix string `protobuf:"bytes,1,opt,name=address_prefix,json=addressPrefix,proto3" json:"address_prefix,omitempty"`
	// Length of prefix in bits
	PrefixLen *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=prefix_len,json=prefixLen,proto3" json:"prefix_len,omitempty"`
	// contains filtered or unexported fields
}

Subnet mask for CIDR ranges

func (*HttpConnectionManagerSettings_CidrRange) Clone added in v1.12.22

Clone function

func (*HttpConnectionManagerSettings_CidrRange) Descriptor deprecated added in v1.12.22

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

Deprecated: Use HttpConnectionManagerSettings_CidrRange.ProtoReflect.Descriptor instead.

func (*HttpConnectionManagerSettings_CidrRange) Equal added in v1.12.22

func (m *HttpConnectionManagerSettings_CidrRange) Equal(that interface{}) bool

Equal function

func (*HttpConnectionManagerSettings_CidrRange) GetAddressPrefix added in v1.12.22

func (x *HttpConnectionManagerSettings_CidrRange) GetAddressPrefix() string

func (*HttpConnectionManagerSettings_CidrRange) GetPrefixLen added in v1.12.22

func (*HttpConnectionManagerSettings_CidrRange) Hash added in v1.12.22

Hash function

func (*HttpConnectionManagerSettings_CidrRange) ProtoMessage added in v1.12.22

func (*HttpConnectionManagerSettings_CidrRange) ProtoReflect added in v1.12.22

func (*HttpConnectionManagerSettings_CidrRange) Reset added in v1.12.22

func (*HttpConnectionManagerSettings_CidrRange) String added in v1.12.22

type HttpConnectionManagerSettings_CodecType added in v1.9.25

type HttpConnectionManagerSettings_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.
	HttpConnectionManagerSettings_AUTO HttpConnectionManagerSettings_CodecType = 0
	// The connection manager will assume that the client is speaking HTTP/1.1.
	HttpConnectionManagerSettings_HTTP1 HttpConnectionManagerSettings_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).
	HttpConnectionManagerSettings_HTTP2 HttpConnectionManagerSettings_CodecType = 2
)

func (HttpConnectionManagerSettings_CodecType) Descriptor added in v1.9.25

func (HttpConnectionManagerSettings_CodecType) Enum added in v1.9.25

func (HttpConnectionManagerSettings_CodecType) EnumDescriptor deprecated added in v1.9.25

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

Deprecated: Use HttpConnectionManagerSettings_CodecType.Descriptor instead.

func (HttpConnectionManagerSettings_CodecType) Number added in v1.9.25

func (HttpConnectionManagerSettings_CodecType) String added in v1.9.25

func (HttpConnectionManagerSettings_CodecType) Type added in v1.9.25

type HttpConnectionManagerSettings_ForwardClientCertDetails

type HttpConnectionManagerSettings_ForwardClientCertDetails int32
const (
	HttpConnectionManagerSettings_SANITIZE            HttpConnectionManagerSettings_ForwardClientCertDetails = 0
	HttpConnectionManagerSettings_FORWARD_ONLY        HttpConnectionManagerSettings_ForwardClientCertDetails = 1
	HttpConnectionManagerSettings_APPEND_FORWARD      HttpConnectionManagerSettings_ForwardClientCertDetails = 2
	HttpConnectionManagerSettings_SANITIZE_SET        HttpConnectionManagerSettings_ForwardClientCertDetails = 3
	HttpConnectionManagerSettings_ALWAYS_FORWARD_ONLY HttpConnectionManagerSettings_ForwardClientCertDetails = 4
)

func (HttpConnectionManagerSettings_ForwardClientCertDetails) Descriptor added in v1.6.0

func (HttpConnectionManagerSettings_ForwardClientCertDetails) Enum added in v1.6.0

func (HttpConnectionManagerSettings_ForwardClientCertDetails) EnumDescriptor deprecated

Deprecated: Use HttpConnectionManagerSettings_ForwardClientCertDetails.Descriptor instead.

func (HttpConnectionManagerSettings_ForwardClientCertDetails) Number added in v1.6.0

func (HttpConnectionManagerSettings_ForwardClientCertDetails) String

func (HttpConnectionManagerSettings_ForwardClientCertDetails) Type added in v1.6.0

type HttpConnectionManagerSettings_HeadersWithUnderscoreAction added in v1.9.25

type HttpConnectionManagerSettings_HeadersWithUnderscoreAction int32

Action to take when Envoy receives client request with header names containing underscore characters. Underscore character is allowed in header names by the RFC-7230 and this behavior is implemented as a security measure due to systems that treat ‘_’ and ‘-‘ as interchangeable. Envoy by default allows client request headers with underscore characters.

const (
	// ⁣Allow headers with underscores. This is the default behavior.
	HttpConnectionManagerSettings_ALLOW HttpConnectionManagerSettings_HeadersWithUnderscoreAction = 0
	// ⁣Reject client request. HTTP/1 requests are rejected with the 400 status. HTTP/2 requests end with the stream reset.
	// The “httpN.requests_rejected_with_underscores_in_headers” counter is incremented for each rejected request.
	HttpConnectionManagerSettings_REJECT_CLIENT_REQUEST HttpConnectionManagerSettings_HeadersWithUnderscoreAction = 1
	// ⁣Drop the client header with name containing underscores. The header is dropped before the filter chain is invoked
	// and as such filters will not see dropped headers. The “httpN.dropped_headers_with_underscores” is incremented for each dropped header.
	HttpConnectionManagerSettings_DROP_HEADER HttpConnectionManagerSettings_HeadersWithUnderscoreAction = 2
)

func (HttpConnectionManagerSettings_HeadersWithUnderscoreAction) Descriptor added in v1.9.25

func (HttpConnectionManagerSettings_HeadersWithUnderscoreAction) Enum added in v1.9.25

func (HttpConnectionManagerSettings_HeadersWithUnderscoreAction) EnumDescriptor deprecated added in v1.9.25

Deprecated: Use HttpConnectionManagerSettings_HeadersWithUnderscoreAction.Descriptor instead.

func (HttpConnectionManagerSettings_HeadersWithUnderscoreAction) Number added in v1.9.25

func (HttpConnectionManagerSettings_HeadersWithUnderscoreAction) String added in v1.9.25

func (HttpConnectionManagerSettings_HeadersWithUnderscoreAction) Type added in v1.9.25

type HttpConnectionManagerSettings_InternalAddressConfig added in v1.12.22

type HttpConnectionManagerSettings_InternalAddressConfig struct {

	// Whether unix socket addresses should be considered internal
	UnixSockets *wrappers.BoolValue `protobuf:"bytes,1,opt,name=unix_sockets,json=unixSockets,proto3" json:"unix_sockets,omitempty"`
	// List of CIDR ranges that are treated as internal
	CidrRanges []*HttpConnectionManagerSettings_CidrRange `protobuf:"bytes,2,rep,name=cidr_ranges,json=cidrRanges,proto3" json:"cidr_ranges,omitempty"`
	// contains filtered or unexported fields
}

Manages Envoy's internal address configuration

func (*HttpConnectionManagerSettings_InternalAddressConfig) Clone added in v1.12.22

Clone function

func (*HttpConnectionManagerSettings_InternalAddressConfig) Descriptor deprecated added in v1.12.22

Deprecated: Use HttpConnectionManagerSettings_InternalAddressConfig.ProtoReflect.Descriptor instead.

func (*HttpConnectionManagerSettings_InternalAddressConfig) Equal added in v1.12.22

func (m *HttpConnectionManagerSettings_InternalAddressConfig) Equal(that interface{}) bool

Equal function

func (*HttpConnectionManagerSettings_InternalAddressConfig) GetCidrRanges added in v1.12.22

func (*HttpConnectionManagerSettings_InternalAddressConfig) GetUnixSockets added in v1.12.22

func (*HttpConnectionManagerSettings_InternalAddressConfig) Hash added in v1.12.22

Hash function

func (*HttpConnectionManagerSettings_InternalAddressConfig) ProtoMessage added in v1.12.22

func (*HttpConnectionManagerSettings_InternalAddressConfig) ProtoReflect added in v1.12.22

func (*HttpConnectionManagerSettings_InternalAddressConfig) Reset added in v1.12.22

func (*HttpConnectionManagerSettings_InternalAddressConfig) String added in v1.12.22

type HttpConnectionManagerSettings_PathWithEscapedSlashesAction added in v1.6.26

type HttpConnectionManagerSettings_PathWithEscapedSlashesAction int32

Determines the action for request that contain %2F, %2f, %5C or %5c sequences in the URI path. This operation occurs before URL normalization and the merge slashes transformations if they were enabled.

const (
	// Default behavior specific to implementation (i.e. Envoy) of this configuration option.
	// Envoy, by default, takes the KEEP_UNCHANGED action.
	// NOTE: the implementation may change the default behavior at-will.
	HttpConnectionManagerSettings_IMPLEMENTATION_SPECIFIC_DEFAULT HttpConnectionManagerSettings_PathWithEscapedSlashesAction = 0
	// Keep escaped slashes.
	HttpConnectionManagerSettings_KEEP_UNCHANGED HttpConnectionManagerSettings_PathWithEscapedSlashesAction = 1
	// Reject client request with the 400 status. gRPC requests will be rejected with the INTERNAL (13) error code.
	// The "httpN.downstream_rq_failed_path_normalization" counter is incremented for each rejected request.
	HttpConnectionManagerSettings_REJECT_REQUEST HttpConnectionManagerSettings_PathWithEscapedSlashesAction = 2
	// Unescape %2F and %5C sequences and redirect request to the new path if these sequences were present.
	// Redirect occurs after path normalization and merge slashes transformations if they were configured.
	// NOTE: gRPC requests will be rejected with the INTERNAL (13) error code.
	// This option minimizes possibility of path confusion exploits by forcing request with unescaped slashes to
	// traverse all parties: downstream client, intermediate proxies, Envoy and upstream server.
	// The "httpN.downstream_rq_redirected_with_normalized_path" counter is incremented for each
	// redirected request.
	HttpConnectionManagerSettings_UNESCAPE_AND_REDIRECT HttpConnectionManagerSettings_PathWithEscapedSlashesAction = 3
	// Unescape %2F and %5C sequences.
	// Note: this option should not be enabled if intermediaries perform path based access control as
	// it may lead to path confusion vulnerabilities.
	HttpConnectionManagerSettings_UNESCAPE_AND_FORWARD HttpConnectionManagerSettings_PathWithEscapedSlashesAction = 4
)

func (HttpConnectionManagerSettings_PathWithEscapedSlashesAction) Descriptor added in v1.6.26

func (HttpConnectionManagerSettings_PathWithEscapedSlashesAction) Enum added in v1.6.26

func (HttpConnectionManagerSettings_PathWithEscapedSlashesAction) EnumDescriptor deprecated added in v1.6.26

Deprecated: Use HttpConnectionManagerSettings_PathWithEscapedSlashesAction.Descriptor instead.

func (HttpConnectionManagerSettings_PathWithEscapedSlashesAction) Number added in v1.6.26

func (HttpConnectionManagerSettings_PathWithEscapedSlashesAction) String added in v1.6.26

func (HttpConnectionManagerSettings_PathWithEscapedSlashesAction) Type added in v1.6.26

type HttpConnectionManagerSettings_PreserveCaseHeaderKeyFormat added in v1.9.25

type HttpConnectionManagerSettings_PreserveCaseHeaderKeyFormat struct {
	// Generates configuration for a stateful formatter extension that allows using received headers to
	// affect the output of encoding headers. Specifically: preserving REQUEST HEADER case during proxying.
	PreserveCaseHeaderKeyFormat *wrappers.BoolValue `protobuf:"bytes,31,opt,name=preserve_case_header_key_format,json=preserveCaseHeaderKeyFormat,proto3,oneof"`
}

type HttpConnectionManagerSettings_ProperCaseHeaderKeyFormat added in v1.9.25

type HttpConnectionManagerSettings_ProperCaseHeaderKeyFormat struct {
	// Formats the REQUEST HEADER by proper casing words: the first character and any character following
	// a special character will be capitalized if it's an alpha character. For example,
	// "content-type" becomes "Content-Type", and "foo$b#$are" becomes "Foo$B#$Are".
	// Note that while this results in most headers following conventional casing, certain headers
	// are not covered. For example, the "TE" header will be formatted as "Te".
	ProperCaseHeaderKeyFormat *wrappers.BoolValue `protobuf:"bytes,22,opt,name=proper_case_header_key_format,json=properCaseHeaderKeyFormat,proto3,oneof"`
}

type HttpConnectionManagerSettings_ServerHeaderTransformation added in v1.5.9

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

func (HttpConnectionManagerSettings_ServerHeaderTransformation) Descriptor added in v1.6.0

func (HttpConnectionManagerSettings_ServerHeaderTransformation) Enum added in v1.6.0

func (HttpConnectionManagerSettings_ServerHeaderTransformation) EnumDescriptor deprecated added in v1.5.9

Deprecated: Use HttpConnectionManagerSettings_ServerHeaderTransformation.Descriptor instead.

func (HttpConnectionManagerSettings_ServerHeaderTransformation) Number added in v1.6.0

func (HttpConnectionManagerSettings_ServerHeaderTransformation) String added in v1.5.9

func (HttpConnectionManagerSettings_ServerHeaderTransformation) Type added in v1.6.0

type HttpConnectionManagerSettings_SetCurrentClientCertDetails

type HttpConnectionManagerSettings_SetCurrentClientCertDetails struct {
	Subject *wrappers.BoolValue `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Cert    *wrappers.BoolValue `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"`
	Chain   *wrappers.BoolValue `protobuf:"bytes,3,opt,name=chain,proto3" json:"chain,omitempty"`
	Dns     *wrappers.BoolValue `protobuf:"bytes,4,opt,name=dns,proto3" json:"dns,omitempty"`
	Uri     *wrappers.BoolValue `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) Clone added in v1.8.24

Clone function

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) Descriptor deprecated

Deprecated: Use HttpConnectionManagerSettings_SetCurrentClientCertDetails.ProtoReflect.Descriptor instead.

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) Equal

Equal function

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetCert

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetChain

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetDns

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetSubject

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetUri

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) Hash added in v1.2.13

Hash function

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) ProtoMessage

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) ProtoReflect added in v1.6.0

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) Reset

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) String

type HttpConnectionManagerSettings_UuidRequestIdConfigSettings added in v1.9.25

type HttpConnectionManagerSettings_UuidRequestIdConfigSettings struct {

	// Whether the implementation alters the UUID to contain the trace sampling decision as per the
	// `UuidRequestIdConfig` message documentation. This defaults to true. If disabled no
	// modification to the UUID will be performed. It is important to note that if disabled,
	// stable sampling of traces, access logs, etc. will no longer work and only random sampling will
	// be possible.
	PackTraceReason *wrappers.BoolValue `protobuf:"bytes,1,opt,name=pack_trace_reason,json=packTraceReason,proto3" json:"pack_trace_reason,omitempty"`
	// Set whether to use :ref:`x-request-id<config_http_conn_man_headers_x-request-id>` for sampling or not.
	// This defaults to true. See the :ref:`context propagation <arch_overview_tracing_context_propagation>`
	// overview for more information.
	UseRequestIdForTraceSampling *wrappers.BoolValue `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Contains setup for Envoy's UuidRequestIdConfig

func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Clone added in v1.9.25

Clone function

func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Descriptor deprecated added in v1.9.25

Deprecated: Use HttpConnectionManagerSettings_UuidRequestIdConfigSettings.ProtoReflect.Descriptor instead.

func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Equal added in v1.9.25

Equal function

func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) GetPackTraceReason added in v1.9.25

func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) GetUseRequestIdForTraceSampling added in v1.9.25

func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Hash added in v1.9.25

Hash function

func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) ProtoMessage added in v1.9.25

func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) ProtoReflect added in v1.9.25

func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Reset added in v1.9.25

func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) String added in v1.9.25

Jump to

Keyboard shortcuts

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