envoy_config_listener_v3

package
v1.5.0-citest.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthApiListener        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApiListener          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupApiListener = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthListener        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowListener          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupListener = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthListenerComponents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowListenerComponents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupListenerComponents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuicConfig        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuicConfig          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuicConfig = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthUdpListenerConfig        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowUdpListenerConfig          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupUdpListenerConfig = fmt.Errorf("proto: unexpected end of group")
)
View Source
var FilterChainMatch_ConnectionSourceType_name = map[int32]string{
	0: "ANY",
	1: "SAME_IP_OR_LOOPBACK",
	2: "EXTERNAL",
}
View Source
var FilterChainMatch_ConnectionSourceType_value = map[string]int32{
	"ANY":                 0,
	"SAME_IP_OR_LOOPBACK": 1,
	"EXTERNAL":            2,
}
View Source
var Listener_DrainType_name = map[int32]string{
	0: "DEFAULT",
	1: "MODIFY_ONLY",
}
View Source
var Listener_DrainType_value = map[string]int32{
	"DEFAULT":     0,
	"MODIFY_ONLY": 1,
}

Functions

This section is empty.

Types

type ActiveRawUdpListenerConfig

type ActiveRawUdpListenerConfig struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ActiveRawUdpListenerConfig) Descriptor

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

func (*ActiveRawUdpListenerConfig) Marshal

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

func (*ActiveRawUdpListenerConfig) MarshalTo

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

func (*ActiveRawUdpListenerConfig) MarshalToSizedBuffer

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

func (*ActiveRawUdpListenerConfig) ProtoMessage

func (*ActiveRawUdpListenerConfig) ProtoMessage()

func (*ActiveRawUdpListenerConfig) Reset

func (m *ActiveRawUdpListenerConfig) Reset()

func (*ActiveRawUdpListenerConfig) Size

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

func (*ActiveRawUdpListenerConfig) String

func (m *ActiveRawUdpListenerConfig) String() string

func (*ActiveRawUdpListenerConfig) Unmarshal

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

func (*ActiveRawUdpListenerConfig) Validate

func (m *ActiveRawUdpListenerConfig) Validate() error

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

func (*ActiveRawUdpListenerConfig) XXX_DiscardUnknown

func (m *ActiveRawUdpListenerConfig) XXX_DiscardUnknown()

func (*ActiveRawUdpListenerConfig) XXX_Marshal

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

func (*ActiveRawUdpListenerConfig) XXX_Merge

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

func (*ActiveRawUdpListenerConfig) XXX_Size

func (m *ActiveRawUdpListenerConfig) XXX_Size() int

func (*ActiveRawUdpListenerConfig) XXX_Unmarshal

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

type ActiveRawUdpListenerConfigValidationError

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

ActiveRawUdpListenerConfigValidationError is the validation error returned by ActiveRawUdpListenerConfig.Validate if the designated constraints aren't met.

func (ActiveRawUdpListenerConfigValidationError) Cause

Cause function returns cause value.

func (ActiveRawUdpListenerConfigValidationError) Error

Error satisfies the builtin error interface

func (ActiveRawUdpListenerConfigValidationError) ErrorName

ErrorName returns error name.

func (ActiveRawUdpListenerConfigValidationError) Field

Field function returns field value.

func (ActiveRawUdpListenerConfigValidationError) Key

Key function returns key value.

func (ActiveRawUdpListenerConfigValidationError) Reason

Reason function returns reason value.

type ApiListener

