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() bool
- func (x *HttpConnectionManagerSettings) GetCodecType() HttpConnectionManagerSettings_CodecType
- func (x *HttpConnectionManagerSettings) GetDefaultHostForHttp_10() string
- func (x *HttpConnectionManagerSettings) GetDelayedCloseTimeout() *duration.Duration
- func (x *HttpConnectionManagerSettings) GetDrainTimeout() *duration.Duration
- func (x *HttpConnectionManagerSettings) GetForwardClientCertDetails() HttpConnectionManagerSettings_ForwardClientCertDetails
- func (x *HttpConnectionManagerSettings) GetGenerateRequestId() *wrappers.BoolValue
- func (x *HttpConnectionManagerSettings) GetIdleTimeout() *duration.Duration
- func (x *HttpConnectionManagerSettings) GetMaxConnectionDuration() *duration.Duration
- func (x *HttpConnectionManagerSettings) GetMaxHeadersCount() *wrappers.UInt32Value
- func (x *HttpConnectionManagerSettings) GetMaxRequestHeadersKb() *wrappers.UInt32Value
- func (x *HttpConnectionManagerSettings) GetMaxStreamDuration() *duration.Duration
- func (x *HttpConnectionManagerSettings) GetMergeSlashes() bool
- func (x *HttpConnectionManagerSettings) GetNormalizePath() *wrappers.BoolValue
- func (x *HttpConnectionManagerSettings) GetPathWithEscapedSlashesAction() HttpConnectionManagerSettings_PathWithEscapedSlashesAction
- func (x *HttpConnectionManagerSettings) GetPreserveExternalRequestId() bool
- func (x *HttpConnectionManagerSettings) GetProperCaseHeaderKeyFormat() bool
- func (x *HttpConnectionManagerSettings) GetProxy_100Continue() bool
- func (x *HttpConnectionManagerSettings) GetRequestTimeout() *duration.Duration
- func (x *HttpConnectionManagerSettings) GetServerHeaderTransformation() HttpConnectionManagerSettings_ServerHeaderTransformation
- func (x *HttpConnectionManagerSettings) GetServerName() string
- func (x *HttpConnectionManagerSettings) GetSetCurrentClientCertDetails() *HttpConnectionManagerSettings_SetCurrentClientCertDetails
- func (x *HttpConnectionManagerSettings) GetSkipXffAppend() bool
- func (x *HttpConnectionManagerSettings) GetStreamIdleTimeout() *duration.Duration
- func (x *HttpConnectionManagerSettings) GetTracing() *tracing.ListenerTracingSettings
- func (x *HttpConnectionManagerSettings) GetUpgrades() []*protocol_upgrade.ProtocolUpgradeConfig
- func (x *HttpConnectionManagerSettings) GetUseRemoteAddress() *wrappers.BoolValue
- func (x *HttpConnectionManagerSettings) GetVia() string
- func (x *HttpConnectionManagerSettings) GetXffNumTrustedHops() uint32
- func (m *HttpConnectionManagerSettings) Hash(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_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_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_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() bool
- func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetChain() bool
- func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetDns() bool
- func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetSubject() *wrappers.BoolValue
- func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetUri() bool
- func (m *HttpConnectionManagerSettings_SetCurrentClientCertDetails) Hash(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
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_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 bool `protobuf:"varint,1,opt,name=skip_xff_append,json=skipXffAppend,proto3" json:"skip_xff_append,omitempty"` Via string `protobuf:"bytes,2,opt,name=via,proto3" json:"via,omitempty"` XffNumTrustedHops uint32 `protobuf:"varint,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 bool `protobuf:"varint,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"` 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 string `protobuf:"bytes,14,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"` // For explanation of these settings see: https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/core/protocol.proto#envoy-api-msg-core-http1protocoloptions AcceptHttp_10 bool `protobuf:"varint,15,opt,name=accept_http_10,json=acceptHttp10,proto3" json:"accept_http_10,omitempty"` DefaultHostForHttp_10 string `` /* 128-byte string literal not displayed */ ProperCaseHeaderKeyFormat bool `` /* 144-byte string literal not displayed */ 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 bool `` /* 142-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 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 bool `protobuf:"varint,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? // 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"` // 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
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() bool
func (*HttpConnectionManagerSettings) GetCodecType ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings) GetCodecType() HttpConnectionManagerSettings_CodecType
func (*HttpConnectionManagerSettings) GetDefaultHostForHttp_10 ¶
func (x *HttpConnectionManagerSettings) GetDefaultHostForHttp_10() string
func (*HttpConnectionManagerSettings) GetDelayedCloseTimeout ¶
func (x *HttpConnectionManagerSettings) GetDelayedCloseTimeout() *duration.Duration
func (*HttpConnectionManagerSettings) GetDrainTimeout ¶
func (x *HttpConnectionManagerSettings) GetDrainTimeout() *duration.Duration
func (*HttpConnectionManagerSettings) GetForwardClientCertDetails ¶
func (x *HttpConnectionManagerSettings) GetForwardClientCertDetails() HttpConnectionManagerSettings_ForwardClientCertDetails
func (*HttpConnectionManagerSettings) GetGenerateRequestId ¶
func (x *HttpConnectionManagerSettings) GetGenerateRequestId() *wrappers.BoolValue
func (*HttpConnectionManagerSettings) GetIdleTimeout ¶
func (x *HttpConnectionManagerSettings) GetIdleTimeout() *duration.Duration
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) GetMaxStreamDuration ¶ added in v1.5.1
func (x *HttpConnectionManagerSettings) GetMaxStreamDuration() *duration.Duration
func (*HttpConnectionManagerSettings) GetMergeSlashes ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings) GetMergeSlashes() bool
func (*HttpConnectionManagerSettings) GetNormalizePath ¶ added in v1.9.25
func (x *HttpConnectionManagerSettings) GetNormalizePath() *wrappers.BoolValue
func (*HttpConnectionManagerSettings) GetPathWithEscapedSlashesAction ¶ added in v1.6.26
func (x *HttpConnectionManagerSettings) GetPathWithEscapedSlashesAction() HttpConnectionManagerSettings_PathWithEscapedSlashesAction
func (*HttpConnectionManagerSettings) GetPreserveExternalRequestId ¶ added in v1.2.8
func (x *HttpConnectionManagerSettings) GetPreserveExternalRequestId() bool
func (*HttpConnectionManagerSettings) GetProperCaseHeaderKeyFormat ¶ added in v1.3.28
func (x *HttpConnectionManagerSettings) GetProperCaseHeaderKeyFormat() bool
func (*HttpConnectionManagerSettings) GetProxy_100Continue ¶
func (x *HttpConnectionManagerSettings) GetProxy_100Continue() bool
func (*HttpConnectionManagerSettings) GetRequestTimeout ¶
func (x *HttpConnectionManagerSettings) GetRequestTimeout() *duration.Duration
func (*HttpConnectionManagerSettings) GetServerHeaderTransformation ¶ added in v1.5.9
func (x *HttpConnectionManagerSettings) GetServerHeaderTransformation() HttpConnectionManagerSettings_ServerHeaderTransformation
func (*HttpConnectionManagerSettings) GetServerName ¶
func (x *HttpConnectionManagerSettings) GetServerName() string
func (*HttpConnectionManagerSettings) GetSetCurrentClientCertDetails ¶
func (x *HttpConnectionManagerSettings) GetSetCurrentClientCertDetails() *HttpConnectionManagerSettings_SetCurrentClientCertDetails
func (*HttpConnectionManagerSettings) GetSkipXffAppend ¶
func (x *HttpConnectionManagerSettings) GetSkipXffAppend() bool
func (*HttpConnectionManagerSettings) GetStreamIdleTimeout ¶
func (x *HttpConnectionManagerSettings) GetStreamIdleTimeout() *duration.Duration
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() *wrappers.BoolValue
func (*HttpConnectionManagerSettings) GetVia ¶
func (x *HttpConnectionManagerSettings) GetVia() string
func (*HttpConnectionManagerSettings) GetXffNumTrustedHops ¶
func (x *HttpConnectionManagerSettings) GetXffNumTrustedHops() uint32
func (*HttpConnectionManagerSettings) Hash ¶ added in v1.2.13
func (m *HttpConnectionManagerSettings) Hash(hasher hash.Hash64) (uint64, error)
Hash function
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_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_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_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 *wrappers.BoolValue `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` Cert bool `protobuf:"varint,2,opt,name=cert,proto3" json:"cert,omitempty"` Chain bool `protobuf:"varint,3,opt,name=chain,proto3" json:"chain,omitempty"` Dns bool `protobuf:"varint,4,opt,name=dns,proto3" json:"dns,omitempty"` Uri bool `protobuf:"varint,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() bool
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetChain ¶
func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetChain() bool
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetDns ¶
func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetDns() bool
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetSubject ¶
func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetSubject() *wrappers.BoolValue
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetUri ¶
func (x *HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetUri() bool
func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) Hash ¶ added in v1.2.13
func (m *HttpConnectionManagerSettings_SetCurrentClientCertDetails) Hash(hasher hash.Hash64) (uint64, error)
Hash function
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