envoy_api_v3alpha_listener

package
v1.0.0-ea10 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthListener = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowListener   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthQuicConfig = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuicConfig   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthUdpListenerConfig = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowUdpListenerConfig   = fmt.Errorf("proto: integer overflow")
)
View Source
var FilterChainMatch_ConnectionSourceType_name = map[int32]string{
	0: "ANY",
	1: "LOCAL",
	2: "EXTERNAL",
}
View Source
var FilterChainMatch_ConnectionSourceType_value = map[string]int32{
	"ANY":      0,
	"LOCAL":    1,
	"EXTERNAL": 2,
}

Functions

This section is empty.

Types

type Filter

type Filter struct {
	// The name of the filter to instantiate. The name must match a
	// :ref:`supported filter <config_network_filters>`.
	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.
	//
	// Types that are valid to be assigned to ConfigType:
	//	*Filter_TypedConfig
	ConfigType           isFilter_ConfigType `protobuf_oneof:"config_type"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*Filter) Descriptor

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

func (*Filter) GetConfigType

func (m *Filter) GetConfigType() isFilter_ConfigType

func (*Filter) GetName

func (m *Filter) GetName() string

func (*Filter) GetTypedConfig

func (m *Filter) GetTypedConfig() *types.Any

func (*Filter) Marshal

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

func (*Filter) MarshalTo

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

func (*Filter) MarshalToSizedBuffer

func (m *Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) Reset

func (m *Filter) Reset()

func (*Filter) Size

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

func (*Filter) String

func (m *Filter) String() string

func (*Filter) Unmarshal

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

func (*Filter) Validate

func (m *Filter) Validate() error

Validate checks the field values on Filter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Filter) XXX_DiscardUnknown

func (m *Filter) XXX_DiscardUnknown()

func (*Filter) XXX_Marshal

func (m *Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Filter) XXX_Merge

func (m *Filter) XXX_Merge(src proto.Message)

func (*Filter) XXX_OneofWrappers

func (*Filter) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Filter) XXX_Size

func (m *Filter) XXX_Size() int

func (*Filter) XXX_Unmarshal

func (m *Filter) XXX_Unmarshal(b []byte) error

type FilterChain

type FilterChain struct {
	// The criteria to use when matching a connection to this filter chain.
	FilterChainMatch *FilterChainMatch `protobuf:"bytes,1,opt,name=filter_chain_match,json=filterChainMatch,proto3" json:"filter_chain_match,omitempty"`
	// A list of individual network filters that make up the filter chain for
	// connections established with the listener. Order matters as the filters are
	// processed sequentially as connection events happen. Note: If the filter
	// list is empty, the connection will close by default.
	Filters []*Filter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
	// Whether the listener should expect a PROXY protocol V1 header on new
	// connections. If this option is enabled, the listener will assume that that
	// remote address of the connection is the one specified in the header. Some
	// load balancers including the AWS ELB support this option. If the option is
	// absent or set to false, Envoy will use the physical peer address of the
	// connection as the remote address.
	UseProxyProto *types.BoolValue `protobuf:"bytes,4,opt,name=use_proxy_proto,json=useProxyProto,proto3" json:"use_proxy_proto,omitempty"`
	// [#not-implemented-hide:] filter chain metadata.
	Metadata *core.Metadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Optional custom transport socket implementation to use for downstream connections.
	// To setup TLS, set a transport socket with name `tls` and
	// :ref:`DownstreamTlsContext <envoy_api_msg_api.v3alpha.auth.DownstreamTlsContext>` in the
	// `typed_config`. If no transport socket configuration is specified, new connections will be set
	// up with plaintext.
	TransportSocket *core.TransportSocket `protobuf:"bytes,6,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"`
	// [#not-implemented-hide:] The unique name (or empty) by which this filter chain is known. If no
	// name is provided, Envoy will allocate an internal UUID for the filter chain. If the filter
	// chain is to be dynamically updated or removed via FCDS a unique name must be provided.
	Name                 string   `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A filter chain wraps a set of match criteria, an option TLS context, a set of filters, and various other parameters. [#next-free-field: 8]

func (*FilterChain) Descriptor

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

func (*FilterChain) GetFilterChainMatch

func (m *FilterChain) GetFilterChainMatch() *FilterChainMatch

func (*FilterChain) GetFilters

func (m *FilterChain) GetFilters() []*Filter

func (*FilterChain) GetMetadata

func (m *FilterChain) GetMetadata() *core.Metadata

func (*FilterChain) GetName

func (m *FilterChain) GetName() string

func (*FilterChain) GetTransportSocket

func (m *FilterChain) GetTransportSocket() *core.TransportSocket

func (*FilterChain) GetUseProxyProto

func (m *FilterChain) GetUseProxyProto() *types.BoolValue

func (*FilterChain) Marshal

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

func (*FilterChain) MarshalTo

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

func (*FilterChain) MarshalToSizedBuffer

func (m *FilterChain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FilterChain) ProtoMessage

func (*FilterChain) ProtoMessage()

func (*FilterChain) Reset

func (m *FilterChain) Reset()

func (*FilterChain) Size

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

func (*FilterChain) String

func (m *FilterChain) String() string

func (*FilterChain) Unmarshal

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

func (*FilterChain) Validate

func (m *FilterChain) Validate() error

Validate checks the field values on FilterChain with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*FilterChain) XXX_DiscardUnknown

func (m *FilterChain) XXX_DiscardUnknown()

func (*FilterChain) XXX_Marshal

func (m *FilterChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FilterChain) XXX_Merge

func (m *FilterChain) XXX_Merge(src proto.Message)

func (*FilterChain) XXX_Size

func (m *FilterChain) XXX_Size() int

func (*FilterChain) XXX_Unmarshal

func (m *FilterChain) XXX_Unmarshal(b []byte) error

type FilterChainMatch

type FilterChainMatch struct {
	// Optional destination port to consider when use_original_dst is set on the
	// listener in determining a filter chain match.
	DestinationPort *types.UInt32Value `protobuf:"bytes,8,opt,name=destination_port,json=destinationPort,proto3" json:"destination_port,omitempty"`
	// If non-empty, an IP address and prefix length to match addresses when the
	// listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
	PrefixRanges []*core.CidrRange `protobuf:"bytes,3,rep,name=prefix_ranges,json=prefixRanges,proto3" json:"prefix_ranges,omitempty"`
	// If non-empty, an IP address and suffix length to match addresses when the
	// listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
	// [#not-implemented-hide:]
	AddressSuffix string `protobuf:"bytes,4,opt,name=address_suffix,json=addressSuffix,proto3" json:"address_suffix,omitempty"`
	// [#not-implemented-hide:]
	SuffixLen *types.UInt32Value `protobuf:"bytes,5,opt,name=suffix_len,json=suffixLen,proto3" json:"suffix_len,omitempty"`
	// Specifies the connection source IP match type. Can be any, local or external network.
	SourceType FilterChainMatch_ConnectionSourceType `` /* 163-byte string literal not displayed */
	// The criteria is satisfied if the source IP address of the downstream
	// connection is contained in at least one of the specified subnets. If the
	// parameter is not specified or the list is empty, the source IP address is
	// ignored.
	SourcePrefixRanges []*core.CidrRange `protobuf:"bytes,6,rep,name=source_prefix_ranges,json=sourcePrefixRanges,proto3" json:"source_prefix_ranges,omitempty"`
	// The criteria is satisfied if the source port of the downstream connection
	// is contained in at least one of the specified ports. If the parameter is
	// not specified, the source port is ignored.
	SourcePorts []uint32 `protobuf:"varint,7,rep,packed,name=source_ports,json=sourcePorts,proto3" json:"source_ports,omitempty"`
	// If non-empty, a list of server names (e.g. SNI for TLS protocol) to consider when determining
	// a filter chain match. Those values will be compared against the server names of a new
	// connection, when detected by one of the listener filters.
	//
	// The server name will be matched against all wildcard domains, i.e. “www.example.com“
	// will be first matched against “www.example.com“, then “*.example.com“, then “*.com“.
	//
	// Note that partial wildcards are not supported, and values like “*w.example.com“ are invalid.
	//
	// .. attention::
	//
	//   See the :ref:`FAQ entry <faq_how_to_setup_sni>` on how to configure SNI for more
	//   information.
	ServerNames []string `protobuf:"bytes,11,rep,name=server_names,json=serverNames,proto3" json:"server_names,omitempty"`
	// If non-empty, a transport protocol to consider when determining a filter chain match.
	// This value will be compared against the transport protocol of a new connection, when
	// it's detected by one of the listener filters.
	//
	// Suggested values include:
	//
	// * “raw_buffer“ - default, used when no transport protocol is detected,
	// * “tls“ - set by :ref:`envoy.listener.tls_inspector <config_listener_filters_tls_inspector>`
	//   when TLS protocol is detected.
	TransportProtocol string `protobuf:"bytes,9,opt,name=transport_protocol,json=transportProtocol,proto3" json:"transport_protocol,omitempty"`
	// If non-empty, a list of application protocols (e.g. ALPN for TLS protocol) to consider when
	// determining a filter chain match. Those values will be compared against the application
	// protocols of a new connection, when detected by one of the listener filters.
	//
	// Suggested values include:
	//
	// * “http/1.1“ - set by :ref:`envoy.listener.tls_inspector
	//   <config_listener_filters_tls_inspector>`,
	// * “h2“ - set by :ref:`envoy.listener.tls_inspector <config_listener_filters_tls_inspector>`
	//
	// .. attention::
	//
	//   Currently, only :ref:`TLS Inspector <config_listener_filters_tls_inspector>` provides
	//   application protocol detection based on the requested
	//   `ALPN <https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ values.
	//
	//   However, the use of ALPN is pretty much limited to the HTTP/2 traffic on the Internet,
	//   and matching on values other than “h2“ is going to lead to a lot of false negatives,
	//   unless all connecting clients are known to use ALPN.
	ApplicationProtocols []string `protobuf:"bytes,10,rep,name=application_protocols,json=applicationProtocols,proto3" json:"application_protocols,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Specifies the match criteria for selecting a specific filter chain for a listener.

In order for a filter chain to be selected, *ALL* of its criteria must be fulfilled by the incoming connection, properties of which are set by the networking stack and/or listener filters.

The following order applies:

1. Destination port. 2. Destination IP address. 3. Server name (e.g. SNI for TLS protocol), 4. Transport protocol. 5. Application protocols (e.g. ALPN for TLS protocol). 6. Source type (e.g. any, local or external network). 7. Source IP address. 8. Source port.

For criteria that allow ranges or wildcards, the most specific value in any of the configured filter chains that matches the incoming connection is going to be used (e.g. for SNI “www.example.com“ the most specific match would be “www.example.com“, then “*.example.com“, then “*.com“, then any filter chain without “server_names“ requirements).

[#comment: Implemented rules are kept in the preference order, with deprecated fields listed at the end, because that's how we want to list them in the docs.

[#comment:TODO(PiotrSikora): Add support for configurable precedence of the rules] [#next-free-field: 13]

func (*FilterChainMatch) Descriptor

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

func (*FilterChainMatch) GetAddressSuffix

func (m *FilterChainMatch) GetAddressSuffix() string

func (*FilterChainMatch) GetApplicationProtocols

func (m *FilterChainMatch) GetApplicationProtocols() []string

func (*FilterChainMatch) GetDestinationPort

func (m *FilterChainMatch) GetDestinationPort() *types.UInt32Value

func (*FilterChainMatch) GetPrefixRanges

func (m *FilterChainMatch) GetPrefixRanges() []*core.CidrRange

func (*FilterChainMatch) GetServerNames

func (m *FilterChainMatch) GetServerNames() []string

func (*FilterChainMatch) GetSourcePorts

func (m *FilterChainMatch) GetSourcePorts() []uint32

func (*FilterChainMatch) GetSourcePrefixRanges

func (m *FilterChainMatch) GetSourcePrefixRanges() []*core.CidrRange

func (*FilterChainMatch) GetSourceType

func (*FilterChainMatch) GetSuffixLen

func (m *FilterChainMatch) GetSuffixLen() *types.UInt32Value

func (*FilterChainMatch) GetTransportProtocol

func (m *FilterChainMatch) GetTransportProtocol() string

func (*FilterChainMatch) Marshal

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

func (*FilterChainMatch) MarshalTo

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

func (*FilterChainMatch) MarshalToSizedBuffer

func (m *FilterChainMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FilterChainMatch) ProtoMessage

func (*FilterChainMatch) ProtoMessage()

func (*FilterChainMatch) Reset

func (m *FilterChainMatch) Reset()

func (*FilterChainMatch) Size

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

func (*FilterChainMatch) String

func (m *FilterChainMatch) String() string

func (*FilterChainMatch) Unmarshal

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

func (*FilterChainMatch) Validate

func (m *FilterChainMatch) Validate() error

Validate checks the field values on FilterChainMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*FilterChainMatch) XXX_DiscardUnknown

func (m *FilterChainMatch) XXX_DiscardUnknown()

func (*FilterChainMatch) XXX_Marshal

func (m *FilterChainMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FilterChainMatch) XXX_Merge

func (m *FilterChainMatch) XXX_Merge(src proto.Message)

func (*FilterChainMatch) XXX_Size

func (m *FilterChainMatch) XXX_Size() int

func (*FilterChainMatch) XXX_Unmarshal

func (m *FilterChainMatch) XXX_Unmarshal(b []byte) error

type FilterChainMatchValidationError

type FilterChainMatchValidationError struct {
	// contains filtered or unexported fields
}

FilterChainMatchValidationError is the validation error returned by FilterChainMatch.Validate if the designated constraints aren't met.

func (FilterChainMatchValidationError) Cause

Cause function returns cause value.

func (FilterChainMatchValidationError) Error

Error satisfies the builtin error interface

func (FilterChainMatchValidationError) ErrorName

ErrorName returns error name.

func (FilterChainMatchValidationError) Field

Field function returns field value.

func (FilterChainMatchValidationError) Key

Key function returns key value.

func (FilterChainMatchValidationError) Reason

Reason function returns reason value.

type FilterChainMatch_ConnectionSourceType

type FilterChainMatch_ConnectionSourceType int32
const (
	// Any connection source matches.
	FilterChainMatch_ANY FilterChainMatch_ConnectionSourceType = 0
	// Match a connection originating from the same host.
	FilterChainMatch_LOCAL FilterChainMatch_ConnectionSourceType = 1
	// Match a connection originating from a different host.
	FilterChainMatch_EXTERNAL FilterChainMatch_ConnectionSourceType = 2
)

func (FilterChainMatch_ConnectionSourceType) EnumDescriptor

func (FilterChainMatch_ConnectionSourceType) EnumDescriptor() ([]byte, []int)

func (FilterChainMatch_ConnectionSourceType) String

type FilterChainValidationError

type FilterChainValidationError struct {
	// contains filtered or unexported fields
}

FilterChainValidationError is the validation error returned by FilterChain.Validate if the designated constraints aren't met.

func (FilterChainValidationError) Cause

Cause function returns cause value.

func (FilterChainValidationError) Error

Error satisfies the builtin error interface

func (FilterChainValidationError) ErrorName

func (e FilterChainValidationError) ErrorName() string

ErrorName returns error name.

func (FilterChainValidationError) Field

Field function returns field value.

func (FilterChainValidationError) Key

Key function returns key value.

func (FilterChainValidationError) Reason

Reason function returns reason value.

type FilterValidationError

type FilterValidationError struct {
	// contains filtered or unexported fields
}

FilterValidationError is the validation error returned by Filter.Validate if the designated constraints aren't met.

func (FilterValidationError) Cause

func (e FilterValidationError) Cause() error

Cause function returns cause value.

func (FilterValidationError) Error

func (e FilterValidationError) Error() string

Error satisfies the builtin error interface

func (FilterValidationError) ErrorName

func (e FilterValidationError) ErrorName() string

ErrorName returns error name.

func (FilterValidationError) Field

func (e FilterValidationError) Field() string

Field function returns field value.

func (FilterValidationError) Key

func (e FilterValidationError) Key() bool

Key function returns key value.

func (FilterValidationError) Reason

func (e FilterValidationError) Reason() string

Reason function returns reason value.

type Filter_TypedConfig

type Filter_TypedConfig struct {
	TypedConfig *types.Any `protobuf:"bytes,4,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

func (*Filter_TypedConfig) MarshalTo

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

func (*Filter_TypedConfig) MarshalToSizedBuffer

func (m *Filter_TypedConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Filter_TypedConfig) Size

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

type ListenerFilter

type ListenerFilter struct {
	// The name of the filter to instantiate. The name must match a
	// :ref:`supported filter <config_listener_filters>`.
	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.
	//
	// Types that are valid to be assigned to ConfigType:
	//	*ListenerFilter_TypedConfig
	ConfigType           isListenerFilter_ConfigType `protobuf_oneof:"config_type"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*ListenerFilter) Descriptor

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

func (*ListenerFilter) GetConfigType

func (m *ListenerFilter) GetConfigType() isListenerFilter_ConfigType

func (*ListenerFilter) GetName

func (m *ListenerFilter) GetName() string

func (*ListenerFilter) GetTypedConfig

func (m *ListenerFilter) GetTypedConfig() *types.Any

func (*ListenerFilter) Marshal

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

func (*ListenerFilter) MarshalTo

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

func (*ListenerFilter) MarshalToSizedBuffer

func (m *ListenerFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListenerFilter) ProtoMessage

func (*ListenerFilter) ProtoMessage()

func (*ListenerFilter) Reset

func (m *ListenerFilter) Reset()

func (*ListenerFilter) Size

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

func (*ListenerFilter) String

func (m *ListenerFilter) String() string

func (*ListenerFilter) Unmarshal

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

func (*ListenerFilter) Validate

func (m *ListenerFilter) Validate() error

Validate checks the field values on ListenerFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListenerFilter) XXX_DiscardUnknown

func (m *ListenerFilter) XXX_DiscardUnknown()

func (*ListenerFilter) XXX_Marshal

func (m *ListenerFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListenerFilter) XXX_Merge

func (m *ListenerFilter) XXX_Merge(src proto.Message)

func (*ListenerFilter) XXX_OneofWrappers

func (*ListenerFilter) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ListenerFilter) XXX_Size

func (m *ListenerFilter) XXX_Size() int

func (*ListenerFilter) XXX_Unmarshal

func (m *ListenerFilter) XXX_Unmarshal(b []byte) error

type ListenerFilterValidationError

type ListenerFilterValidationError struct {
	// contains filtered or unexported fields
}

ListenerFilterValidationError is the validation error returned by ListenerFilter.Validate if the designated constraints aren't met.

func (ListenerFilterValidationError) Cause

Cause function returns cause value.

func (ListenerFilterValidationError) Error

Error satisfies the builtin error interface

func (ListenerFilterValidationError) ErrorName

func (e ListenerFilterValidationError) ErrorName() string

ErrorName returns error name.

func (ListenerFilterValidationError) Field

Field function returns field value.

func (ListenerFilterValidationError) Key

Key function returns key value.

func (ListenerFilterValidationError) Reason

Reason function returns reason value.

type ListenerFilter_TypedConfig

type ListenerFilter_TypedConfig struct {
	TypedConfig *types.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

func (*ListenerFilter_TypedConfig) MarshalTo

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

func (*ListenerFilter_TypedConfig) MarshalToSizedBuffer

func (m *ListenerFilter_TypedConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListenerFilter_TypedConfig) Size

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

type QuicProtocolOptions added in v0.86.0

type QuicProtocolOptions struct {
	// Maximum number of streams that the client can negotiate per connection. 100
	// if not specified.
	MaxConcurrentStreams *types.UInt32Value `protobuf:"bytes,1,opt,name=max_concurrent_streams,json=maxConcurrentStreams,proto3" json:"max_concurrent_streams,omitempty"`
	// Maximum number of milliseconds that connection will be alive when there is
	// no network activity. 300000ms if not specified.
	IdleTimeout *types.Duration `protobuf:"bytes,2,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
	// Connection timeout in milliseconds before the crypto handshake is finished.
	// 20000ms if not specified.
	CryptoHandshakeTimeout *types.Duration `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{}        `json:"-"`
	XXX_unrecognized       []byte          `json:"-"`
	XXX_sizecache          int32           `json:"-"`
}

Configuration specific to the QUIC protocol. Next id: 4

func (*QuicProtocolOptions) Descriptor added in v0.86.0

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

func (*QuicProtocolOptions) GetCryptoHandshakeTimeout added in v0.86.0

func (m *QuicProtocolOptions) GetCryptoHandshakeTimeout() *types.Duration

func (*QuicProtocolOptions) GetIdleTimeout added in v0.86.0

func (m *QuicProtocolOptions) GetIdleTimeout() *types.Duration

func (*QuicProtocolOptions) GetMaxConcurrentStreams added in v0.86.0

func (m *QuicProtocolOptions) GetMaxConcurrentStreams() *types.UInt32Value

func (*QuicProtocolOptions) Marshal added in v0.86.0

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

func (*QuicProtocolOptions) MarshalTo added in v0.86.0

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

func (*QuicProtocolOptions) MarshalToSizedBuffer added in v0.86.0

func (m *QuicProtocolOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuicProtocolOptions) ProtoMessage added in v0.86.0

func (*QuicProtocolOptions) ProtoMessage()

func (*QuicProtocolOptions) Reset added in v0.86.0

func (m *QuicProtocolOptions) Reset()

func (*QuicProtocolOptions) Size added in v0.86.0

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

func (*QuicProtocolOptions) String added in v0.86.0

func (m *QuicProtocolOptions) String() string

func (*QuicProtocolOptions) Unmarshal added in v0.86.0

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

func (*QuicProtocolOptions) Validate added in v0.86.0

func (m *QuicProtocolOptions) Validate() error

Validate checks the field values on QuicProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*QuicProtocolOptions) XXX_DiscardUnknown added in v0.86.0

func (m *QuicProtocolOptions) XXX_DiscardUnknown()

func (*QuicProtocolOptions) XXX_Marshal added in v0.86.0

func (m *QuicProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuicProtocolOptions) XXX_Merge added in v0.86.0

func (m *QuicProtocolOptions) XXX_Merge(src proto.Message)

func (*QuicProtocolOptions) XXX_Size added in v0.86.0

func (m *QuicProtocolOptions) XXX_Size() int

func (*QuicProtocolOptions) XXX_Unmarshal added in v0.86.0

func (m *QuicProtocolOptions) XXX_Unmarshal(b []byte) error

type QuicProtocolOptionsValidationError added in v0.86.0

type QuicProtocolOptionsValidationError struct {
	// contains filtered or unexported fields
}

QuicProtocolOptionsValidationError is the validation error returned by QuicProtocolOptions.Validate if the designated constraints aren't met.

func (QuicProtocolOptionsValidationError) Cause added in v0.86.0

Cause function returns cause value.

func (QuicProtocolOptionsValidationError) Error added in v0.86.0

Error satisfies the builtin error interface

func (QuicProtocolOptionsValidationError) ErrorName added in v0.86.0

ErrorName returns error name.

func (QuicProtocolOptionsValidationError) Field added in v0.86.0

Field function returns field value.

func (QuicProtocolOptionsValidationError) Key added in v0.86.0

Key function returns key value.

func (QuicProtocolOptionsValidationError) Reason added in v0.86.0

Reason function returns reason value.

type UdpListenerConfig

type UdpListenerConfig struct {
	// Used to look up UDP listener factory, matches "raw_udp_listener" or
	// "quic_listener" to create a specific udp listener.
	// If not specified, treat as "raw_udp_listener".
	UdpListenerName string `protobuf:"bytes,1,opt,name=udp_listener_name,json=udpListenerName,proto3" json:"udp_listener_name,omitempty"`
	// Used to create a specific listener factory. To some factory, e.g.
	// "raw_udp_listener", config is not needed.
	//
	// Types that are valid to be assigned to ConfigType:
	//	*UdpListenerConfig_Config
	//	*UdpListenerConfig_TypedConfig
	ConfigType           isUdpListenerConfig_ConfigType `protobuf_oneof:"config_type"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*UdpListenerConfig) Descriptor

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

func (*UdpListenerConfig) GetConfig

func (m *UdpListenerConfig) GetConfig() *types.Struct

func (*UdpListenerConfig) GetConfigType

func (m *UdpListenerConfig) GetConfigType() isUdpListenerConfig_ConfigType

func (*UdpListenerConfig) GetTypedConfig

func (m *UdpListenerConfig) GetTypedConfig() *types.Any

func (*UdpListenerConfig) GetUdpListenerName

func (m *UdpListenerConfig) GetUdpListenerName() string

func (*UdpListenerConfig) Marshal

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

func (*UdpListenerConfig) MarshalTo

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

func (*UdpListenerConfig) MarshalToSizedBuffer

func (m *UdpListenerConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UdpListenerConfig) ProtoMessage

func (*UdpListenerConfig) ProtoMessage()

func (*UdpListenerConfig) Reset

func (m *UdpListenerConfig) Reset()

func (*UdpListenerConfig) Size

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

func (*UdpListenerConfig) String

func (m *UdpListenerConfig) String() string

func (*UdpListenerConfig) Unmarshal

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

func (*UdpListenerConfig) Validate

func (m *UdpListenerConfig) Validate() error

Validate checks the field values on UdpListenerConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UdpListenerConfig) XXX_DiscardUnknown

func (m *UdpListenerConfig) XXX_DiscardUnknown()

func (*UdpListenerConfig) XXX_Marshal

func (m *UdpListenerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UdpListenerConfig) XXX_Merge

func (m *UdpListenerConfig) XXX_Merge(src proto.Message)

func (*UdpListenerConfig) XXX_OneofWrappers

func (*UdpListenerConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*UdpListenerConfig) XXX_Size

func (m *UdpListenerConfig) XXX_Size() int

func (*UdpListenerConfig) XXX_Unmarshal

func (m *UdpListenerConfig) XXX_Unmarshal(b []byte) error

type UdpListenerConfigValidationError

type UdpListenerConfigValidationError struct {
	// contains filtered or unexported fields
}

UdpListenerConfigValidationError is the validation error returned by UdpListenerConfig.Validate if the designated constraints aren't met.

func (UdpListenerConfigValidationError) Cause

Cause function returns cause value.

func (UdpListenerConfigValidationError) Error

Error satisfies the builtin error interface

func (UdpListenerConfigValidationError) ErrorName

ErrorName returns error name.

func (UdpListenerConfigValidationError) Field

Field function returns field value.

func (UdpListenerConfigValidationError) Key

Key function returns key value.

func (UdpListenerConfigValidationError) Reason

Reason function returns reason value.

type UdpListenerConfig_Config

type UdpListenerConfig_Config struct {
	Config *types.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

func (*UdpListenerConfig_Config) MarshalTo

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

func (*UdpListenerConfig_Config) MarshalToSizedBuffer

func (m *UdpListenerConfig_Config) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UdpListenerConfig_Config) Size

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

type UdpListenerConfig_TypedConfig

type UdpListenerConfig_TypedConfig struct {
	TypedConfig *types.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

func (*UdpListenerConfig_TypedConfig) MarshalTo

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

func (*UdpListenerConfig_TypedConfig) MarshalToSizedBuffer

func (m *UdpListenerConfig_TypedConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UdpListenerConfig_TypedConfig) Size

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

Jump to

Keyboard shortcuts

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