type ApiListener struct {
	// The type in this field determines the type of API listener. At present, the following
	// types are supported:
	// envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager (HTTP)
	// [#next-major-version: In the v3 API, replace this Any field with a oneof containing the
	// specific config message for each type of API listener. We could not do this in v2 because
	// it would have caused circular dependencies for go protos: lds.proto depends on this file,
	// and http_connection_manager.proto depends on rds.proto, which is in the same directory as
	// lds.proto, so lds.proto cannot depend on this file.]
	ApiListener          *types.Any `protobuf:"bytes,1,opt,name=api_listener,json=apiListener,proto3" json:"api_listener,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Describes a type of API listener, which is used in non-proxy clients. The type of API exposed to the non-proxy application depends on the type of API listener.

func (*ApiListener) Descriptor

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

func (*ApiListener) GetApiListener

func (m *ApiListener) GetApiListener() *types.Any

func (*ApiListener) Marshal

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

func (*ApiListener) MarshalTo

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

func (*ApiListener) MarshalToSizedBuffer

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

func (*ApiListener) ProtoMessage

func (*ApiListener) ProtoMessage()

func (*ApiListener) Reset

func (m *ApiListener) Reset()

func (*ApiListener) Size

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

func (*ApiListener) String

func (m *ApiListener) String() string

func (*ApiListener) Unmarshal

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

func (*ApiListener) Validate

func (m *ApiListener) Validate() error

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

func (*ApiListener) XXX_DiscardUnknown

func (m *ApiListener) XXX_DiscardUnknown()

func (*ApiListener) XXX_Marshal

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

func (*ApiListener) XXX_Merge

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

func (*ApiListener) XXX_Size

func (m *ApiListener) XXX_Size() int

func (*ApiListener) XXX_Unmarshal

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

type ApiListenerValidationError

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

ApiListenerValidationError is the validation error returned by ApiListener.Validate if the designated constraints aren't met.

func (ApiListenerValidationError) Cause

Cause function returns cause value.

func (ApiListenerValidationError) Error

Error satisfies the builtin error interface

func (ApiListenerValidationError) ErrorName

func (e ApiListenerValidationError) ErrorName() string

ErrorName returns error name.

func (ApiListenerValidationError) Field

Field function returns field value.

func (ApiListenerValidationError) Key

Key function returns key value.

func (ApiListenerValidationError) Reason

Reason function returns reason value.

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 *v3.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_extensions.transport_sockets.tls.v3.DownstreamTlsContext>` in the `typed_config`.
	// If no transport socket configuration is specified, new connections
	// will be set up with plaintext.
	TransportSocket *v3.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() *v3.Metadata

func (*FilterChain) GetName

func (m *FilterChain) GetName() string

func (*FilterChain) GetTransportSocket

func (m *FilterChain) GetTransportSocket() *v3.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 []*v3.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 `` /* 161-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 []*v3.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.filters.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.filters.listener.tls_inspector
	//   <config_listener_filters_tls_inspector>`,
	// * “h2“ - set by :ref:`envoy.filters.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() []*v3.CidrRange

func (*FilterChainMatch) GetServerNames

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

func (*FilterChainMatch) GetSourcePorts

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

func (*FilterChainMatch) GetSourcePrefixRanges

func (m *FilterChainMatch) GetSourcePrefixRanges() []*v3.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_SAME_IP_OR_LOOPBACK 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" json:"typed_config,omitempty"`
}

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 Listener

type Listener struct {
	// The unique name by which this listener is known. If no name is provided,
	// Envoy will allocate an internal UUID for the listener. If the listener is to be dynamically
	// updated or removed via :ref:`LDS <config_listeners_lds>` a unique name must be provided.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The address that the listener should listen on. In general, the address must be unique, though
	// that is governed by the bind rules of the OS. E.g., multiple listeners can listen on port 0 on
	// Linux as the actual port will be allocated by the OS.
	Address *v3.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// A list of filter chains to consider for this listener. The
	// :ref:`FilterChain <envoy_api_msg_config.listener.v3.FilterChain>` with the most specific
	// :ref:`FilterChainMatch <envoy_api_msg_config.listener.v3.FilterChainMatch>` criteria is used on a
	// connection.
	//
	// Example using SNI for filter chain selection can be found in the
	// :ref:`FAQ entry <faq_how_to_setup_sni>`.
	FilterChains []*FilterChain `protobuf:"bytes,3,rep,name=filter_chains,json=filterChains,proto3" json:"filter_chains,omitempty"`
	// Soft limit on size of the listener’s new connection read and write buffers.
	// If unspecified, an implementation defined default is applied (1MiB).
	PerConnectionBufferLimitBytes *types.UInt32Value `` /* 154-byte string literal not displayed */
	// Listener metadata.
	Metadata *v3.Metadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// [#not-implemented-hide:]
	DeprecatedV1 *Listener_DeprecatedV1 `protobuf:"bytes,7,opt,name=deprecated_v1,json=deprecatedV1,proto3" json:"deprecated_v1,omitempty"`
	// The type of draining to perform at a listener-wide level.
	DrainType Listener_DrainType `` /* 138-byte string literal not displayed */
	// Listener filters have the opportunity to manipulate and augment the connection metadata that
	// is used in connection filter chain matching, for example. These filters are run before any in
	// :ref:`filter_chains <envoy_api_field_config.listener.v3.Listener.filter_chains>`. Order matters as the
	// filters are processed sequentially right after a socket has been accepted by the listener, and
	// before a connection is created.
	// UDP Listener filters can be specified when the protocol in the listener socket address in
	// :ref:`protocol <envoy_api_field_config.core.v3.SocketAddress.protocol>` is :ref:`UDP
	// <envoy_api_enum_value_config.core.v3.SocketAddress.Protocol.UDP>`.
	// UDP listeners currently support a single filter.
	ListenerFilters []*ListenerFilter `protobuf:"bytes,9,rep,name=listener_filters,json=listenerFilters,proto3" json:"listener_filters,omitempty"`
	// The timeout to wait for all listener filters to complete operation. If the timeout is reached,
	// the accepted socket is closed without a connection being created unless
	// `continue_on_listener_filters_timeout` is set to true. Specify 0 to disable the
	// timeout. If not specified, a default timeout of 15s is used.
	ListenerFiltersTimeout *types.Duration `` /* 130-byte string literal not displayed */
	// Whether a connection should be created when listener filters timeout. Default is false.
	//
	// .. attention::
	//
	//   Some listener filters, such as :ref:`Proxy Protocol filter
	//   <config_listener_filters_proxy_protocol>`, should not be used with this option. It will cause
	//   unexpected behavior when a connection is created.
	ContinueOnListenerFiltersTimeout bool `` /* 165-byte string literal not displayed */
	// Whether the listener should be set as a transparent socket.
	// When this flag is set to true, connections can be redirected to the listener using an
	// *iptables* *TPROXY* target, in which case the original source and destination addresses and
	// ports are preserved on accepted connections. This flag should be used in combination with
	// :ref:`an original_dst <config_listener_filters_original_dst>` :ref:`listener filter
	// <envoy_api_field_config.listener.v3.Listener.listener_filters>` to mark the connections' local addresses as
	// "restored." This can be used to hand off each redirected connection to another listener
	// associated with the connection's destination address. Direct connections to the socket without
	// using *TPROXY* cannot be distinguished from connections redirected using *TPROXY* and are
	// therefore treated as if they were redirected.
	// When this flag is set to false, the listener's socket is explicitly reset as non-transparent.
	// Setting this flag requires Envoy to run with the *CAP_NET_ADMIN* capability.
	// When this flag is not set (default), the socket is not modified, i.e. the transparent option
	// is neither set nor reset.
	Transparent *types.BoolValue `protobuf:"bytes,10,opt,name=transparent,proto3" json:"transparent,omitempty"`
	// Whether the listener should set the *IP_FREEBIND* socket option. When this
	// flag is set to true, listeners can be bound to an IP address that is not
	// configured on the system running Envoy. When this flag is set to false, the
	// option *IP_FREEBIND* is disabled on the socket. When this flag is not set
	// (default), the socket is not modified, i.e. the option is neither enabled
	// nor disabled.
	Freebind *types.BoolValue `protobuf:"bytes,11,opt,name=freebind,proto3" json:"freebind,omitempty"`
	// Additional socket options that may not be present in Envoy source code or
	// precompiled binaries.
	SocketOptions []*v3.SocketOption `protobuf:"bytes,13,rep,name=socket_options,json=socketOptions,proto3" json:"socket_options,omitempty"`
	// Whether the listener should accept TCP Fast Open (TFO) connections.
	// When this flag is set to a value greater than 0, the option TCP_FASTOPEN is enabled on
	// the socket, with a queue length of the specified size
	// (see `details in RFC7413 <https://tools.ietf.org/html/rfc7413#section-5.1>`_).
	// When this flag is set to 0, the option TCP_FASTOPEN is disabled on the socket.
	// When this flag is not set (default), the socket is not modified,
	// i.e. the option is neither enabled nor disabled.
	//
	// On Linux, the net.ipv4.tcp_fastopen kernel parameter must include flag 0x2 to enable
	// TCP_FASTOPEN.
	// See `ip-sysctl.txt <https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt>`_.
	//
	// On macOS, only values of 0, 1, and unset are valid; other values may result in an error.
	// To set the queue length on macOS, set the net.inet.tcp.fastopen_backlog kernel parameter.
	TcpFastOpenQueueLength *types.UInt32Value `` /* 134-byte string literal not displayed */
	// Specifies the intended direction of the traffic relative to the local Envoy.
	TrafficDirection v3.TrafficDirection `` /* 154-byte string literal not displayed */
	// If the protocol in the listener socket address in :ref:`protocol
	// <envoy_api_field_config.core.v3.SocketAddress.protocol>` is :ref:`UDP
	// <envoy_api_enum_value_config.core.v3.SocketAddress.Protocol.UDP>`, this field specifies the actual udp
	// listener to create, i.e. :ref:`udp_listener_name
	// <envoy_api_field_config.listener.v3.UdpListenerConfig.udp_listener_name>` = "raw_udp_listener" for
	// creating a packet-oriented UDP listener. If not present, treat it as "raw_udp_listener".
	UdpListenerConfig *UdpListenerConfig `protobuf:"bytes,18,opt,name=udp_listener_config,json=udpListenerConfig,proto3" json:"udp_listener_config,omitempty"`
	// Used to represent an API listener, which is used in non-proxy clients. The type of API
	// exposed to the non-proxy application depends on the type of API listener.
	// When this field is set, no other field except for :ref:`name<envoy_api_field_config.listener.v3.Listener.name>`
	// should be set.
	//
	// .. note::
	//
	//  Currently only one ApiListener can be installed; and it can only be done via bootstrap config,
	//  not LDS.
	//
	// [#next-major-version: In the v3 API, instead of this messy approach where the socket
	// listener fields are directly in the top-level Listener message and the API listener types
	// are in the ApiListener message, the socket listener messages should be in their own message,
	// and the top-level Listener should essentially be a oneof that selects between the
	// socket listener and the various types of API listener. That way, a given Listener message
	// can structurally only contain the fields of the relevant type.]
	ApiListener *ApiListener `protobuf:"bytes,19,opt,name=api_listener,json=apiListener,proto3" json:"api_listener,omitempty"`
	// The listener's connection balancer configuration, currently only applicable to TCP listeners.
	// If no configuration is specified, Envoy will not attempt to balance active connections between
	// worker threads.
	ConnectionBalanceConfig *Listener_ConnectionBalanceConfig `` /* 133-byte string literal not displayed */
	// When this flag is set to true, listeners set the *SO_REUSEPORT* socket option and
	// create one socket for each worker thread. This makes inbound connections
	// distribute among worker threads roughly evenly in cases where there are a high number
	// of connections. When this flag is set to false, all worker threads share one socket.
	//
	// Before Linux v4.19-rc1, new TCP connections may be rejected during hot restart
	// (see `3rd paragraph in 'soreuseport' commit message
	// <https://github.com/torvalds/linux/commit/c617f398edd4db2b8567a28e89>`_).
	// This issue was fixed by `tcp: Avoid TCP syncookie rejected by SO_REUSEPORT socket
	// <https://github.com/torvalds/linux/commit/40a1227ea845a37ab197dd1caffb60b047fa36b1>`_.
	ReusePort bool `protobuf:"varint,21,opt,name=reuse_port,json=reusePort,proto3" json:"reuse_port,omitempty"`
	// Configuration for :ref:`access logs <arch_overview_access_logs>`
	// emitted by this listener.
	AccessLog            []*v31.AccessLog `protobuf:"bytes,22,rep,name=access_log,json=accessLog,proto3" json:"access_log,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

[#next-free-field: 23]

func (*Listener) Descriptor

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

func (*Listener) GetAccessLog

func (m *Listener) GetAccessLog() []*v31.AccessLog

func (*Listener) GetAddress

func (m *Listener) GetAddress() *v3.Address

func (*Listener) GetApiListener

func (m *Listener) GetApiListener() *ApiListener

func (*Listener) GetConnectionBalanceConfig

func (m *Listener) GetConnectionBalanceConfig() *Listener_ConnectionBalanceConfig

func (*Listener) GetContinueOnListenerFiltersTimeout

func (m *Listener) GetContinueOnListenerFiltersTimeout() bool

func (*Listener) GetDeprecatedV1

func (m *Listener) GetDeprecatedV1() *Listener_DeprecatedV1

func (*Listener) GetDrainType

func (m *Listener) GetDrainType() Listener_DrainType

func (*Listener) GetFilterChains

func (m *Listener) GetFilterChains() []*FilterChain

func (*Listener) GetFreebind

func (m *Listener) GetFreebind() *types.BoolValue

func (*Listener) GetListenerFilters

func (m *Listener) GetListenerFilters() []*ListenerFilter

func (*Listener) GetListenerFiltersTimeout

func (m *Listener) GetListenerFiltersTimeout() *types.Duration

func (*Listener) GetMetadata

func (m *Listener) GetMetadata() *v3.Metadata

func (*Listener) GetName

func (m *Listener) GetName() string

func (*Listener) GetPerConnectionBufferLimitBytes

func (m *Listener) GetPerConnectionBufferLimitBytes() *types.UInt32Value

func (*Listener) GetReusePort

func (m *Listener) GetReusePort() bool

func (*Listener) GetSocketOptions

func (m *Listener) GetSocketOptions() []*v3.SocketOption

func (*Listener) GetTcpFastOpenQueueLength

func (m *Listener) GetTcpFastOpenQueueLength() *types.UInt32Value

func (*Listener) GetTrafficDirection

func (m *Listener) GetTrafficDirection() v3.TrafficDirection

func (*Listener) GetTransparent

func (m *Listener) GetTransparent() *types.BoolValue

func (*Listener) GetUdpListenerConfig

func (m *Listener) GetUdpListenerConfig() *UdpListenerConfig

func (*Listener) Marshal

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

func (*Listener) MarshalTo

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

func (*Listener) MarshalToSizedBuffer

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

func (*Listener) ProtoMessage

func (*Listener) ProtoMessage()

func (*Listener) Reset

func (m *Listener) Reset()

func (*Listener) Size

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

func (*Listener) String

func (m *Listener) String() string

func (*Listener) Unmarshal

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

func (*Listener) Validate

func (m *Listener) Validate() error

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

func (*Listener) XXX_DiscardUnknown

func (m *Listener) XXX_DiscardUnknown()

func (*Listener) XXX_Marshal

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

func (*Listener) XXX_Merge

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

func (*Listener) XXX_Size

func (m *Listener) XXX_Size() int

func (*Listener) XXX_Unmarshal

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

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"`
	// Optional match predicate used to disable the filter. The filter is enabled when this field is empty.
	// See :ref:`ListenerFilterChainMatchPredicate <envoy_api_msg_config.listener.v3.ListenerFilterChainMatchPredicate>`
	// for further examples.
	FilterDisabled       *ListenerFilterChainMatchPredicate `protobuf:"bytes,4,opt,name=filter_disabled,json=filterDisabled,proto3" json:"filter_disabled,omitempty"`
	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) GetFilterDisabled

