v2

package
v0.0.0-...-113c6ea Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package v2 is a generated protocol buffer package.

It is generated from these files:

envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.proto

It has these top-level messages:

HttpConnectionManager
Rds
HttpFilter

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthHttpConnectionManager = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHttpConnectionManager   = fmt.Errorf("proto: integer overflow")
)
View Source
var HttpConnectionManager_CodecType_name = map[int32]string{
	0: "AUTO",
	1: "HTTP1",
	2: "HTTP2",
}
View Source
var HttpConnectionManager_CodecType_value = map[string]int32{
	"AUTO":  0,
	"HTTP1": 1,
	"HTTP2": 2,
}
View Source
var HttpConnectionManager_ForwardClientCertDetails_name = map[int32]string{
	0: "SANITIZE",
	1: "FORWARD_ONLY",
	2: "APPEND_FORWARD",
	3: "SANITIZE_SET",
	4: "ALWAYS_FORWARD_ONLY",
}
View Source
var HttpConnectionManager_ForwardClientCertDetails_value = map[string]int32{
	"SANITIZE":            0,
	"FORWARD_ONLY":        1,
	"APPEND_FORWARD":      2,
	"SANITIZE_SET":        3,
	"ALWAYS_FORWARD_ONLY": 4,
}
View Source
var HttpConnectionManager_Tracing_OperationName_name = map[int32]string{
	0: "INGRESS",
	1: "EGRESS",
}
View Source
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 *google_protobuf1.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 *envoy_api_v2_core3.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 *envoy_api_v2_core3.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 []*envoy_config_filter_accesslog_v2.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 *google_protobuf1.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"`
	// 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
	// <config_http_conn_man_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 *google_protobuf1.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"`
}

[#comment:next free field: 25]

func (*HttpConnectionManager) Descriptor

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

func (*HttpConnectionManager) GetAccessLog

func (*HttpConnectionManager) GetAddUserAgent

func (m *HttpConnectionManager) GetAddUserAgent() *google_protobuf1.BoolValue

func (*HttpConnectionManager) GetCodecType

func (*HttpConnectionManager) GetDrainTimeout

func (m *HttpConnectionManager) GetDrainTimeout() *time.Duration

func (*HttpConnectionManager) GetForwardClientCertDetails

func (*HttpConnectionManager) GetGenerateRequestId

func (m *HttpConnectionManager) GetGenerateRequestId() *google_protobuf1.BoolValue

func (*HttpConnectionManager) GetHttp2ProtocolOptions

func (m *HttpConnectionManager) GetHttp2ProtocolOptions() *envoy_api_v2_core3.Http2ProtocolOptions

func (*HttpConnectionManager) GetHttpFilters

func (m *HttpConnectionManager) GetHttpFilters() []*HttpFilter

func (*HttpConnectionManager) GetHttpProtocolOptions

func (m *HttpConnectionManager) GetHttpProtocolOptions() *envoy_api_v2_core3.Http1ProtocolOptions

func (*HttpConnectionManager) GetIdleTimeout

func (m *HttpConnectionManager) GetIdleTimeout() *time.Duration

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 (*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 (*HttpConnectionManager) GetUpgradeConfigs

func (*HttpConnectionManager) GetUseRemoteAddress

func (m *HttpConnectionManager) GetUseRemoteAddress() *google_protobuf1.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_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.

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

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

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) String

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 *envoy_api_v21.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 *google_protobuf1.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"`
}

func (*HttpConnectionManager_SetCurrentClientCertDetails) Descriptor

func (*HttpConnectionManager_SetCurrentClientCertDetails) GetCert

func (*HttpConnectionManager_SetCurrentClientCertDetails) GetDns

func (*HttpConnectionManager_SetCurrentClientCertDetails) GetSubject

func (*HttpConnectionManager_SetCurrentClientCertDetails) GetUri

func (*HttpConnectionManager_SetCurrentClientCertDetails) Marshal

