Documentation
¶
Index ¶
- Variables
- type HttpConnectionManager
- func (*HttpConnectionManager) Descriptor() ([]byte, []int)
- func (m *HttpConnectionManager) GetAccessLog() []*v21.AccessLog
- func (m *HttpConnectionManager) GetAddUserAgent() *types.BoolValue
- func (m *HttpConnectionManager) GetCodecType() HttpConnectionManager_CodecType
- func (m *HttpConnectionManager) GetDrainTimeout() *time.Duration
- func (m *HttpConnectionManager) GetForwardClientCertDetails() HttpConnectionManager_ForwardClientCertDetails
- func (m *HttpConnectionManager) GetGenerateRequestId() *types.BoolValue
- func (m *HttpConnectionManager) GetHttp2ProtocolOptions() *core.Http2ProtocolOptions
- func (m *HttpConnectionManager) GetHttpFilters() []*HttpFilter
- func (m *HttpConnectionManager) GetHttpProtocolOptions() *core.Http1ProtocolOptions
- func (m *HttpConnectionManager) GetIdleTimeout() *time.Duration
- func (m *HttpConnectionManager) GetInternalAddressConfig() *HttpConnectionManager_InternalAddressConfig
- func (m *HttpConnectionManager) GetProxy_100Continue() bool
- func (m *HttpConnectionManager) GetRds() *Rds
- func (m *HttpConnectionManager) GetRepresentIpv4RemoteAddressAsIpv4MappedIpv6() bool
- func (m *HttpConnectionManager) GetRouteConfig() *v2.RouteConfiguration
- func (m *HttpConnectionManager) GetRouteSpecifier() isHttpConnectionManager_RouteSpecifier
- func (m *HttpConnectionManager) GetServerName() string
- func (m *HttpConnectionManager) GetSetCurrentClientCertDetails() *HttpConnectionManager_SetCurrentClientCertDetails
- func (m *HttpConnectionManager) GetSkipXffAppend() bool
- func (m *HttpConnectionManager) GetStatPrefix() string
- func (m *HttpConnectionManager) GetStreamIdleTimeout() *time.Duration
- func (m *HttpConnectionManager) GetTracing() *HttpConnectionManager_Tracing
- func (m *HttpConnectionManager) GetUpgradeConfigs() []*HttpConnectionManager_UpgradeConfig
- func (m *HttpConnectionManager) GetUseRemoteAddress() *types.BoolValue
- func (m *HttpConnectionManager) GetVia() string
- func (m *HttpConnectionManager) GetXffNumTrustedHops() uint32
- func (m *HttpConnectionManager) Marshal() (dAtA []byte, err error)
- func (m *HttpConnectionManager) MarshalTo(dAtA []byte) (int, error)
- func (*HttpConnectionManager) ProtoMessage()
- func (m *HttpConnectionManager) Reset()
- func (m *HttpConnectionManager) Size() (n int)
- func (m *HttpConnectionManager) String() string
- func (m *HttpConnectionManager) Unmarshal(dAtA []byte) error
- func (m *HttpConnectionManager) Validate() error
- func (m *HttpConnectionManager) XXX_DiscardUnknown()
- func (m *HttpConnectionManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HttpConnectionManager) XXX_Merge(src proto.Message)
- func (*HttpConnectionManager) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *HttpConnectionManager) XXX_Size() int
- func (m *HttpConnectionManager) XXX_Unmarshal(b []byte) error
- type HttpConnectionManagerValidationError
- type HttpConnectionManager_CodecType
- type HttpConnectionManager_ForwardClientCertDetails
- type HttpConnectionManager_InternalAddressConfig
- func (*HttpConnectionManager_InternalAddressConfig) Descriptor() ([]byte, []int)
- func (m *HttpConnectionManager_InternalAddressConfig) GetUnixSockets() bool
- func (m *HttpConnectionManager_InternalAddressConfig) Marshal() (dAtA []byte, err error)
- func (m *HttpConnectionManager_InternalAddressConfig) MarshalTo(dAtA []byte) (int, error)
- func (*HttpConnectionManager_InternalAddressConfig) ProtoMessage()
- func (m *HttpConnectionManager_InternalAddressConfig) Reset()
- func (m *HttpConnectionManager_InternalAddressConfig) Size() (n int)
- func (m *HttpConnectionManager_InternalAddressConfig) String() string
- func (m *HttpConnectionManager_InternalAddressConfig) Unmarshal(dAtA []byte) error
- func (m *HttpConnectionManager_InternalAddressConfig) Validate() error
- func (m *HttpConnectionManager_InternalAddressConfig) XXX_DiscardUnknown()
- func (m *HttpConnectionManager_InternalAddressConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HttpConnectionManager_InternalAddressConfig) XXX_Merge(src proto.Message)
- func (m *HttpConnectionManager_InternalAddressConfig) XXX_Size() int
- func (m *HttpConnectionManager_InternalAddressConfig) XXX_Unmarshal(b []byte) error
- type HttpConnectionManager_InternalAddressConfigValidationError
- type HttpConnectionManager_Rds
- type HttpConnectionManager_RouteConfig
- type HttpConnectionManager_SetCurrentClientCertDetails
- func (*HttpConnectionManager_SetCurrentClientCertDetails) Descriptor() ([]byte, []int)
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) GetCert() bool
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) GetDns() bool
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) GetSubject() *types.BoolValue
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) GetUri() bool
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) Marshal() (dAtA []byte, err error)
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) MarshalTo(dAtA []byte) (int, error)
- func (*HttpConnectionManager_SetCurrentClientCertDetails) ProtoMessage()
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) Reset()
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) Size() (n int)
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) String() string
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) Unmarshal(dAtA []byte) error
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) Validate() error
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_DiscardUnknown()
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HttpConnectionManager_SetCurrentClientCertDetails) XXX_Merge(src proto.Message)
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_Size() int
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_Unmarshal(b []byte) error
- type HttpConnectionManager_SetCurrentClientCertDetailsValidationError
- type HttpConnectionManager_Tracing
- func (*HttpConnectionManager_Tracing) Descriptor() ([]byte, []int)
- func (m *HttpConnectionManager_Tracing) GetClientSampling() *_type.Percent
- func (m *HttpConnectionManager_Tracing) GetOperationName() HttpConnectionManager_Tracing_OperationName
- func (m *HttpConnectionManager_Tracing) GetOverallSampling() *_type.Percent
- func (m *HttpConnectionManager_Tracing) GetRandomSampling() *_type.Percent
- func (m *HttpConnectionManager_Tracing) GetRequestHeadersForTags() []string
- func (m *HttpConnectionManager_Tracing) Marshal() (dAtA []byte, err error)
- func (m *HttpConnectionManager_Tracing) MarshalTo(dAtA []byte) (int, error)
- func (*HttpConnectionManager_Tracing) ProtoMessage()
- func (m *HttpConnectionManager_Tracing) Reset()
- func (m *HttpConnectionManager_Tracing) Size() (n int)
- func (m *HttpConnectionManager_Tracing) String() string
- func (m *HttpConnectionManager_Tracing) Unmarshal(dAtA []byte) error
- func (m *HttpConnectionManager_Tracing) Validate() error
- func (m *HttpConnectionManager_Tracing) XXX_DiscardUnknown()
- func (m *HttpConnectionManager_Tracing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HttpConnectionManager_Tracing) XXX_Merge(src proto.Message)
- func (m *HttpConnectionManager_Tracing) XXX_Size() int
- func (m *HttpConnectionManager_Tracing) XXX_Unmarshal(b []byte) error
- type HttpConnectionManager_TracingValidationError
- type HttpConnectionManager_Tracing_OperationName
- type HttpConnectionManager_UpgradeConfig
- func (*HttpConnectionManager_UpgradeConfig) Descriptor() ([]byte, []int)
- func (m *HttpConnectionManager_UpgradeConfig) GetFilters() []*HttpFilter
- func (m *HttpConnectionManager_UpgradeConfig) GetUpgradeType() string
- func (m *HttpConnectionManager_UpgradeConfig) Marshal() (dAtA []byte, err error)
- func (m *HttpConnectionManager_UpgradeConfig) MarshalTo(dAtA []byte) (int, error)
- func (*HttpConnectionManager_UpgradeConfig) ProtoMessage()
- func (m *HttpConnectionManager_UpgradeConfig) Reset()
- func (m *HttpConnectionManager_UpgradeConfig) Size() (n int)
- func (m *HttpConnectionManager_UpgradeConfig) String() string
- func (m *HttpConnectionManager_UpgradeConfig) Unmarshal(dAtA []byte) error
- func (m *HttpConnectionManager_UpgradeConfig) Validate() error
- func (m *HttpConnectionManager_UpgradeConfig) XXX_DiscardUnknown()
- func (m *HttpConnectionManager_UpgradeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HttpConnectionManager_UpgradeConfig) XXX_Merge(src proto.Message)
- func (m *HttpConnectionManager_UpgradeConfig) XXX_Size() int
- func (m *HttpConnectionManager_UpgradeConfig) XXX_Unmarshal(b []byte) error
- type HttpConnectionManager_UpgradeConfigValidationError
- type HttpFilter
- func (*HttpFilter) Descriptor() ([]byte, []int)
- func (m *HttpFilter) GetConfig() *types.Struct
- func (m *HttpFilter) GetDeprecatedV1() *HttpFilter_DeprecatedV1deprecated
- func (m *HttpFilter) GetName() string
- func (m *HttpFilter) Marshal() (dAtA []byte, err error)
- func (m *HttpFilter) MarshalTo(dAtA []byte) (int, error)
- func (*HttpFilter) ProtoMessage()
- func (m *HttpFilter) Reset()
- func (m *HttpFilter) Size() (n int)
- func (m *HttpFilter) String() string
- func (m *HttpFilter) Unmarshal(dAtA []byte) error
- func (m *HttpFilter) Validate() error
- func (m *HttpFilter) XXX_DiscardUnknown()
- func (m *HttpFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HttpFilter) XXX_Merge(src proto.Message)
- func (m *HttpFilter) XXX_Size() int
- func (m *HttpFilter) XXX_Unmarshal(b []byte) error
- type HttpFilterValidationError
- type HttpFilter_DeprecatedV1
- func (*HttpFilter_DeprecatedV1) Descriptor() ([]byte, []int)
- func (m *HttpFilter_DeprecatedV1) GetType() string
- func (m *HttpFilter_DeprecatedV1) Marshal() (dAtA []byte, err error)
- func (m *HttpFilter_DeprecatedV1) MarshalTo(dAtA []byte) (int, error)
- func (*HttpFilter_DeprecatedV1) ProtoMessage()
- func (m *HttpFilter_DeprecatedV1) Reset()
- func (m *HttpFilter_DeprecatedV1) Size() (n int)
- func (m *HttpFilter_DeprecatedV1) String() string
- func (m *HttpFilter_DeprecatedV1) Unmarshal(dAtA []byte) error
- func (m *HttpFilter_DeprecatedV1) Validate() error
- func (m *HttpFilter_DeprecatedV1) XXX_DiscardUnknown()
- func (m *HttpFilter_DeprecatedV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HttpFilter_DeprecatedV1) XXX_Merge(src proto.Message)
- func (m *HttpFilter_DeprecatedV1) XXX_Size() int
- func (m *HttpFilter_DeprecatedV1) XXX_Unmarshal(b []byte) error
- type HttpFilter_DeprecatedV1ValidationError
- type Rds
- func (*Rds) Descriptor() ([]byte, []int)
- func (m *Rds) GetConfigSource() core.ConfigSource
- func (m *Rds) GetRouteConfigName() string
- func (m *Rds) Marshal() (dAtA []byte, err error)
- func (m *Rds) MarshalTo(dAtA []byte) (int, error)
- func (*Rds) ProtoMessage()
- func (m *Rds) Reset()
- func (m *Rds) Size() (n int)
- func (m *Rds) String() string
- func (m *Rds) Unmarshal(dAtA []byte) error
- func (m *Rds) Validate() error
- func (m *Rds) XXX_DiscardUnknown()
- func (m *Rds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Rds) XXX_Merge(src proto.Message)
- func (m *Rds) XXX_Size() int
- func (m *Rds) XXX_Unmarshal(b []byte) error
- type RdsValidationError
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthHttpConnectionManager = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowHttpConnectionManager = fmt.Errorf("proto: integer overflow") )
var HttpConnectionManager_CodecType_name = map[int32]string{
0: "AUTO",
1: "HTTP1",
2: "HTTP2",
}
var HttpConnectionManager_CodecType_value = map[string]int32{
"AUTO": 0,
"HTTP1": 1,
"HTTP2": 2,
}
var HttpConnectionManager_ForwardClientCertDetails_name = map[int32]string{
0: "SANITIZE",
1: "FORWARD_ONLY",
2: "APPEND_FORWARD",
3: "SANITIZE_SET",
4: "ALWAYS_FORWARD_ONLY",
}
var HttpConnectionManager_ForwardClientCertDetails_value = map[string]int32{
"SANITIZE": 0,
"FORWARD_ONLY": 1,
"APPEND_FORWARD": 2,
"SANITIZE_SET": 3,
"ALWAYS_FORWARD_ONLY": 4,
}
var HttpConnectionManager_Tracing_OperationName_name = map[int32]string{
0: "INGRESS",
1: "EGRESS",
}
var HttpConnectionManager_Tracing_OperationName_value = map[string]int32{
"INGRESS": 0,
"EGRESS": 1,
}
Functions ¶
This section is empty.
Types ¶
type HttpConnectionManager ¶
type HttpConnectionManager struct { // Supplies the type of codec that the connection manager should use. CodecType HttpConnectionManager_CodecType `` /* 181-byte string literal not displayed */ // The human readable prefix to use when emitting statistics for the // connection manager. See the :ref:`statistics documentation <config_http_conn_man_stats>` for // more information. StatPrefix string `protobuf:"bytes,2,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"` // Types that are valid to be assigned to RouteSpecifier: // *HttpConnectionManager_Rds // *HttpConnectionManager_RouteConfig RouteSpecifier isHttpConnectionManager_RouteSpecifier `protobuf_oneof:"route_specifier"` // A list of individual HTTP filters that make up the filter chain for // requests made to the connection manager. Order matters as the filters are // processed sequentially as request events happen. HttpFilters []*HttpFilter `protobuf:"bytes,5,rep,name=http_filters,json=httpFilters" json:"http_filters,omitempty"` // Whether the connection manager manipulates the :ref:`config_http_conn_man_headers_user-agent` // and :ref:`config_http_conn_man_headers_downstream-service-cluster` headers. See the linked // documentation for more information. Defaults to false. AddUserAgent *types.BoolValue `protobuf:"bytes,6,opt,name=add_user_agent,json=addUserAgent" json:"add_user_agent,omitempty"` // Presence of the object defines whether the connection manager // emits :ref:`tracing <arch_overview_tracing>` data to the :ref:`configured tracing provider // <envoy_api_msg_config.trace.v2.Tracing>`. Tracing *HttpConnectionManager_Tracing `protobuf:"bytes,7,opt,name=tracing" json:"tracing,omitempty"` // Additional HTTP/1 settings that are passed to the HTTP/1 codec. HttpProtocolOptions *core.Http1ProtocolOptions `protobuf:"bytes,8,opt,name=http_protocol_options,json=httpProtocolOptions" json:"http_protocol_options,omitempty"` // Additional HTTP/2 settings that are passed directly to the HTTP/2 codec. Http2ProtocolOptions *core.Http2ProtocolOptions `protobuf:"bytes,9,opt,name=http2_protocol_options,json=http2ProtocolOptions" json:"http2_protocol_options,omitempty"` // An optional override that the connection manager will write to the server // header in responses. If not set, the default is *envoy*. ServerName string `protobuf:"bytes,10,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"` // The idle timeout for connections managed by the connection manager. The // idle timeout is defined as the period in which there are no active // requests. If not set, there is no idle timeout. When the idle timeout is // reached the connection will be closed. If the connection is an HTTP/2 // connection a drain sequence will occur prior to closing the connection. See // :ref:`drain_timeout // <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.drain_timeout>`. IdleTimeout *time.Duration `protobuf:"bytes,11,opt,name=idle_timeout,json=idleTimeout,stdduration" json:"idle_timeout,omitempty"` // The stream idle timeout for connections managed by the connection manager. // If not specified, this defaults to 5 minutes. The default value was selected // so as not to interfere with any smaller configured timeouts that may have // existed in configurations prior to the introduction of this feature, while // introducing robustness to TCP connections that terminate without a FIN. // // This idle timeout applies to new streams and is overridable by the // :ref:`route-level idle_timeout // <envoy_api_field_route.RouteAction.idle_timeout>`. Even on a stream in // which the override applies, prior to receipt of the initial request // headers, the :ref:`stream_idle_timeout // <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.stream_idle_timeout>` // applies. Each time an encode/decode event for headers or data is processed // for the stream, the timer will be reset. If the timeout fires, the stream // is terminated with a 408 Request Timeout error code if no upstream response // header has been received, otherwise a stream reset occurs. // // Note that it is possible to idle timeout even if the wire traffic for a stream is non-idle, due // to the granularity of events presented to the connection manager. For example, while receiving // very large request headers, it may be the case that there is traffic regularly arriving on the // wire while the connection manage is only able to observe the end-of-headers event, hence the // stream may still idle timeout. // // A value of 0 will completely disable the connection manager stream idle // timeout, although per-route idle timeout overrides will continue to apply. StreamIdleTimeout *time.Duration `protobuf:"bytes,24,opt,name=stream_idle_timeout,json=streamIdleTimeout,stdduration" json:"stream_idle_timeout,omitempty"` // The time that Envoy will wait between sending an HTTP/2 “shutdown // notification” (GOAWAY frame with max stream ID) and a final GOAWAY frame. // This is used so that Envoy provides a grace period for new streams that // race with the final GOAWAY frame. During this grace period, Envoy will // continue to accept new streams. After the grace period, a final GOAWAY // frame is sent and Envoy will start refusing new streams. Draining occurs // both when a connection hits the idle timeout or during general server // draining. The default grace period is 5000 milliseconds (5 seconds) if this // option is not specified. DrainTimeout *time.Duration `protobuf:"bytes,12,opt,name=drain_timeout,json=drainTimeout,stdduration" json:"drain_timeout,omitempty"` // Configuration for :ref:`HTTP access logs <arch_overview_access_logs>` // emitted by the connection manager. AccessLog []*v21.AccessLog `protobuf:"bytes,13,rep,name=access_log,json=accessLog" json:"access_log,omitempty"` // If set to true, the connection manager will use the real remote address // of the client connection when determining internal versus external origin and manipulating // various headers. If set to false or absent, the connection manager will use the // :ref:`config_http_conn_man_headers_x-forwarded-for` HTTP header. See the documentation for // :ref:`config_http_conn_man_headers_x-forwarded-for`, // :ref:`config_http_conn_man_headers_x-envoy-internal`, and // :ref:`config_http_conn_man_headers_x-envoy-external-address` for more information. UseRemoteAddress *types.BoolValue `protobuf:"bytes,14,opt,name=use_remote_address,json=useRemoteAddress" json:"use_remote_address,omitempty"` // The number of additional ingress proxy hops from the right side of the // :ref:`config_http_conn_man_headers_x-forwarded-for` HTTP header to trust when // determining the origin client's IP address. The default is zero if this option // is not specified. See the documentation for // :ref:`config_http_conn_man_headers_x-forwarded-for` for more information. XffNumTrustedHops uint32 `protobuf:"varint,19,opt,name=xff_num_trusted_hops,json=xffNumTrustedHops,proto3" json:"xff_num_trusted_hops,omitempty"` // Configures what network addresses are considered internal for stats and header sanitazion // purposes. If unspecified, only RFC1918 IP addresses will be considered internal. // See the documentation for :ref:`config_http_conn_man_headers_x-envoy-internal` for more // information about internal/external addresses. InternalAddressConfig *HttpConnectionManager_InternalAddressConfig `protobuf:"bytes,25,opt,name=internal_address_config,json=internalAddressConfig" json:"internal_address_config,omitempty"` // If set, Envoy will not append the remote address to the // :ref:`config_http_conn_man_headers_x-forwarded-for` HTTP header. This may be used in // conjunction with HTTP filters that explicitly manipulate XFF after the HTTP connection manager // has mutated the request headers. While :ref:`use_remote_address // <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.use_remote_address>` // will also suppress XFF addition, it has consequences for logging and other // Envoy uses of the remote address, so *skip_xff_append* should be used // when only an elision of XFF addition is intended. SkipXffAppend bool `protobuf:"varint,21,opt,name=skip_xff_append,json=skipXffAppend,proto3" json:"skip_xff_append,omitempty"` // Via header value to append to request and response headers. If this is // empty, no via header will be appended. Via string `protobuf:"bytes,22,opt,name=via,proto3" json:"via,omitempty"` // Whether the connection manager will generate the :ref:`x-request-id // <config_http_conn_man_headers_x-request-id>` header if it does not exist. This defaults to // true. Generating a random UUID4 is expensive so in high throughput scenarios where this feature // is not desired it can be disabled. GenerateRequestId *types.BoolValue `protobuf:"bytes,15,opt,name=generate_request_id,json=generateRequestId" json:"generate_request_id,omitempty"` // How to handle the :ref:`config_http_conn_man_headers_x-forwarded-client-cert` (XFCC) HTTP // header. ForwardClientCertDetails HttpConnectionManager_ForwardClientCertDetails `` /* 246-byte string literal not displayed */ // This field is valid only when :ref:`forward_client_cert_details // <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.forward_client_cert_details>` // is APPEND_FORWARD or SANITIZE_SET and the client connection is mTLS. It specifies the fields in // the client certificate to be forwarded. Note that in the // :ref:`config_http_conn_man_headers_x-forwarded-client-cert` header, *Hash* is always set, and // *By* is always set when the client certificate presents the URI type Subject Alternative Name // value. SetCurrentClientCertDetails *HttpConnectionManager_SetCurrentClientCertDetails `` /* 142-byte string literal not displayed */ // If proxy_100_continue is true, Envoy will proxy incoming "Expect: // 100-continue" headers upstream, and forward "100 Continue" responses // downstream. If this is false or not set, Envoy will instead strip the // "Expect: 100-continue" header, and send a "100 Continue" response itself. Proxy_100Continue bool `protobuf:"varint,18,opt,name=proxy_100_continue,json=proxy100Continue,proto3" json:"proxy_100_continue,omitempty"` // If // :ref:`use_remote_address // <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.use_remote_address>` // is true and represent_ipv4_remote_address_as_ipv4_mapped_ipv6 is true and the remote address is // an IPv4 address, the address will be mapped to IPv6 before it is appended to *x-forwarded-for*. // This is useful for testing compatibility of upstream services that parse the header value. For // example, 50.0.0.1 is represented as ::FFFF:50.0.0.1. See `IPv4-Mapped IPv6 Addresses // <https://tools.ietf.org/html/rfc4291#section-2.5.5.2>`_ for details. This will also affect the // :ref:`config_http_conn_man_headers_x-envoy-external-address` header. See // :ref:`http_connection_manager.represent_ipv4_remote_address_as_ipv4_mapped_ipv6 // <config_http_conn_man_runtime_represent_ipv4_remote_address_as_ipv4_mapped_ipv6>` for runtime // control. RepresentIpv4RemoteAddressAsIpv4MappedIpv6 bool `` /* 201-byte string literal not displayed */ UpgradeConfigs []*HttpConnectionManager_UpgradeConfig `protobuf:"bytes,23,rep,name=upgrade_configs,json=upgradeConfigs" json:"upgrade_configs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#comment:next free field: 25]
func (*HttpConnectionManager) Descriptor ¶
func (*HttpConnectionManager) Descriptor() ([]byte, []int)
func (*HttpConnectionManager) GetAccessLog ¶
func (m *HttpConnectionManager) GetAccessLog() []*v21.AccessLog
func (*HttpConnectionManager) GetAddUserAgent ¶
func (m *HttpConnectionManager) GetAddUserAgent() *types.BoolValue
func (*HttpConnectionManager) GetCodecType ¶
func (m *HttpConnectionManager) GetCodecType() HttpConnectionManager_CodecType
func (*HttpConnectionManager) GetDrainTimeout ¶
func (m *HttpConnectionManager) GetDrainTimeout() *time.Duration
func (*HttpConnectionManager) GetForwardClientCertDetails ¶
func (m *HttpConnectionManager) GetForwardClientCertDetails() HttpConnectionManager_ForwardClientCertDetails
func (*HttpConnectionManager) GetGenerateRequestId ¶
func (m *HttpConnectionManager) GetGenerateRequestId() *types.BoolValue
func (*HttpConnectionManager) GetHttp2ProtocolOptions ¶
func (m *HttpConnectionManager) GetHttp2ProtocolOptions() *core.Http2ProtocolOptions
func (*HttpConnectionManager) GetHttpFilters ¶
func (m *HttpConnectionManager) GetHttpFilters() []*HttpFilter
func (*HttpConnectionManager) GetHttpProtocolOptions ¶
func (m *HttpConnectionManager) GetHttpProtocolOptions() *core.Http1ProtocolOptions
func (*HttpConnectionManager) GetIdleTimeout ¶
func (m *HttpConnectionManager) GetIdleTimeout() *time.Duration
func (*HttpConnectionManager) GetInternalAddressConfig ¶ added in v0.6.0
func (m *HttpConnectionManager) GetInternalAddressConfig() *HttpConnectionManager_InternalAddressConfig
func (*HttpConnectionManager) GetProxy_100Continue ¶
func (m *HttpConnectionManager) GetProxy_100Continue() bool
func (*HttpConnectionManager) GetRds ¶
func (m *HttpConnectionManager) GetRds() *Rds
func (*HttpConnectionManager) GetRepresentIpv4RemoteAddressAsIpv4MappedIpv6 ¶
func (m *HttpConnectionManager) GetRepresentIpv4RemoteAddressAsIpv4MappedIpv6() bool
func (*HttpConnectionManager) GetRouteConfig ¶
func (m *HttpConnectionManager) GetRouteConfig() *v2.RouteConfiguration
func (*HttpConnectionManager) GetRouteSpecifier ¶
func (m *HttpConnectionManager) GetRouteSpecifier() isHttpConnectionManager_RouteSpecifier
func (*HttpConnectionManager) GetServerName ¶
func (m *HttpConnectionManager) GetServerName() string
func (*HttpConnectionManager) GetSetCurrentClientCertDetails ¶
func (m *HttpConnectionManager) GetSetCurrentClientCertDetails() *HttpConnectionManager_SetCurrentClientCertDetails
func (*HttpConnectionManager) GetSkipXffAppend ¶
func (m *HttpConnectionManager) GetSkipXffAppend() bool
func (*HttpConnectionManager) GetStatPrefix ¶
func (m *HttpConnectionManager) GetStatPrefix() string
func (*HttpConnectionManager) GetStreamIdleTimeout ¶
func (m *HttpConnectionManager) GetStreamIdleTimeout() *time.Duration
func (*HttpConnectionManager) GetTracing ¶
func (m *HttpConnectionManager) GetTracing() *HttpConnectionManager_Tracing
func (*HttpConnectionManager) GetUpgradeConfigs ¶
func (m *HttpConnectionManager) GetUpgradeConfigs() []*HttpConnectionManager_UpgradeConfig
func (*HttpConnectionManager) GetUseRemoteAddress ¶
func (m *HttpConnectionManager) GetUseRemoteAddress() *types.BoolValue
func (*HttpConnectionManager) GetVia ¶
func (m *HttpConnectionManager) GetVia() string
func (*HttpConnectionManager) GetXffNumTrustedHops ¶
func (m *HttpConnectionManager) GetXffNumTrustedHops() uint32
func (*HttpConnectionManager) Marshal ¶
func (m *HttpConnectionManager) Marshal() (dAtA []byte, err error)
func (*HttpConnectionManager) MarshalTo ¶
func (m *HttpConnectionManager) MarshalTo(dAtA []byte) (int, error)
func (*HttpConnectionManager) ProtoMessage ¶
func (*HttpConnectionManager) ProtoMessage()
func (*HttpConnectionManager) Reset ¶
func (m *HttpConnectionManager) Reset()
func (*HttpConnectionManager) Size ¶
func (m *HttpConnectionManager) Size() (n int)
func (*HttpConnectionManager) String ¶
func (m *HttpConnectionManager) String() string
func (*HttpConnectionManager) Unmarshal ¶
func (m *HttpConnectionManager) Unmarshal(dAtA []byte) error
func (*HttpConnectionManager) Validate ¶
func (m *HttpConnectionManager) Validate() error
Validate checks the field values on HttpConnectionManager with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HttpConnectionManager) XXX_DiscardUnknown ¶
func (m *HttpConnectionManager) XXX_DiscardUnknown()
func (*HttpConnectionManager) XXX_Marshal ¶
func (m *HttpConnectionManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpConnectionManager) XXX_Merge ¶
func (dst *HttpConnectionManager) XXX_Merge(src proto.Message)
func (*HttpConnectionManager) XXX_OneofFuncs ¶
func (*HttpConnectionManager) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*HttpConnectionManager) XXX_Size ¶
func (m *HttpConnectionManager) XXX_Size() int
func (*HttpConnectionManager) XXX_Unmarshal ¶
func (m *HttpConnectionManager) XXX_Unmarshal(b []byte) error
type HttpConnectionManagerValidationError ¶
type HttpConnectionManagerValidationError struct { Field string Reason string Cause error Key bool }
HttpConnectionManagerValidationError is the validation error returned by HttpConnectionManager.Validate if the designated constraints aren't met.
func (HttpConnectionManagerValidationError) Error ¶
func (e HttpConnectionManagerValidationError) Error() string
Error satisfies the builtin error interface
type HttpConnectionManager_CodecType ¶
type HttpConnectionManager_CodecType int32
const ( // For every new connection, the connection manager will determine which // codec to use. This mode supports both ALPN for TLS listeners as well as // protocol inference for plaintext listeners. If ALPN data is available, it // is preferred, otherwise protocol inference is used. In almost all cases, // this is the right option to choose for this setting. AUTO HttpConnectionManager_CodecType = 0 // The connection manager will assume that the client is speaking HTTP/1.1. HTTP1 HttpConnectionManager_CodecType = 1 // The connection manager will assume that the client is speaking HTTP/2 // (Envoy does not require HTTP/2 to take place over TLS or to use ALPN. // Prior knowledge is allowed). HTTP2 HttpConnectionManager_CodecType = 2 )
func (HttpConnectionManager_CodecType) EnumDescriptor ¶
func (HttpConnectionManager_CodecType) EnumDescriptor() ([]byte, []int)
func (HttpConnectionManager_CodecType) String ¶
func (x HttpConnectionManager_CodecType) String() string
type HttpConnectionManager_ForwardClientCertDetails ¶
type HttpConnectionManager_ForwardClientCertDetails int32
How to handle the :ref:`config_http_conn_man_headers_x-forwarded-client-cert` (XFCC) HTTP header.
const ( // Do not send the XFCC header to the next hop. This is the default value. SANITIZE HttpConnectionManager_ForwardClientCertDetails = 0 // When the client connection is mTLS (Mutual TLS), forward the XFCC header // in the request. FORWARD_ONLY HttpConnectionManager_ForwardClientCertDetails = 1 // When the client connection is mTLS, append the client certificate // information to the request’s XFCC header and forward it. APPEND_FORWARD HttpConnectionManager_ForwardClientCertDetails = 2 // When the client connection is mTLS, reset the XFCC header with the client // certificate information and send it to the next hop. SANITIZE_SET HttpConnectionManager_ForwardClientCertDetails = 3 // Always forward the XFCC header in the request, regardless of whether the // client connection is mTLS. ALWAYS_FORWARD_ONLY HttpConnectionManager_ForwardClientCertDetails = 4 )
func (HttpConnectionManager_ForwardClientCertDetails) EnumDescriptor ¶
func (HttpConnectionManager_ForwardClientCertDetails) EnumDescriptor() ([]byte, []int)
func (HttpConnectionManager_ForwardClientCertDetails) String ¶
func (x HttpConnectionManager_ForwardClientCertDetails) String() string
type HttpConnectionManager_InternalAddressConfig ¶ added in v0.6.0
type HttpConnectionManager_InternalAddressConfig struct { // Whether unix socket addresses should be considered internal. UnixSockets bool `protobuf:"varint,1,opt,name=unix_sockets,json=unixSockets,proto3" json:"unix_sockets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HttpConnectionManager_InternalAddressConfig) Descriptor ¶ added in v0.6.0
func (*HttpConnectionManager_InternalAddressConfig) Descriptor() ([]byte, []int)
func (*HttpConnectionManager_InternalAddressConfig) GetUnixSockets ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) GetUnixSockets() bool
func (*HttpConnectionManager_InternalAddressConfig) Marshal ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) Marshal() (dAtA []byte, err error)
func (*HttpConnectionManager_InternalAddressConfig) MarshalTo ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) MarshalTo(dAtA []byte) (int, error)
func (*HttpConnectionManager_InternalAddressConfig) ProtoMessage ¶ added in v0.6.0
func (*HttpConnectionManager_InternalAddressConfig) ProtoMessage()
func (*HttpConnectionManager_InternalAddressConfig) Reset ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) Reset()
func (*HttpConnectionManager_InternalAddressConfig) Size ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) Size() (n int)
func (*HttpConnectionManager_InternalAddressConfig) String ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) String() string
func (*HttpConnectionManager_InternalAddressConfig) Unmarshal ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) Unmarshal(dAtA []byte) error
func (*HttpConnectionManager_InternalAddressConfig) Validate ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) Validate() error
Validate checks the field values on HttpConnectionManager_InternalAddressConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HttpConnectionManager_InternalAddressConfig) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) XXX_DiscardUnknown()
func (*HttpConnectionManager_InternalAddressConfig) XXX_Marshal ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpConnectionManager_InternalAddressConfig) XXX_Merge ¶ added in v0.6.0
func (dst *HttpConnectionManager_InternalAddressConfig) XXX_Merge(src proto.Message)
func (*HttpConnectionManager_InternalAddressConfig) XXX_Size ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) XXX_Size() int
func (*HttpConnectionManager_InternalAddressConfig) XXX_Unmarshal ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) XXX_Unmarshal(b []byte) error
type HttpConnectionManager_InternalAddressConfigValidationError ¶ added in v0.6.0
type HttpConnectionManager_InternalAddressConfigValidationError struct { Field string Reason string Cause error Key bool }
HttpConnectionManager_InternalAddressConfigValidationError is the validation error returned by HttpConnectionManager_InternalAddressConfig.Validate if the designated constraints aren't met.
func (HttpConnectionManager_InternalAddressConfigValidationError) Error ¶ added in v0.6.0
func (e HttpConnectionManager_InternalAddressConfigValidationError) Error() string
Error satisfies the builtin error interface
type HttpConnectionManager_Rds ¶
type HttpConnectionManager_Rds struct {
Rds *Rds `protobuf:"bytes,3,opt,name=rds,oneof"`
}
func (*HttpConnectionManager_Rds) MarshalTo ¶
func (m *HttpConnectionManager_Rds) MarshalTo(dAtA []byte) (int, error)
func (*HttpConnectionManager_Rds) Size ¶
func (m *HttpConnectionManager_Rds) Size() (n int)
type HttpConnectionManager_RouteConfig ¶
type HttpConnectionManager_RouteConfig struct {
RouteConfig *v2.RouteConfiguration `protobuf:"bytes,4,opt,name=route_config,json=routeConfig,oneof"`
}
func (*HttpConnectionManager_RouteConfig) MarshalTo ¶
func (m *HttpConnectionManager_RouteConfig) MarshalTo(dAtA []byte) (int, error)
func (*HttpConnectionManager_RouteConfig) Size ¶
func (m *HttpConnectionManager_RouteConfig) Size() (n int)
type HttpConnectionManager_SetCurrentClientCertDetails ¶
type HttpConnectionManager_SetCurrentClientCertDetails struct { // Whether to forward the subject of the client cert. Defaults to false. Subject *types.BoolValue `protobuf:"bytes,1,opt,name=subject" json:"subject,omitempty"` // Whether to forward the entire client cert in URL encoded PEM format. This will appear in the // XFCC header comma separated from other values with the value Cert="PEM". // Defaults to false. Cert bool `protobuf:"varint,3,opt,name=cert,proto3" json:"cert,omitempty"` // Whether to forward the DNS type Subject Alternative Names of the client cert. // Defaults to false. Dns bool `protobuf:"varint,4,opt,name=dns,proto3" json:"dns,omitempty"` // Whether to forward the URI type Subject Alternative Name of the client cert. Defaults to // false. Uri bool `protobuf:"varint,5,opt,name=uri,proto3" json:"uri,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HttpConnectionManager_SetCurrentClientCertDetails) Descriptor ¶
func (*HttpConnectionManager_SetCurrentClientCertDetails) Descriptor() ([]byte, []int)
func (*HttpConnectionManager_SetCurrentClientCertDetails) GetCert ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) GetCert() bool
func (*HttpConnectionManager_SetCurrentClientCertDetails) GetDns ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) GetDns() bool
func (*HttpConnectionManager_SetCurrentClientCertDetails) GetSubject ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) GetSubject() *types.BoolValue
func (*HttpConnectionManager_SetCurrentClientCertDetails) GetUri ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) GetUri() bool
func (*HttpConnectionManager_SetCurrentClientCertDetails) Marshal ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) Marshal() (dAtA []byte, err error)
func (*HttpConnectionManager_SetCurrentClientCertDetails) MarshalTo ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) MarshalTo(dAtA []byte) (int, error)
func (*HttpConnectionManager_SetCurrentClientCertDetails) ProtoMessage ¶
func (*HttpConnectionManager_SetCurrentClientCertDetails) ProtoMessage()
func (*HttpConnectionManager_SetCurrentClientCertDetails) Reset ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) Reset()
func (*HttpConnectionManager_SetCurrentClientCertDetails) Size ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) Size() (n int)
func (*HttpConnectionManager_SetCurrentClientCertDetails) String ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) String() string
func (*HttpConnectionManager_SetCurrentClientCertDetails) Unmarshal ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) Unmarshal(dAtA []byte) error
func (*HttpConnectionManager_SetCurrentClientCertDetails) Validate ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) Validate() error
Validate checks the field values on HttpConnectionManager_SetCurrentClientCertDetails with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HttpConnectionManager_SetCurrentClientCertDetails) XXX_DiscardUnknown ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_DiscardUnknown()
func (*HttpConnectionManager_SetCurrentClientCertDetails) XXX_Marshal ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpConnectionManager_SetCurrentClientCertDetails) XXX_Merge ¶
func (dst *HttpConnectionManager_SetCurrentClientCertDetails) XXX_Merge(src proto.Message)
func (*HttpConnectionManager_SetCurrentClientCertDetails) XXX_Size ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_Size() int
func (*HttpConnectionManager_SetCurrentClientCertDetails) XXX_Unmarshal ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_Unmarshal(b []byte) error
type HttpConnectionManager_SetCurrentClientCertDetailsValidationError ¶
type HttpConnectionManager_SetCurrentClientCertDetailsValidationError struct { Field string Reason string Cause error Key bool }
HttpConnectionManager_SetCurrentClientCertDetailsValidationError is the validation error returned by HttpConnectionManager_SetCurrentClientCertDetails.Validate if the designated constraints aren't met.
func (HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Error ¶
func (e HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Error() string
Error satisfies the builtin error interface
type HttpConnectionManager_Tracing ¶
type HttpConnectionManager_Tracing struct { // The span name will be derived from this field. OperationName HttpConnectionManager_Tracing_OperationName `` /* 205-byte string literal not displayed */ // A list of header names used to create tags for the active span. The header name is used to // populate the tag name, and the header value is used to populate the tag value. The tag is // created if the specified header name is present in the request's headers. RequestHeadersForTags []string `protobuf:"bytes,2,rep,name=request_headers_for_tags,json=requestHeadersForTags" json:"request_headers_for_tags,omitempty"` // Target percentage of requests managed by this HTTP connection manager that will be force // traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` // header is set. This field is a direct analog for the runtime variable // 'tracing.client_sampling' in the :ref:`HTTP Connection Manager // <config_http_conn_man_runtime>`. // Default: 100% ClientSampling *_type.Percent `protobuf:"bytes,3,opt,name=client_sampling,json=clientSampling" json:"client_sampling,omitempty"` // Target percentage of requests managed by this HTTP connection manager that will be randomly // selected for trace generation, if not requested by the client or not forced. This field is // a direct analog for the runtime variable 'tracing.random_sampling' in the // :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. // Default: 100% RandomSampling *_type.Percent `protobuf:"bytes,4,opt,name=random_sampling,json=randomSampling" json:"random_sampling,omitempty"` // Target percentage of requests managed by this HTTP connection manager that will be traced // after all other sampling checks have been applied (client-directed, force tracing, random // sampling). This field functions as an upper limit on the total configured sampling rate. For // instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1% // of client requests with the appropriate headers to be force traced. This field is a direct // analog for the runtime variable 'tracing.global_enabled' in the // :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. // Default: 100% OverallSampling *_type.Percent `protobuf:"bytes,5,opt,name=overall_sampling,json=overallSampling" json:"overall_sampling,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HttpConnectionManager_Tracing) Descriptor ¶
func (*HttpConnectionManager_Tracing) Descriptor() ([]byte, []int)
func (*HttpConnectionManager_Tracing) GetClientSampling ¶
func (m *HttpConnectionManager_Tracing) GetClientSampling() *_type.Percent
func (*HttpConnectionManager_Tracing) GetOperationName ¶
func (m *HttpConnectionManager_Tracing) GetOperationName() HttpConnectionManager_Tracing_OperationName
func (*HttpConnectionManager_Tracing) GetOverallSampling ¶
func (m *HttpConnectionManager_Tracing) GetOverallSampling() *_type.Percent
func (*HttpConnectionManager_Tracing) GetRandomSampling ¶
func (m *HttpConnectionManager_Tracing) GetRandomSampling() *_type.Percent
func (*HttpConnectionManager_Tracing) GetRequestHeadersForTags ¶
func (m *HttpConnectionManager_Tracing) GetRequestHeadersForTags() []string
func (*HttpConnectionManager_Tracing) Marshal ¶
func (m *HttpConnectionManager_Tracing) Marshal() (dAtA []byte, err error)
func (*HttpConnectionManager_Tracing) MarshalTo ¶
func (m *HttpConnectionManager_Tracing) MarshalTo(dAtA []byte) (int, error)
func (*HttpConnectionManager_Tracing) ProtoMessage ¶
func (*HttpConnectionManager_Tracing) ProtoMessage()
func (*HttpConnectionManager_Tracing) Reset ¶
func (m *HttpConnectionManager_Tracing) Reset()
func (*HttpConnectionManager_Tracing) Size ¶
func (m *HttpConnectionManager_Tracing) Size() (n int)
func (*HttpConnectionManager_Tracing) String ¶
func (m *HttpConnectionManager_Tracing) String() string
func (*HttpConnectionManager_Tracing) Unmarshal ¶
func (m *HttpConnectionManager_Tracing) Unmarshal(dAtA []byte) error
func (*HttpConnectionManager_Tracing) Validate ¶
func (m *HttpConnectionManager_Tracing) Validate() error
Validate checks the field values on HttpConnectionManager_Tracing with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HttpConnectionManager_Tracing) XXX_DiscardUnknown ¶
func (m *HttpConnectionManager_Tracing) XXX_DiscardUnknown()
func (*HttpConnectionManager_Tracing) XXX_Marshal ¶
func (m *HttpConnectionManager_Tracing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpConnectionManager_Tracing) XXX_Merge ¶
func (dst *HttpConnectionManager_Tracing) XXX_Merge(src proto.Message)
func (*HttpConnectionManager_Tracing) XXX_Size ¶
func (m *HttpConnectionManager_Tracing) XXX_Size() int
func (*HttpConnectionManager_Tracing) XXX_Unmarshal ¶
func (m *HttpConnectionManager_Tracing) XXX_Unmarshal(b []byte) error
type HttpConnectionManager_TracingValidationError ¶
type HttpConnectionManager_TracingValidationError struct { Field string Reason string Cause error Key bool }
HttpConnectionManager_TracingValidationError is the validation error returned by HttpConnectionManager_Tracing.Validate if the designated constraints aren't met.
func (HttpConnectionManager_TracingValidationError) Error ¶
func (e HttpConnectionManager_TracingValidationError) Error() string
Error satisfies the builtin error interface
type HttpConnectionManager_Tracing_OperationName ¶
type HttpConnectionManager_Tracing_OperationName int32
const ( // The HTTP listener is used for ingress/incoming requests. INGRESS HttpConnectionManager_Tracing_OperationName = 0 // The HTTP listener is used for egress/outgoing requests. EGRESS HttpConnectionManager_Tracing_OperationName = 1 )
func (HttpConnectionManager_Tracing_OperationName) EnumDescriptor ¶
func (HttpConnectionManager_Tracing_OperationName) EnumDescriptor() ([]byte, []int)
func (HttpConnectionManager_Tracing_OperationName) String ¶
func (x HttpConnectionManager_Tracing_OperationName) String() string
type HttpConnectionManager_UpgradeConfig ¶
type HttpConnectionManager_UpgradeConfig struct { // The case-insensitive name of this upgrade, e.g. "websocket". // For each upgrade type present in upgrade_configs, requests with // Upgrade: [upgrade_type] // will be proxied upstream. UpgradeType string `protobuf:"bytes,1,opt,name=upgrade_type,json=upgradeType,proto3" json:"upgrade_type,omitempty"` // If present, this represents the filter chain which will be created for // this type of upgrade. If no filters are present, the filter chain for // HTTP connections will be used for this upgrade type. Filters []*HttpFilter `protobuf:"bytes,2,rep,name=filters" json:"filters,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The configuration for HTTP upgrades. For each upgrade type desired, an UpgradeConfig must be added.
.. warning::
The current implementation of upgrade headers does not handle multi-valued upgrade headers. Support for multi-valued headers may be added in the future if needed.
.. warning::
The current implementation of upgrade headers does not work with HTTP/2 upstreams.
func (*HttpConnectionManager_UpgradeConfig) Descriptor ¶
func (*HttpConnectionManager_UpgradeConfig) Descriptor() ([]byte, []int)
func (*HttpConnectionManager_UpgradeConfig) GetFilters ¶
func (m *HttpConnectionManager_UpgradeConfig) GetFilters() []*HttpFilter
func (*HttpConnectionManager_UpgradeConfig) GetUpgradeType ¶
func (m *HttpConnectionManager_UpgradeConfig) GetUpgradeType() string
func (*HttpConnectionManager_UpgradeConfig) Marshal ¶
func (m *HttpConnectionManager_UpgradeConfig) Marshal() (dAtA []byte, err error)
func (*HttpConnectionManager_UpgradeConfig) MarshalTo ¶
func (m *HttpConnectionManager_UpgradeConfig) MarshalTo(dAtA []byte) (int, error)
func (*HttpConnectionManager_UpgradeConfig) ProtoMessage ¶
func (*HttpConnectionManager_UpgradeConfig) ProtoMessage()
func (*HttpConnectionManager_UpgradeConfig) Reset ¶
func (m *HttpConnectionManager_UpgradeConfig) Reset()
func (*HttpConnectionManager_UpgradeConfig) Size ¶
func (m *HttpConnectionManager_UpgradeConfig) Size() (n int)
func (*HttpConnectionManager_UpgradeConfig) String ¶
func (m *HttpConnectionManager_UpgradeConfig) String() string
func (*HttpConnectionManager_UpgradeConfig) Unmarshal ¶
func (m *HttpConnectionManager_UpgradeConfig) Unmarshal(dAtA []byte) error
func (*HttpConnectionManager_UpgradeConfig) Validate ¶
func (m *HttpConnectionManager_UpgradeConfig) Validate() error
Validate checks the field values on HttpConnectionManager_UpgradeConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HttpConnectionManager_UpgradeConfig) XXX_DiscardUnknown ¶
func (m *HttpConnectionManager_UpgradeConfig) XXX_DiscardUnknown()
func (*HttpConnectionManager_UpgradeConfig) XXX_Marshal ¶
func (m *HttpConnectionManager_UpgradeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpConnectionManager_UpgradeConfig) XXX_Merge ¶
func (dst *HttpConnectionManager_UpgradeConfig) XXX_Merge(src proto.Message)
func (*HttpConnectionManager_UpgradeConfig) XXX_Size ¶
func (m *HttpConnectionManager_UpgradeConfig) XXX_Size() int
func (*HttpConnectionManager_UpgradeConfig) XXX_Unmarshal ¶
func (m *HttpConnectionManager_UpgradeConfig) XXX_Unmarshal(b []byte) error
type HttpConnectionManager_UpgradeConfigValidationError ¶
type HttpConnectionManager_UpgradeConfigValidationError struct { Field string Reason string Cause error Key bool }
HttpConnectionManager_UpgradeConfigValidationError is the validation error returned by HttpConnectionManager_UpgradeConfig.Validate if the designated constraints aren't met.
func (HttpConnectionManager_UpgradeConfigValidationError) Error ¶
func (e HttpConnectionManager_UpgradeConfigValidationError) Error() string
Error satisfies the builtin error interface
type HttpFilter ¶
type HttpFilter struct { // The name of the filter to instantiate. The name must match a supported // filter. The built-in filters are: // // [#comment:TODO(mattklein123): Auto generate the following list] // * :ref:`envoy.buffer <config_http_filters_buffer>` // * :ref:`envoy.cors <config_http_filters_cors>` // * :ref:`envoy.fault <config_http_filters_fault_injection>` // * :ref:`envoy.gzip <config_http_filters_gzip>` // * :ref:`envoy.http_dynamo_filter <config_http_filters_dynamo>` // * :ref:`envoy.grpc_http1_bridge <config_http_filters_grpc_bridge>` // * :ref:`envoy.grpc_json_transcoder <config_http_filters_grpc_json_transcoder>` // * :ref:`envoy.grpc_web <config_http_filters_grpc_web>` // * :ref:`envoy.health_check <config_http_filters_health_check>` // * :ref:`envoy.header_to_metadata <config_http_filters_header_to_metadata>` // * :ref:`envoy.ip_tagging <config_http_filters_ip_tagging>` // * :ref:`envoy.lua <config_http_filters_lua>` // * :ref:`envoy.rate_limit <config_http_filters_rate_limit>` // * :ref:`envoy.router <config_http_filters_router>` // * :ref:`envoy.squash <config_http_filters_squash>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Filter specific configuration which depends on the filter being // instantiated. See the supported filters for further documentation. Config *types.Struct `protobuf:"bytes,2,opt,name=config" json:"config,omitempty"` // [#not-implemented-hide:] // This is hidden as type has been deprecated and is no longer required. DeprecatedV1 *HttpFilter_DeprecatedV1 `protobuf:"bytes,3,opt,name=deprecated_v1,json=deprecatedV1" json:"deprecated_v1,omitempty"` // Deprecated: Do not use. XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HttpFilter) Descriptor ¶
func (*HttpFilter) Descriptor() ([]byte, []int)
func (*HttpFilter) GetConfig ¶
func (m *HttpFilter) GetConfig() *types.Struct
func (*HttpFilter) GetDeprecatedV1
deprecated
func (m *HttpFilter) GetDeprecatedV1() *HttpFilter_DeprecatedV1
Deprecated: Do not use.
func (*HttpFilter) GetName ¶
func (m *HttpFilter) GetName() string
func (*HttpFilter) Marshal ¶
func (m *HttpFilter) Marshal() (dAtA []byte, err error)
func (*HttpFilter) ProtoMessage ¶
func (*HttpFilter) ProtoMessage()
func (*HttpFilter) Reset ¶
func (m *HttpFilter) Reset()
func (*HttpFilter) Size ¶
func (m *HttpFilter) Size() (n int)
func (*HttpFilter) String ¶
func (m *HttpFilter) String() string
func (*HttpFilter) Unmarshal ¶
func (m *HttpFilter) Unmarshal(dAtA []byte) error
func (*HttpFilter) Validate ¶
func (m *HttpFilter) Validate() error
Validate checks the field values on HttpFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HttpFilter) XXX_DiscardUnknown ¶
func (m *HttpFilter) XXX_DiscardUnknown()
func (*HttpFilter) XXX_Marshal ¶
func (m *HttpFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpFilter) XXX_Merge ¶
func (dst *HttpFilter) XXX_Merge(src proto.Message)
func (*HttpFilter) XXX_Size ¶
func (m *HttpFilter) XXX_Size() int
func (*HttpFilter) XXX_Unmarshal ¶
func (m *HttpFilter) XXX_Unmarshal(b []byte) error
type HttpFilterValidationError ¶
HttpFilterValidationError is the validation error returned by HttpFilter.Validate if the designated constraints aren't met.
func (HttpFilterValidationError) Error ¶
func (e HttpFilterValidationError) Error() string
Error satisfies the builtin error interface
type HttpFilter_DeprecatedV1 ¶
type HttpFilter_DeprecatedV1 struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#not-implemented-hide:] This is hidden as type has been deprecated and is no longer required.
func (*HttpFilter_DeprecatedV1) Descriptor ¶
func (*HttpFilter_DeprecatedV1) Descriptor() ([]byte, []int)
func (*HttpFilter_DeprecatedV1) GetType ¶
func (m *HttpFilter_DeprecatedV1) GetType() string
func (*HttpFilter_DeprecatedV1) Marshal ¶
func (m *HttpFilter_DeprecatedV1) Marshal() (dAtA []byte, err error)
func (*HttpFilter_DeprecatedV1) MarshalTo ¶
func (m *HttpFilter_DeprecatedV1) MarshalTo(dAtA []byte) (int, error)
func (*HttpFilter_DeprecatedV1) ProtoMessage ¶
func (*HttpFilter_DeprecatedV1) ProtoMessage()
func (*HttpFilter_DeprecatedV1) Reset ¶
func (m *HttpFilter_DeprecatedV1) Reset()
func (*HttpFilter_DeprecatedV1) Size ¶
func (m *HttpFilter_DeprecatedV1) Size() (n int)
func (*HttpFilter_DeprecatedV1) String ¶
func (m *HttpFilter_DeprecatedV1) String() string
func (*HttpFilter_DeprecatedV1) Unmarshal ¶
func (m *HttpFilter_DeprecatedV1) Unmarshal(dAtA []byte) error
func (*HttpFilter_DeprecatedV1) Validate ¶
func (m *HttpFilter_DeprecatedV1) Validate() error
Validate checks the field values on HttpFilter_DeprecatedV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HttpFilter_DeprecatedV1) XXX_DiscardUnknown ¶
func (m *HttpFilter_DeprecatedV1) XXX_DiscardUnknown()
func (*HttpFilter_DeprecatedV1) XXX_Marshal ¶
func (m *HttpFilter_DeprecatedV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpFilter_DeprecatedV1) XXX_Merge ¶
func (dst *HttpFilter_DeprecatedV1) XXX_Merge(src proto.Message)
func (*HttpFilter_DeprecatedV1) XXX_Size ¶
func (m *HttpFilter_DeprecatedV1) XXX_Size() int
func (*HttpFilter_DeprecatedV1) XXX_Unmarshal ¶
func (m *HttpFilter_DeprecatedV1) XXX_Unmarshal(b []byte) error
type HttpFilter_DeprecatedV1ValidationError ¶
type HttpFilter_DeprecatedV1ValidationError struct { Field string Reason string Cause error Key bool }
HttpFilter_DeprecatedV1ValidationError is the validation error returned by HttpFilter_DeprecatedV1.Validate if the designated constraints aren't met.
func (HttpFilter_DeprecatedV1ValidationError) Error ¶
func (e HttpFilter_DeprecatedV1ValidationError) Error() string
Error satisfies the builtin error interface
type Rds ¶
type Rds struct { // Configuration source specifier for RDS. ConfigSource core.ConfigSource `protobuf:"bytes,1,opt,name=config_source,json=configSource" json:"config_source"` // The name of the route configuration. This name will be passed to the RDS // API. This allows an Envoy configuration with multiple HTTP listeners (and // associated HTTP connection manager filters) to use different route // configurations. RouteConfigName string `protobuf:"bytes,2,opt,name=route_config_name,json=routeConfigName,proto3" json:"route_config_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Rds) Descriptor ¶
func (*Rds) GetConfigSource ¶
func (m *Rds) GetConfigSource() core.ConfigSource
func (*Rds) GetRouteConfigName ¶
func (*Rds) ProtoMessage ¶
func (*Rds) ProtoMessage()
func (*Rds) Validate ¶
Validate checks the field values on Rds with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Rds) XXX_DiscardUnknown ¶
func (m *Rds) XXX_DiscardUnknown()
func (*Rds) XXX_Unmarshal ¶
type RdsValidationError ¶
RdsValidationError is the validation error returned by Rds.Validate if the designated constraints aren't met.
func (RdsValidationError) Error ¶
func (e RdsValidationError) Error() string
Error satisfies the builtin error interface