func (m *ListenerFilter) GetFilterDisabled() *ListenerFilterChainMatchPredicate

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 ListenerFilterChainMatchPredicate

type ListenerFilterChainMatchPredicate struct {
	// Types that are valid to be assigned to Rule:
	//	*ListenerFilterChainMatchPredicate_OrMatch
	//	*ListenerFilterChainMatchPredicate_AndMatch
	//	*ListenerFilterChainMatchPredicate_NotMatch
	//	*ListenerFilterChainMatchPredicate_AnyMatch
	//	*ListenerFilterChainMatchPredicate_DestinationPortRange
	Rule                 isListenerFilterChainMatchPredicate_Rule `protobuf_oneof:"rule"`
	XXX_NoUnkeyedLiteral struct{}                                 `json:"-"`
	XXX_unrecognized     []byte                                   `json:"-"`
	XXX_sizecache        int32                                    `json:"-"`
}

Listener filter chain match configuration. This is a recursive structure which allows complex nested match configurations to be built using various logical operators.

Examples:

* Matches if the destination port is 3306.

.. code-block:: yaml

destination_port_range:
 start: 3306
 end: 3307

* Matches if the destination port is 3306 or 15000.

.. code-block:: yaml

or_match:
  rules:
    - destination_port_range:
        start: 3306
        end: 3306
    - destination_port_range:
        start: 15000
        end: 15001