func (*HttpConnectionManager_SetCurrentClientCertDetails) MarshalTo

func (*HttpConnectionManager_SetCurrentClientCertDetails) ProtoMessage

func (*HttpConnectionManager_SetCurrentClientCertDetails) Reset

func (*HttpConnectionManager_SetCurrentClientCertDetails) Size

func (*HttpConnectionManager_SetCurrentClientCertDetails) String

func (*HttpConnectionManager_SetCurrentClientCertDetails) Unmarshal

func (*HttpConnectionManager_SetCurrentClientCertDetails) Validate

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.

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

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 *envoy_type1.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 *envoy_type1.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 *envoy_type1.Percent `protobuf:"bytes,5,opt,name=overall_sampling,json=overallSampling" json:"overall_sampling,omitempty"`
}

func (*HttpConnectionManager_Tracing) Descriptor

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

func (*HttpConnectionManager_Tracing) GetClientSampling

func (m *HttpConnectionManager_Tracing) GetClientSampling() *envoy_type1.Percent

func (*HttpConnectionManager_Tracing) GetOperationName

func (*HttpConnectionManager_Tracing) GetOverallSampling

func (m *HttpConnectionManager_Tracing) GetOverallSampling() *envoy_type1.Percent

func (*HttpConnectionManager_Tracing) GetRandomSampling

func (m *HttpConnectionManager_Tracing) GetRandomSampling() *envoy_type1.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 (*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.

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

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

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"`
}

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 (*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 (*HttpConnectionManager_UpgradeConfig) Size

func (*HttpConnectionManager_UpgradeConfig) String

func (*HttpConnectionManager_UpgradeConfig) Unmarshal

func (m *HttpConnectionManager_UpgradeConfig) Unmarshal(dAtA []byte) error

func (*HttpConnectionManager_UpgradeConfig) Validate

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.

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

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 *google_protobuf.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"`
}

func (*HttpFilter) Descriptor

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

func (*HttpFilter) GetConfig

func (m *HttpFilter) GetConfig() *google_protobuf.Struct

func (*HttpFilter) GetDeprecatedV1

func (m *HttpFilter) GetDeprecatedV1() *HttpFilter_DeprecatedV1

func (*HttpFilter) GetName

func (m *HttpFilter) GetName() string

func (*HttpFilter) Marshal

func (m *HttpFilter) Marshal() (dAtA []byte, err error)

func (*HttpFilter) MarshalTo

func (m *HttpFilter) MarshalTo(dAtA []byte) (int, 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.

type HttpFilterValidationError

type HttpFilterValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

HttpFilterValidationError is the validation error returned by HttpFilter.Validate if the designated constraints aren't met.

func (HttpFilterValidationError) Error

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"`
}

[#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.

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

Error satisfies the builtin error interface

type Rds

type Rds struct {
	// Configuration source specifier for RDS.
	ConfigSource envoy_api_v2_core2.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"`
}

func (*Rds) Descriptor

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

func (*Rds) GetConfigSource

func (m *Rds) GetConfigSource() envoy_api_v2_core2.ConfigSource

func (*Rds) GetRouteConfigName

func (m *Rds) GetRouteConfigName() string

func (*Rds) Marshal

func (m *Rds) Marshal() (dAtA []byte, err error)

func (*Rds) MarshalTo

func (m *Rds) MarshalTo(dAtA []byte) (int, error)

func (*Rds) ProtoMessage

func (*Rds) ProtoMessage()

func (*Rds) Reset

func (m *Rds) Reset()

func (*Rds) Size

func (m *Rds) Size() (n int)

func (*Rds) String

func (m *Rds) String() string

func (*Rds) Unmarshal

func (m *Rds) Unmarshal(dAtA []byte) error

func (*Rds) Validate

func (m *Rds) Validate() error

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.

type RdsValidationError

type RdsValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

Jump to

Keyboard shortcuts

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