Documentation ¶
Index ¶
- Variables
- type HttpConnectionManagerSettings
- func (*HttpConnectionManagerSettings) Descriptor() ([]byte, []int)deprecated
- func (m *HttpConnectionManagerSettings) Equal(that interface{}) bool
- func (x *HttpConnectionManagerSettings) GetAcceptHttp_10() bool
- 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) GetMaxRequestHeadersKb() *wrappers.UInt32Value
- func (x *HttpConnectionManagerSettings) GetMaxStreamDuration() *duration.Duration
- 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_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_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 (*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 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 */ MaxStreamDuration *duration.Duration `protobuf:"bytes,24,opt,name=max_stream_duration,json=maxStreamDuration,proto3" json:"max_stream_duration,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 */ // 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) 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) 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) GetMaxRequestHeadersKb ¶
func (x *HttpConnectionManagerSettings) GetMaxRequestHeadersKb() *wrappers.UInt32Value
func (*HttpConnectionManagerSettings) GetMaxStreamDuration ¶ added in v1.5.1
func (x *HttpConnectionManagerSettings) GetMaxStreamDuration() *duration.Duration
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_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_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) 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