[#next-free-field: 6]

func (*ListenerFilterChainMatchPredicate) Descriptor

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

func (*ListenerFilterChainMatchPredicate) GetAndMatch

func (*ListenerFilterChainMatchPredicate) GetAnyMatch

func (m *ListenerFilterChainMatchPredicate) GetAnyMatch() bool

func (*ListenerFilterChainMatchPredicate) GetDestinationPortRange

func (m *ListenerFilterChainMatchPredicate) GetDestinationPortRange() *v31.Int32Range

func (*ListenerFilterChainMatchPredicate) GetNotMatch

func (*ListenerFilterChainMatchPredicate) GetOrMatch

func (*ListenerFilterChainMatchPredicate) GetRule

func (m *ListenerFilterChainMatchPredicate) GetRule() isListenerFilterChainMatchPredicate_Rule

func (*ListenerFilterChainMatchPredicate) Marshal

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

func (*ListenerFilterChainMatchPredicate) MarshalTo

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

func (*ListenerFilterChainMatchPredicate) MarshalToSizedBuffer

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

func (*ListenerFilterChainMatchPredicate) ProtoMessage

func (*ListenerFilterChainMatchPredicate) ProtoMessage()

func (*ListenerFilterChainMatchPredicate) Reset

func (*ListenerFilterChainMatchPredicate) Size

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

func (*ListenerFilterChainMatchPredicate) String

func (*ListenerFilterChainMatchPredicate) Unmarshal

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

func (*ListenerFilterChainMatchPredicate) Validate

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

func (*ListenerFilterChainMatchPredicate) XXX_DiscardUnknown

func (m *ListenerFilterChainMatchPredicate) XXX_DiscardUnknown()

func (*ListenerFilterChainMatchPredicate) XXX_Marshal

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

func (*ListenerFilterChainMatchPredicate) XXX_Merge

func (*ListenerFilterChainMatchPredicate) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*ListenerFilterChainMatchPredicate) XXX_Size

