Documentation ¶
Index ¶
- Variables
- type HttpConnectionManagerSettings
- func (m *HttpConnectionManagerSettings) Clone() proto.Message
- func (*HttpConnectionManagerSettings) Descriptor() ([]byte, []int)deprecated
- func (m *HttpConnectionManagerSettings) Equal(that interface{}) bool
- func (x *HttpConnectionManagerSettings) GetAcceptHttp_10() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings) GetAllowChunkedLength() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings) GetAppendXForwardedPort() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings) GetCodecType() HttpConnectionManagerSettings_CodecType
- func (x *HttpConnectionManagerSettings) GetDefaultHostForHttp_10() *wrapperspb.StringValue
- func (x *HttpConnectionManagerSettings) GetDelayedCloseTimeout() *durationpb.Duration
- func (x *HttpConnectionManagerSettings) GetDrainTimeout() *durationpb.Duration
- func (x *HttpConnectionManagerSettings) GetEarlyHeaderManipulation() *headers.EarlyHeaderManipulation
- func (x *HttpConnectionManagerSettings) GetEnableTrailers() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings) GetForwardClientCertDetails() HttpConnectionManagerSettings_ForwardClientCertDetails
- func (x *HttpConnectionManagerSettings) GetGenerateRequestId() *wrapperspb.BoolValue
- func (m *HttpConnectionManagerSettings) GetHeaderFormat() isHttpConnectionManagerSettings_HeaderFormat
- func (x *HttpConnectionManagerSettings) GetHeadersWithUnderscoresAction() HttpConnectionManagerSettings_HeadersWithUnderscoreAction
- func (x *HttpConnectionManagerSettings) GetHttp2ProtocolOptions() *protocol.Http2ProtocolOptions
- func (x *HttpConnectionManagerSettings) GetIdleTimeout() *durationpb.Duration
- func (x *HttpConnectionManagerSettings) GetInternalAddressConfig() *HttpConnectionManagerSettings_InternalAddressConfig
- func (x *HttpConnectionManagerSettings) GetMaxConnectionDuration() *durationpb.Duration
- func (x *HttpConnectionManagerSettings) GetMaxHeadersCount() *wrapperspb.UInt32Value
- func (x *HttpConnectionManagerSettings) GetMaxRequestHeadersKb() *wrapperspb.UInt32Value
- func (x *HttpConnectionManagerSettings) GetMaxRequestsPerConnection() *wrapperspb.UInt32Value
- func (x *HttpConnectionManagerSettings) GetMaxStreamDuration() *durationpb.Duration
- func (x *HttpConnectionManagerSettings) GetMergeSlashes() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings) GetNormalizePath() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings) GetPathWithEscapedSlashesAction() HttpConnectionManagerSettings_PathWithEscapedSlashesAction
- func (x *HttpConnectionManagerSettings) GetPreserveCaseHeaderKeyFormat() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings) GetPreserveExternalRequestId() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings) GetProperCaseHeaderKeyFormat() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings) GetProxy_100Continue() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings) GetRequestHeadersTimeout() *durationpb.Duration
- func (x *HttpConnectionManagerSettings) GetRequestTimeout() *durationpb.Duration
- func (x *HttpConnectionManagerSettings) GetServerHeaderTransformation() HttpConnectionManagerSettings_ServerHeaderTransformation
- func (x *HttpConnectionManagerSettings) GetServerName() *wrapperspb.StringValue
- func (x *HttpConnectionManagerSettings) GetSetCurrentClientCertDetails() *HttpConnectionManagerSettings_SetCurrentClientCertDetails
- func (x *HttpConnectionManagerSettings) GetSkipXffAppend() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings) GetStreamIdleTimeout() *durationpb.Duration
- func (x *HttpConnectionManagerSettings) GetStripAnyHostPort() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings) GetTracing() *tracing.ListenerTracingSettings
- func (x *HttpConnectionManagerSettings) GetUpgrades() []*protocol_upgrade.ProtocolUpgradeConfig
- func (x *HttpConnectionManagerSettings) GetUseRemoteAddress() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings) GetUuidRequestIdConfig() *HttpConnectionManagerSettings_UuidRequestIdConfigSettings
- func (x *HttpConnectionManagerSettings) GetVia() *wrapperspb.StringValue
- func (x *HttpConnectionManagerSettings) GetXffNumTrustedHops() *wrapperspb.UInt32Value
- func (m *HttpConnectionManagerSettings) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *HttpConnectionManagerSettings) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*HttpConnectionManagerSettings) ProtoMessage()
- func (x *HttpConnectionManagerSettings) ProtoReflect() protoreflect.Message
- func (x *HttpConnectionManagerSettings) Reset()
- func (x *HttpConnectionManagerSettings) String() string
- type HttpConnectionManagerSettings_CidrRange
- func (m *HttpConnectionManagerSettings_CidrRange) Clone() proto.Message
- func (*HttpConnectionManagerSettings_CidrRange) Descriptor() ([]byte, []int)deprecated
- func (m *HttpConnectionManagerSettings_CidrRange) Equal(that interface{}) bool
- func (x *HttpConnectionManagerSettings_CidrRange) GetAddressPrefix() string
- func (x *HttpConnectionManagerSettings_CidrRange) GetPrefixLen() *wrapperspb.UInt32Value
- func (m *HttpConnectionManagerSettings_CidrRange) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *HttpConnectionManagerSettings_CidrRange) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*HttpConnectionManagerSettings_CidrRange) ProtoMessage()
- func (x *HttpConnectionManagerSettings_CidrRange) ProtoReflect() protoreflect.Message
- func (x *HttpConnectionManagerSettings_CidrRange) Reset()
- func (x *HttpConnectionManagerSettings_CidrRange) String() string
- type HttpConnectionManagerSettings_CodecType
- func (HttpConnectionManagerSettings_CodecType) Descriptor() protoreflect.EnumDescriptor
- func (x HttpConnectionManagerSettings_CodecType) Enum() *HttpConnectionManagerSettings_CodecType
- func (HttpConnectionManagerSettings_CodecType) EnumDescriptor() ([]byte, []int)deprecated
- func (x HttpConnectionManagerSettings_CodecType) Number() protoreflect.EnumNumber
- func (x HttpConnectionManagerSettings_CodecType) String() string
- func (HttpConnectionManagerSettings_CodecType) Type() protoreflect.EnumType
- type HttpConnectionManagerSettings_ForwardClientCertDetails
- func (HttpConnectionManagerSettings_ForwardClientCertDetails) Descriptor() protoreflect.EnumDescriptor
- func (x HttpConnectionManagerSettings_ForwardClientCertDetails) Enum() *HttpConnectionManagerSettings_ForwardClientCertDetails
- func (HttpConnectionManagerSettings_ForwardClientCertDetails) EnumDescriptor() ([]byte, []int)deprecated
- func (x HttpConnectionManagerSettings_ForwardClientCertDetails) Number() protoreflect.EnumNumber
- func (x HttpConnectionManagerSettings_ForwardClientCertDetails) String() string
- func (HttpConnectionManagerSettings_ForwardClientCertDetails) Type() protoreflect.EnumType
- type HttpConnectionManagerSettings_HeadersWithUnderscoreAction
- func (HttpConnectionManagerSettings_HeadersWithUnderscoreAction) Descriptor() protoreflect.EnumDescriptor
- func (x HttpConnectionManagerSettings_HeadersWithUnderscoreAction) Enum() *HttpConnectionManagerSettings_HeadersWithUnderscoreAction
- func (HttpConnectionManagerSettings_HeadersWithUnderscoreAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x HttpConnectionManagerSettings_HeadersWithUnderscoreAction) Number() protoreflect.EnumNumber
- func (x HttpConnectionManagerSettings_HeadersWithUnderscoreAction) String() string
- func (HttpConnectionManagerSettings_HeadersWithUnderscoreAction) Type() protoreflect.EnumType
- type HttpConnectionManagerSettings_InternalAddressConfig
- func (m *HttpConnectionManagerSettings_InternalAddressConfig) Clone() proto.Message
- func (*HttpConnectionManagerSettings_InternalAddressConfig) Descriptor() ([]byte, []int)deprecated
- func (m *HttpConnectionManagerSettings_InternalAddressConfig) Equal(that interface{}) bool
- func (x *HttpConnectionManagerSettings_InternalAddressConfig) GetCidrRanges() []*HttpConnectionManagerSettings_CidrRange
- func (x *HttpConnectionManagerSettings_InternalAddressConfig) GetUnixSockets() *wrapperspb.BoolValue
- func (m *HttpConnectionManagerSettings_InternalAddressConfig) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *HttpConnectionManagerSettings_InternalAddressConfig) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*HttpConnectionManagerSettings_InternalAddressConfig) ProtoMessage()
- func (x *HttpConnectionManagerSettings_InternalAddressConfig) ProtoReflect() protoreflect.Message
- func (x *HttpConnectionManagerSettings_InternalAddressConfig) Reset()
- func (x *HttpConnectionManagerSettings_InternalAddressConfig) String() string
- type HttpConnectionManagerSettings_PathWithEscapedSlashesAction
- func (HttpConnectionManagerSettings_PathWithEscapedSlashesAction) Descriptor() protoreflect.EnumDescriptor
- func (x HttpConnectionManagerSettings_PathWithEscapedSlashesAction) Enum() *HttpConnectionManagerSettings_PathWithEscapedSlashesAction
- func (HttpConnectionManagerSettings_PathWithEscapedSlashesAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x HttpConnectionManagerSettings_PathWithEscapedSlashesAction) Number() protoreflect.EnumNumber
- func (x HttpConnectionManagerSettings_PathWithEscapedSlashesAction) String() string
- func (HttpConnectionManagerSettings_PathWithEscapedSlashesAction) Type() protoreflect.EnumType
- type HttpConnectionManagerSettings_PreserveCaseHeaderKeyFormat
- type HttpConnectionManagerSettings_ProperCaseHeaderKeyFormat
- type HttpConnectionManagerSettings_ServerHeaderTransformation
- func (HttpConnectionManagerSettings_ServerHeaderTransformation) Descriptor() protoreflect.EnumDescriptor
- func (x HttpConnectionManagerSettings_ServerHeaderTransformation) Enum() *HttpConnectionManagerSettings_ServerHeaderTransformation
- func (HttpConnectionManagerSettings_ServerHeaderTransformation) EnumDescriptor() ([]byte, []int)deprecated
- func (x HttpConnectionManagerSettings_ServerHeaderTransformation) Number() protoreflect.EnumNumber
- func (x HttpConnectionManagerSettings_ServerHeaderTransformation) String() string
- func (HttpConnectionManagerSettings_ServerHeaderTransformation) Type() protoreflect.EnumType
- type HttpConnectionManagerSettings_SetCurrentClientCertDetails
- func (m *HttpConnectionManagerSettings_SetCurrentClientCertDetails) Clone() proto.Message
- func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) Descriptor() ([]byte, []int)deprecated
- func (m *HttpConnectionManagerSettings_SetCurrentClientCertDetails) Equal(that interface{}) bool
- func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetCert() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetChain() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetDns() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetSubject() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetUri() *wrapperspb.BoolValue
- func (m *HttpConnectionManagerSettings_SetCurrentClientCertDetails) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *HttpConnectionManagerSettings_SetCurrentClientCertDetails) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) ProtoMessage()
- func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) ProtoReflect() protoreflect.Message
- func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) Reset()
- func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) String() string
- type HttpConnectionManagerSettings_UuidRequestIdConfigSettings
- func (m *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Clone() proto.Message
- func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Descriptor() ([]byte, []int)deprecated
- func (m *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Equal(that interface{}) bool
- func (x *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) GetPackTraceReason() *wrapperspb.BoolValue
- func (x *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) GetUseRequestIdForTraceSampling() *wrapperspb.BoolValue
- func (m *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) ProtoMessage()
- func (x *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) ProtoReflect() protoreflect.Message
- func (x *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Reset()
- func (x *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) String() string
Constants ¶
This section is empty.
Variables ¶
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.
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.
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.
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.
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.
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 *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=skip_xff_append,json=skipXffAppend,proto3" json:"skip_xff_append,omitempty"` Via *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=via,proto3" json:"via,omitempty"` XffNumTrustedHops *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=xff_num_trusted_hops,json=xffNumTrustedHops,proto3" json:"xff_num_trusted_hops,omitempty"` UseRemoteAddress *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=use_remote_address,json=useRemoteAddress,proto3" json:"use_remote_address,omitempty"` GenerateRequestId *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=generate_request_id,json=generateRequestId,proto3" json:"generate_request_id,omitempty"` Proxy_100Continue *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=proxy_100_continue,json=proxy100Continue,proto3" json:"proxy_100_continue,omitempty"` StreamIdleTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=stream_idle_timeout,json=streamIdleTimeout,proto3" json:"stream_idle_timeout,omitempty"` IdleTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"` MaxRequestHeadersKb *wrapperspb.UInt32Value `protobuf:"bytes,9,opt,name=max_request_headers_kb,json=maxRequestHeadersKb,proto3" json:"max_request_headers_kb,omitempty"` RequestTimeout *durationpb.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 *durationpb.Duration `` /* 127-byte string literal not displayed */ DrainTimeout *durationpb.Duration `protobuf:"bytes,12,opt,name=drain_timeout,json=drainTimeout,proto3" json:"drain_timeout,omitempty"` DelayedCloseTimeout *durationpb.Duration `protobuf:"bytes,13,opt,name=delayed_close_timeout,json=delayedCloseTimeout,proto3" json:"delayed_close_timeout,omitempty"` ServerName *wrapperspb.StringValue `protobuf:"bytes,14,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"` StripAnyHostPort *wrapperspb.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 *wrapperspb.BoolValue `protobuf:"bytes,15,opt,name=accept_http_10,json=acceptHttp10,proto3" json:"accept_http_10,omitempty"` DefaultHostForHttp_10 *wrapperspb.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 *wrapperspb.BoolValue `protobuf:"bytes,34,opt,name=allow_chunked_length,json=allowChunkedLength,proto3" json:"allow_chunked_length,omitempty"` EnableTrailers *wrapperspb.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 *wrapperspb.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 *durationpb.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 *durationpb.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 *wrapperspb.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 *wrapperspb.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 *wrapperspb.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 *wrapperspb.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 */ // If true, configure Envoy to set the x-fowarded-port header to allow services to find Envoy's listener port. AppendXForwardedPort *wrapperspb.BoolValue `` /* 126-byte string literal not displayed */ // Configuration for early header manipulation EarlyHeaderManipulation *headers.EarlyHeaderManipulation `` /* 133-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
func (m *HttpConnectionManagerSettings) Clone() proto.Message
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() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings) GetAllowChunkedLength ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings) GetAllowChunkedLength() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings) GetAppendXForwardedPort ¶ added in v1.14.18
func (x *HttpConnectionManagerSettings) GetAppendXForwardedPort() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings) GetCodecType ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings) GetCodecType() HttpConnectionManagerSettings_CodecType
func (*HttpConnectionManagerSettings) GetDefaultHostForHttp_10 ¶
func (x *HttpConnectionManagerSettings) GetDefaultHostForHttp_10() *wrapperspb.StringValue
func (*HttpConnectionManagerSettings) GetDelayedCloseTimeout ¶
func (x *HttpConnectionManagerSettings) GetDelayedCloseTimeout() *durationpb.Duration
func (*HttpConnectionManagerSettings) GetDrainTimeout ¶
func (x *HttpConnectionManagerSettings) GetDrainTimeout() *durationpb.Duration
func (*HttpConnectionManagerSettings) GetEarlyHeaderManipulation ¶ added in v1.17.16
func (x *HttpConnectionManagerSettings) GetEarlyHeaderManipulation() *headers.EarlyHeaderManipulation
func (*HttpConnectionManagerSettings) GetEnableTrailers ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings) GetEnableTrailers() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings) GetForwardClientCertDetails ¶
func (x *HttpConnectionManagerSettings) GetForwardClientCertDetails() HttpConnectionManagerSettings_ForwardClientCertDetails
func (*HttpConnectionManagerSettings) GetGenerateRequestId ¶
func (x *HttpConnectionManagerSettings) GetGenerateRequestId() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings) GetHeaderFormat ¶ added in v1.9.25
func (m *HttpConnectionManagerSettings) GetHeaderFormat() isHttpConnectionManagerSettings_HeaderFormat
func (*HttpConnectionManagerSettings) GetHeadersWithUnderscoresAction ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings) GetHeadersWithUnderscoresAction() HttpConnectionManagerSettings_HeadersWithUnderscoreAction
func (*HttpConnectionManagerSettings) GetHttp2ProtocolOptions ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings) GetHttp2ProtocolOptions() *protocol.Http2ProtocolOptions
func (*HttpConnectionManagerSettings) GetIdleTimeout ¶
func (x *HttpConnectionManagerSettings) GetIdleTimeout() *durationpb.Duration
func (*HttpConnectionManagerSettings) GetInternalAddressConfig ¶ added in v1.12.22
func (x *HttpConnectionManagerSettings) GetInternalAddressConfig() *HttpConnectionManagerSettings_InternalAddressConfig
func (*HttpConnectionManagerSettings) GetMaxConnectionDuration ¶ added in v1.5.1
func (x *HttpConnectionManagerSettings) GetMaxConnectionDuration() *durationpb.Duration
func (*HttpConnectionManagerSettings) GetMaxHeadersCount ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings) GetMaxHeadersCount() *wrapperspb.UInt32Value
func (*HttpConnectionManagerSettings) GetMaxRequestHeadersKb ¶
func (x *HttpConnectionManagerSettings) GetMaxRequestHeadersKb() *wrapperspb.UInt32Value
func (*HttpConnectionManagerSettings) GetMaxRequestsPerConnection ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings) GetMaxRequestsPerConnection() *wrapperspb.UInt32Value
func (*HttpConnectionManagerSettings) GetMaxStreamDuration ¶ added in v1.5.1
func (x *HttpConnectionManagerSettings) GetMaxStreamDuration() *durationpb.Duration
func (*HttpConnectionManagerSettings) GetMergeSlashes ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings) GetMergeSlashes() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings) GetNormalizePath ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings) GetNormalizePath() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings) GetPathWithEscapedSlashesAction ¶ added in v1.6.26
func (x *HttpConnectionManagerSettings) GetPathWithEscapedSlashesAction() HttpConnectionManagerSettings_PathWithEscapedSlashesAction
func (*HttpConnectionManagerSettings) GetPreserveCaseHeaderKeyFormat ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings) GetPreserveCaseHeaderKeyFormat() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings) GetPreserveExternalRequestId ¶ added in v1.2.8
func (x *HttpConnectionManagerSettings) GetPreserveExternalRequestId() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings) GetProperCaseHeaderKeyFormat ¶ added in v1.3.28
func (x *HttpConnectionManagerSettings) GetProperCaseHeaderKeyFormat() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings) GetProxy_100Continue ¶
func (x *HttpConnectionManagerSettings) GetProxy_100Continue() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings) GetRequestHeadersTimeout ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings) GetRequestHeadersTimeout() *durationpb.Duration
func (*HttpConnectionManagerSettings) GetRequestTimeout ¶
func (x *HttpConnectionManagerSettings) GetRequestTimeout() *durationpb.Duration
func (*HttpConnectionManagerSettings) GetServerHeaderTransformation ¶ added in v1.5.9
func (x *HttpConnectionManagerSettings) GetServerHeaderTransformation() HttpConnectionManagerSettings_ServerHeaderTransformation
func (*HttpConnectionManagerSettings) GetServerName ¶
func (x *HttpConnectionManagerSettings) GetServerName() *wrapperspb.StringValue
func (*HttpConnectionManagerSettings) GetSetCurrentClientCertDetails ¶
func (x *HttpConnectionManagerSettings) GetSetCurrentClientCertDetails() *HttpConnectionManagerSettings_SetCurrentClientCertDetails
func (*HttpConnectionManagerSettings) GetSkipXffAppend ¶
func (x *HttpConnectionManagerSettings) GetSkipXffAppend() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings) GetStreamIdleTimeout ¶
func (x *HttpConnectionManagerSettings) GetStreamIdleTimeout() *durationpb.Duration
func (*HttpConnectionManagerSettings) GetStripAnyHostPort ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings) GetStripAnyHostPort() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings) GetTracing ¶
func (x *HttpConnectionManagerSettings) GetTracing() *tracing.ListenerTracingSettings
func (*HttpConnectionManagerSettings) GetUpgrades ¶ added in v1.2.10
func (x *HttpConnectionManagerSettings) GetUpgrades() []*protocol_upgrade.ProtocolUpgradeConfig
func (*HttpConnectionManagerSettings) GetUseRemoteAddress ¶
func (x *HttpConnectionManagerSettings) GetUseRemoteAddress() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings) GetUuidRequestIdConfig ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings) GetUuidRequestIdConfig() *HttpConnectionManagerSettings_UuidRequestIdConfigSettings
func (*HttpConnectionManagerSettings) GetVia ¶
func (x *HttpConnectionManagerSettings) GetVia() *wrapperspb.StringValue
func (*HttpConnectionManagerSettings) GetXffNumTrustedHops ¶
func (x *HttpConnectionManagerSettings) GetXffNumTrustedHops() *wrapperspb.UInt32Value
func (*HttpConnectionManagerSettings) Hash
deprecated
added in
v1.2.13
func (m *HttpConnectionManagerSettings) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*HttpConnectionManagerSettings) HashUnique ¶ added in v1.18.0
func (m *HttpConnectionManagerSettings) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*HttpConnectionManagerSettings) ProtoMessage ¶
func (*HttpConnectionManagerSettings) ProtoMessage()
func (*HttpConnectionManagerSettings) ProtoReflect ¶ added in v1.6.0
func (x *HttpConnectionManagerSettings) ProtoReflect() protoreflect.Message
func (*HttpConnectionManagerSettings) Reset ¶
func (x *HttpConnectionManagerSettings) Reset()
func (*HttpConnectionManagerSettings) String ¶
func (x *HttpConnectionManagerSettings) String() 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 *wrapperspb.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
func (m *HttpConnectionManagerSettings_CidrRange) Clone() proto.Message
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 (x *HttpConnectionManagerSettings_CidrRange) GetPrefixLen() *wrapperspb.UInt32Value
func (*HttpConnectionManagerSettings_CidrRange) Hash
deprecated
added in
v1.12.22
func (m *HttpConnectionManagerSettings_CidrRange) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*HttpConnectionManagerSettings_CidrRange) HashUnique ¶ added in v1.18.0
func (m *HttpConnectionManagerSettings_CidrRange) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*HttpConnectionManagerSettings_CidrRange) ProtoMessage ¶ added in v1.12.22
func (*HttpConnectionManagerSettings_CidrRange) ProtoMessage()
func (*HttpConnectionManagerSettings_CidrRange) ProtoReflect ¶ added in v1.12.22
func (x *HttpConnectionManagerSettings_CidrRange) ProtoReflect() protoreflect.Message
func (*HttpConnectionManagerSettings_CidrRange) Reset ¶ added in v1.12.22
func (x *HttpConnectionManagerSettings_CidrRange) Reset()
func (*HttpConnectionManagerSettings_CidrRange) String ¶ added in v1.12.22
func (x *HttpConnectionManagerSettings_CidrRange) String() string
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) Descriptor() protoreflect.EnumDescriptor
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 (x HttpConnectionManagerSettings_CodecType) Number() protoreflect.EnumNumber
func (HttpConnectionManagerSettings_CodecType) String ¶ added in v1.9.25
func (x HttpConnectionManagerSettings_CodecType) String() string
func (HttpConnectionManagerSettings_CodecType) Type ¶ added in v1.9.25
func (HttpConnectionManagerSettings_CodecType) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (HttpConnectionManagerSettings_ForwardClientCertDetails) EnumDescriptor
deprecated
func (HttpConnectionManagerSettings_ForwardClientCertDetails) EnumDescriptor() ([]byte, []int)
Deprecated: Use HttpConnectionManagerSettings_ForwardClientCertDetails.Descriptor instead.
func (HttpConnectionManagerSettings_ForwardClientCertDetails) Number ¶ added in v1.6.0
func (x HttpConnectionManagerSettings_ForwardClientCertDetails) Number() protoreflect.EnumNumber
func (HttpConnectionManagerSettings_ForwardClientCertDetails) String ¶
func (x HttpConnectionManagerSettings_ForwardClientCertDetails) String() string
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) Descriptor() protoreflect.EnumDescriptor
func (HttpConnectionManagerSettings_HeadersWithUnderscoreAction) EnumDescriptor
deprecated
added in
v1.9.25
func (HttpConnectionManagerSettings_HeadersWithUnderscoreAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use HttpConnectionManagerSettings_HeadersWithUnderscoreAction.Descriptor instead.
func (HttpConnectionManagerSettings_HeadersWithUnderscoreAction) Number ¶ added in v1.9.25
func (x HttpConnectionManagerSettings_HeadersWithUnderscoreAction) Number() protoreflect.EnumNumber
func (HttpConnectionManagerSettings_HeadersWithUnderscoreAction) String ¶ added in v1.9.25
func (x HttpConnectionManagerSettings_HeadersWithUnderscoreAction) String() string
type HttpConnectionManagerSettings_InternalAddressConfig ¶ added in v1.12.22
type HttpConnectionManagerSettings_InternalAddressConfig struct { // Whether unix socket addresses should be considered internal UnixSockets *wrapperspb.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
func (m *HttpConnectionManagerSettings_InternalAddressConfig) Clone() proto.Message
Clone function
func (*HttpConnectionManagerSettings_InternalAddressConfig) Descriptor
deprecated
added in
v1.12.22
func (*HttpConnectionManagerSettings_InternalAddressConfig) Descriptor() ([]byte, []int)
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 (x *HttpConnectionManagerSettings_InternalAddressConfig) GetCidrRanges() []*HttpConnectionManagerSettings_CidrRange
func (*HttpConnectionManagerSettings_InternalAddressConfig) GetUnixSockets ¶ added in v1.12.22
func (x *HttpConnectionManagerSettings_InternalAddressConfig) GetUnixSockets() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings_InternalAddressConfig) Hash
deprecated
added in
v1.12.22
func (m *HttpConnectionManagerSettings_InternalAddressConfig) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*HttpConnectionManagerSettings_InternalAddressConfig) HashUnique ¶ added in v1.18.0
func (m *HttpConnectionManagerSettings_InternalAddressConfig) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*HttpConnectionManagerSettings_InternalAddressConfig) ProtoMessage ¶ added in v1.12.22
func (*HttpConnectionManagerSettings_InternalAddressConfig) ProtoMessage()
func (*HttpConnectionManagerSettings_InternalAddressConfig) ProtoReflect ¶ added in v1.12.22
func (x *HttpConnectionManagerSettings_InternalAddressConfig) ProtoReflect() protoreflect.Message
func (*HttpConnectionManagerSettings_InternalAddressConfig) Reset ¶ added in v1.12.22
func (x *HttpConnectionManagerSettings_InternalAddressConfig) Reset()
func (*HttpConnectionManagerSettings_InternalAddressConfig) String ¶ added in v1.12.22
func (x *HttpConnectionManagerSettings_InternalAddressConfig) String() string
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) Descriptor() protoreflect.EnumDescriptor
func (HttpConnectionManagerSettings_PathWithEscapedSlashesAction) EnumDescriptor
deprecated
added in
v1.6.26
func (HttpConnectionManagerSettings_PathWithEscapedSlashesAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use HttpConnectionManagerSettings_PathWithEscapedSlashesAction.Descriptor instead.
func (HttpConnectionManagerSettings_PathWithEscapedSlashesAction) Number ¶ added in v1.6.26
func (x HttpConnectionManagerSettings_PathWithEscapedSlashesAction) Number() protoreflect.EnumNumber
func (HttpConnectionManagerSettings_PathWithEscapedSlashesAction) String ¶ added in v1.6.26
func (x HttpConnectionManagerSettings_PathWithEscapedSlashesAction) String() string
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 *wrapperspb.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 *wrapperspb.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) Descriptor() protoreflect.EnumDescriptor
func (HttpConnectionManagerSettings_ServerHeaderTransformation) EnumDescriptor
deprecated
added in
v1.5.9
func (HttpConnectionManagerSettings_ServerHeaderTransformation) EnumDescriptor() ([]byte, []int)
Deprecated: Use HttpConnectionManagerSettings_ServerHeaderTransformation.Descriptor instead.
func (HttpConnectionManagerSettings_ServerHeaderTransformation) Number ¶ added in v1.6.0
func (x HttpConnectionManagerSettings_ServerHeaderTransformation) Number() protoreflect.EnumNumber
func (HttpConnectionManagerSettings_ServerHeaderTransformation) String ¶ added in v1.5.9
func (x HttpConnectionManagerSettings_ServerHeaderTransformation) String() string
type HttpConnectionManagerSettings_SetCurrentClientCertDetails ¶
type HttpConnectionManagerSettings_SetCurrentClientCertDetails struct { Subject *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` Cert *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"` Chain *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=chain,proto3" json:"chain,omitempty"` Dns *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=dns,proto3" json:"dns,omitempty"` Uri *wrapperspb.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
func (m *HttpConnectionManagerSettings_SetCurrentClientCertDetails) Clone() proto.Message
Clone function
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) Descriptor
deprecated
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) Descriptor() ([]byte, []int)
Deprecated: Use HttpConnectionManagerSettings_SetCurrentClientCertDetails.ProtoReflect.Descriptor instead.
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) Equal ¶
func (m *HttpConnectionManagerSettings_SetCurrentClientCertDetails) Equal(that interface{}) bool
Equal function
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetCert ¶
func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetCert() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetChain ¶
func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetChain() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetDns ¶
func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetDns() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetSubject ¶
func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetSubject() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetUri ¶
func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetUri() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) Hash
deprecated
added in
v1.2.13
func (m *HttpConnectionManagerSettings_SetCurrentClientCertDetails) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) HashUnique ¶ added in v1.18.0
func (m *HttpConnectionManagerSettings_SetCurrentClientCertDetails) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) ProtoMessage ¶
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) ProtoMessage()
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) ProtoReflect ¶ added in v1.6.0
func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) ProtoReflect() protoreflect.Message
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) Reset ¶
func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) Reset()
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) String ¶
func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) String() 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 *wrapperspb.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 *wrapperspb.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
func (m *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Clone() proto.Message
Clone function
func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Descriptor
deprecated
added in
v1.9.25
func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Descriptor() ([]byte, []int)
Deprecated: Use HttpConnectionManagerSettings_UuidRequestIdConfigSettings.ProtoReflect.Descriptor instead.
func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Equal ¶ added in v1.9.25
func (m *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Equal(that interface{}) bool
Equal function
func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) GetPackTraceReason ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) GetPackTraceReason() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) GetUseRequestIdForTraceSampling ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) GetUseRequestIdForTraceSampling() *wrapperspb.BoolValue
func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Hash
deprecated
added in
v1.9.25
func (m *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) HashUnique ¶ added in v1.18.0
func (m *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) ProtoMessage ¶ added in v1.9.25
func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) ProtoMessage()
func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) ProtoReflect ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) ProtoReflect() protoreflect.Message
func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Reset ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) Reset()
func (*HttpConnectionManagerSettings_UuidRequestIdConfigSettings) String ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings_UuidRequestIdConfigSettings) String() string