func (m *ListenerFilterChainMatchPredicate) XXX_Size() int

func (*ListenerFilterChainMatchPredicate) XXX_Unmarshal

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

type ListenerFilterChainMatchPredicateValidationError

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

ListenerFilterChainMatchPredicateValidationError is the validation error returned by ListenerFilterChainMatchPredicate.Validate if the designated constraints aren't met.

func (ListenerFilterChainMatchPredicateValidationError) Cause

Cause function returns cause value.

func (ListenerFilterChainMatchPredicateValidationError) Error

Error satisfies the builtin error interface

func (ListenerFilterChainMatchPredicateValidationError) ErrorName

ErrorName returns error name.

func (ListenerFilterChainMatchPredicateValidationError) Field

Field function returns field value.

func (ListenerFilterChainMatchPredicateValidationError) Key

Key function returns key value.

func (ListenerFilterChainMatchPredicateValidationError) Reason

Reason function returns reason value.

type ListenerFilterChainMatchPredicate_AndMatch

type ListenerFilterChainMatchPredicate_AndMatch struct {
	AndMatch *ListenerFilterChainMatchPredicate_MatchSet `protobuf:"bytes,2,opt,name=and_match,json=andMatch,proto3,oneof" json:"and_match,omitempty"`
}

func (*ListenerFilterChainMatchPredicate_AndMatch) MarshalTo

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

func (*ListenerFilterChainMatchPredicate_AndMatch) MarshalToSizedBuffer

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

func (*ListenerFilterChainMatchPredicate_AndMatch) Size

type ListenerFilterChainMatchPredicate_AnyMatch

type ListenerFilterChainMatchPredicate_AnyMatch struct {
	AnyMatch bool `protobuf:"varint,4,opt,name=any_match,json=anyMatch,proto3,oneof" json:"any_match,omitempty"`
}

func (*ListenerFilterChainMatchPredicate_AnyMatch) MarshalTo

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

func (*ListenerFilterChainMatchPredicate_AnyMatch) MarshalToSizedBuffer

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

func (*ListenerFilterChainMatchPredicate_AnyMatch) Size

type ListenerFilterChainMatchPredicate_DestinationPortRange

type ListenerFilterChainMatchPredicate_DestinationPortRange struct {
	DestinationPortRange *v31.Int32Range `` /* 129-byte string literal not displayed */
}

func (*ListenerFilterChainMatchPredicate_DestinationPortRange) MarshalTo

func (*ListenerFilterChainMatchPredicate_DestinationPortRange) MarshalToSizedBuffer

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

func (*ListenerFilterChainMatchPredicate_DestinationPortRange) Size

type ListenerFilterChainMatchPredicate_MatchSet

type ListenerFilterChainMatchPredicate_MatchSet struct {
	// The list of rules that make up the set.
	Rules                []*ListenerFilterChainMatchPredicate `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
	XXX_unrecognized     []byte                               `json:"-"`
	XXX_sizecache        int32                                `json:"-"`
}

A set of match configurations used for logical operations.

func (*ListenerFilterChainMatchPredicate_MatchSet) Descriptor

func (*ListenerFilterChainMatchPredicate_MatchSet) GetRules

func (*ListenerFilterChainMatchPredicate_MatchSet) Marshal

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

func (*ListenerFilterChainMatchPredicate_MatchSet) MarshalTo

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

func (*ListenerFilterChainMatchPredicate_MatchSet) MarshalToSizedBuffer

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

func (*ListenerFilterChainMatchPredicate_MatchSet) ProtoMessage

func (*ListenerFilterChainMatchPredicate_MatchSet) Reset

func (*ListenerFilterChainMatchPredicate_MatchSet) Size

func (*ListenerFilterChainMatchPredicate_MatchSet) String

func (*ListenerFilterChainMatchPredicate_MatchSet) Unmarshal

func (*ListenerFilterChainMatchPredicate_MatchSet) Validate

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

func (*ListenerFilterChainMatchPredicate_MatchSet) XXX_DiscardUnknown

func (m *ListenerFilterChainMatchPredicate_MatchSet) XXX_DiscardUnknown()

func (*ListenerFilterChainMatchPredicate_MatchSet) XXX_Marshal

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

func (*ListenerFilterChainMatchPredicate_MatchSet) XXX_Merge

func (*ListenerFilterChainMatchPredicate_MatchSet) XXX_Size

func (*ListenerFilterChainMatchPredicate_MatchSet) XXX_Unmarshal

type ListenerFilterChainMatchPredicate_MatchSetValidationError

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

ListenerFilterChainMatchPredicate_MatchSetValidationError is the validation error returned by ListenerFilterChainMatchPredicate_MatchSet.Validate if the designated constraints aren't met.

func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Cause

Cause function returns cause value.

func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Error

Error satisfies the builtin error interface

func (ListenerFilterChainMatchPredicate_MatchSetValidationError) ErrorName

ErrorName returns error name.

func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Field

Field function returns field value.

func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Key

Key function returns key value.

func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Reason

Reason function returns reason value.

type ListenerFilterChainMatchPredicate_NotMatch

type ListenerFilterChainMatchPredicate_NotMatch struct {
	NotMatch *ListenerFilterChainMatchPredicate `protobuf:"bytes,3,opt,name=not_match,json=notMatch,proto3,oneof" json:"not_match,omitempty"`
}

func (*ListenerFilterChainMatchPredicate_NotMatch) MarshalTo

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

func (*ListenerFilterChainMatchPredicate_NotMatch) MarshalToSizedBuffer

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

func (*ListenerFilterChainMatchPredicate_NotMatch) Size

type ListenerFilterChainMatchPredicate_OrMatch

type ListenerFilterChainMatchPredicate_OrMatch struct {
	OrMatch *ListenerFilterChainMatchPredicate_MatchSet `protobuf:"bytes,1,opt,name=or_match,json=orMatch,proto3,oneof" json:"or_match,omitempty"`
}

func (*ListenerFilterChainMatchPredicate_OrMatch) MarshalTo

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

func (*ListenerFilterChainMatchPredicate_OrMatch) MarshalToSizedBuffer

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

func (*ListenerFilterChainMatchPredicate_OrMatch) Size

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" json:"typed_config,omitempty"`
}

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 ListenerValidationError

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

ListenerValidationError is the validation error returned by Listener.Validate if the designated constraints aren't met.

func (ListenerValidationError) Cause

func (e ListenerValidationError) Cause() error

Cause function returns cause value.

func (ListenerValidationError) Error

func (e ListenerValidationError) Error() string

Error satisfies the builtin error interface

func (ListenerValidationError) ErrorName

func (e ListenerValidationError) ErrorName() string

ErrorName returns error name.

func (ListenerValidationError) Field

func (e ListenerValidationError) Field() string

Field function returns field value.

func (ListenerValidationError) Key

func (e ListenerValidationError) Key() bool

Key function returns key value.

func (ListenerValidationError) Reason

func (e ListenerValidationError) Reason() string

Reason function returns reason value.

type Listener_ConnectionBalanceConfig

type Listener_ConnectionBalanceConfig struct {
	// Types that are valid to be assigned to BalanceType:
	//	*Listener_ConnectionBalanceConfig_ExactBalance_
	BalanceType          isListener_ConnectionBalanceConfig_BalanceType `protobuf_oneof:"balance_type"`
	XXX_NoUnkeyedLiteral struct{}                                       `json:"-"`
	XXX_unrecognized     []byte                                         `json:"-"`
	XXX_sizecache        int32                                          `json:"-"`
}

Configuration for listener connection balancing.

func (*Listener_ConnectionBalanceConfig) Descriptor

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

func (*Listener_ConnectionBalanceConfig) GetBalanceType

func (m *Listener_ConnectionBalanceConfig) GetBalanceType() isListener_ConnectionBalanceConfig_BalanceType

func (*Listener_ConnectionBalanceConfig) GetExactBalance

func (*Listener_ConnectionBalanceConfig) Marshal

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

func (*Listener_ConnectionBalanceConfig) MarshalTo

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

func (*Listener_ConnectionBalanceConfig) MarshalToSizedBuffer

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

func (*Listener_ConnectionBalanceConfig) ProtoMessage

func (*Listener_ConnectionBalanceConfig) ProtoMessage()

func (*Listener_ConnectionBalanceConfig) Reset

func (*Listener_ConnectionBalanceConfig) Size

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

func (*Listener_ConnectionBalanceConfig) String

func (*Listener_ConnectionBalanceConfig) Unmarshal

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

func (*Listener_ConnectionBalanceConfig) Validate

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

func (*Listener_ConnectionBalanceConfig) XXX_DiscardUnknown

func (m *Listener_ConnectionBalanceConfig) XXX_DiscardUnknown()

func (*Listener_ConnectionBalanceConfig) XXX_Marshal

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

func (*Listener_ConnectionBalanceConfig) XXX_Merge

func (*Listener_ConnectionBalanceConfig) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Listener_ConnectionBalanceConfig) XXX_Size

func (m *Listener_ConnectionBalanceConfig) XXX_Size() int

func (*Listener_ConnectionBalanceConfig) XXX_Unmarshal

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

type Listener_ConnectionBalanceConfigValidationError

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

Listener_ConnectionBalanceConfigValidationError is the validation error returned by Listener_ConnectionBalanceConfig.Validate if the designated constraints aren't met.

func (Listener_ConnectionBalanceConfigValidationError) Cause

Cause function returns cause value.

func (Listener_ConnectionBalanceConfigValidationError) Error

Error satisfies the builtin error interface

func (Listener_ConnectionBalanceConfigValidationError) ErrorName

ErrorName returns error name.

func (Listener_ConnectionBalanceConfigValidationError) Field

Field function returns field value.

func (Listener_ConnectionBalanceConfigValidationError) Key

Key function returns key value.

func (Listener_ConnectionBalanceConfigValidationError) Reason

Reason function returns reason value.

type Listener_ConnectionBalanceConfig_ExactBalance

type Listener_ConnectionBalanceConfig_ExactBalance struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A connection balancer implementation that does exact balancing. This means that a lock is held during balancing so that connection counts are nearly exactly balanced between worker threads. This is "nearly" exact in the sense that a connection might close in parallel thus making the counts incorrect, but this should be rectified on the next accept. This balancer sacrifices accept throughput for accuracy and should be used when there are a small number of connections that rarely cycle (e.g., service mesh gRPC egress).

func (*Listener_ConnectionBalanceConfig_ExactBalance) Descriptor

func (*Listener_ConnectionBalanceConfig_ExactBalance) Marshal

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

func (*Listener_ConnectionBalanceConfig_ExactBalance) MarshalTo

func (*Listener_ConnectionBalanceConfig_ExactBalance) MarshalToSizedBuffer

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

func (*Listener_ConnectionBalanceConfig_ExactBalance) ProtoMessage

func (*Listener_ConnectionBalanceConfig_ExactBalance) Reset

func (*Listener_ConnectionBalanceConfig_ExactBalance) Size

func (*Listener_ConnectionBalanceConfig_ExactBalance) String

func (*Listener_ConnectionBalanceConfig_ExactBalance) Unmarshal

func (*Listener_ConnectionBalanceConfig_ExactBalance) Validate

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

func (*Listener_ConnectionBalanceConfig_ExactBalance) XXX_DiscardUnknown

func (m *Listener_ConnectionBalanceConfig_ExactBalance) XXX_DiscardUnknown()

func (*Listener_ConnectionBalanceConfig_ExactBalance) XXX_Marshal

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

func (*Listener_ConnectionBalanceConfig_ExactBalance) XXX_Merge

func (*Listener_ConnectionBalanceConfig_ExactBalance) XXX_Size

func (*Listener_ConnectionBalanceConfig_ExactBalance) XXX_Unmarshal

type Listener_ConnectionBalanceConfig_ExactBalanceValidationError

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

Listener_ConnectionBalanceConfig_ExactBalanceValidationError is the validation error returned by Listener_ConnectionBalanceConfig_ExactBalance.Validate if the designated constraints aren't met.

func (Listener_ConnectionBalanceConfig_ExactBalanceValidationError) Cause

Cause function returns cause value.

func (Listener_ConnectionBalanceConfig_ExactBalanceValidationError) Error

Error satisfies the builtin error interface

func (Listener_ConnectionBalanceConfig_ExactBalanceValidationError) ErrorName

ErrorName returns error name.

func (Listener_ConnectionBalanceConfig_ExactBalanceValidationError) Field

Field function returns field value.

func (Listener_ConnectionBalanceConfig_ExactBalanceValidationError) Key

Key function returns key value.

func (Listener_ConnectionBalanceConfig_ExactBalanceValidationError) Reason

Reason function returns reason value.

type Listener_ConnectionBalanceConfig_ExactBalance_

type Listener_ConnectionBalanceConfig_ExactBalance_ struct {
	ExactBalance *Listener_ConnectionBalanceConfig_ExactBalance `protobuf:"bytes,1,opt,name=exact_balance,json=exactBalance,proto3,oneof" json:"exact_balance,omitempty"`
}

func (*Listener_ConnectionBalanceConfig_ExactBalance_) MarshalTo

func (*Listener_ConnectionBalanceConfig_ExactBalance_) MarshalToSizedBuffer

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

func (*Listener_ConnectionBalanceConfig_ExactBalance_) Size

type Listener_DeprecatedV1

type Listener_DeprecatedV1 struct {
	// Whether the listener should bind to the port. A listener that doesn't
	// bind can only receive connections redirected from other listeners that
	// set use_original_dst parameter to true. Default is true.
	//
	// This is deprecated in v2, all Listeners will bind to their port. An
	// additional filter chain must be created for every original destination
	// port this listener may redirect to in v2, with the original port
	// specified in the FilterChainMatch destination_port field.
	//
	// [#comment:TODO(PiotrSikora): Remove this once verified that we no longer need it.]
	BindToPort           *types.BoolValue `protobuf:"bytes,1,opt,name=bind_to_port,json=bindToPort,proto3" json:"bind_to_port,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

[#not-implemented-hide:]

func (*Listener_DeprecatedV1) Descriptor

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

func (*Listener_DeprecatedV1) GetBindToPort

func (m *Listener_DeprecatedV1) GetBindToPort() *types.BoolValue

func (*Listener_DeprecatedV1) Marshal

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

func (*Listener_DeprecatedV1) MarshalTo

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

func (*Listener_DeprecatedV1) MarshalToSizedBuffer

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

func (*Listener_DeprecatedV1) ProtoMessage

func (*Listener_DeprecatedV1) ProtoMessage()

func (*Listener_DeprecatedV1) Reset

func (m *Listener_DeprecatedV1) Reset()

func (*Listener_DeprecatedV1) Size

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

func (*Listener_DeprecatedV1) String

func (m *Listener_DeprecatedV1) String() string

func (*Listener_DeprecatedV1) Unmarshal

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

func (*Listener_DeprecatedV1) Validate

func (m *Listener_DeprecatedV1) Validate() error

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

func (*Listener_DeprecatedV1) XXX_DiscardUnknown

func (m *Listener_DeprecatedV1) XXX_DiscardUnknown()

func (*Listener_DeprecatedV1) XXX_Marshal

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

func (*Listener_DeprecatedV1) XXX_Merge

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

func (*Listener_DeprecatedV1) XXX_Size

func (m *Listener_DeprecatedV1) XXX_Size() int

func (*Listener_DeprecatedV1) XXX_Unmarshal

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

type Listener_DeprecatedV1ValidationError

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

Listener_DeprecatedV1ValidationError is the validation error returned by Listener_DeprecatedV1.Validate if the designated constraints aren't met.

func (Listener_DeprecatedV1ValidationError) Cause

Cause function returns cause value.

func (Listener_DeprecatedV1ValidationError) Error

Error satisfies the builtin error interface

func (Listener_DeprecatedV1ValidationError) ErrorName

ErrorName returns error name.

func (Listener_DeprecatedV1ValidationError) Field

Field function returns field value.

func (Listener_DeprecatedV1ValidationError) Key

Key function returns key value.

func (Listener_DeprecatedV1ValidationError) Reason

Reason function returns reason value.

type Listener_DrainType

type Listener_DrainType int32
const (
	// Drain in response to calling /healthcheck/fail admin endpoint (along with the health check
	// filter), listener removal/modification, and hot restart.
	Listener_DEFAULT Listener_DrainType = 0
	// Drain in response to listener removal/modification and hot restart. This setting does not
	// include /healthcheck/fail. This setting may be desirable if Envoy is hosting both ingress
	// and egress listeners.
	Listener_MODIFY_ONLY Listener_DrainType = 1
)

func (Listener_DrainType) EnumDescriptor

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

func (Listener_DrainType) String

func (x Listener_DrainType) String() string

type QuicProtocolOptions

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

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

func (*QuicProtocolOptions) GetCryptoHandshakeTimeout

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

func (*QuicProtocolOptions) GetIdleTimeout

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

func (*QuicProtocolOptions) GetMaxConcurrentStreams

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

func (*QuicProtocolOptions) Marshal

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

func (*QuicProtocolOptions) MarshalTo

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

func (*QuicProtocolOptions) MarshalToSizedBuffer

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

func (*QuicProtocolOptions) ProtoMessage

func (*QuicProtocolOptions) ProtoMessage()

func (*QuicProtocolOptions) Reset

func (m *QuicProtocolOptions) Reset()

func (*QuicProtocolOptions) Size

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

func (*QuicProtocolOptions) String

func (m *QuicProtocolOptions) String() string

func (*QuicProtocolOptions) Unmarshal

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

func (*QuicProtocolOptions) Validate

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

func (m *QuicProtocolOptions) XXX_DiscardUnknown()

func (*QuicProtocolOptions) XXX_Marshal

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

func (*QuicProtocolOptions) XXX_Merge

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

func (*QuicProtocolOptions) XXX_Size

func (m *QuicProtocolOptions) XXX_Size() int

func (*QuicProtocolOptions) XXX_Unmarshal

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

type QuicProtocolOptionsValidationError

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

Cause function returns cause value.

func (QuicProtocolOptionsValidationError) Error

Error satisfies the builtin error interface

func (QuicProtocolOptionsValidationError) ErrorName

ErrorName returns error name.

func (QuicProtocolOptionsValidationError) Field

Field function returns field value.

func (QuicProtocolOptionsValidationError) Key

Key function returns key value.

func (QuicProtocolOptionsValidationError) Reason

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_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) 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_TypedConfig

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

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