Documentation ¶
Index ¶
- Variables
- type ActiveRawUdpListenerConfig
- func (*ActiveRawUdpListenerConfig) Descriptor() ([]byte, []int)deprecated
- func (*ActiveRawUdpListenerConfig) ProtoMessage()
- func (x *ActiveRawUdpListenerConfig) ProtoReflect() protoreflect.Message
- func (x *ActiveRawUdpListenerConfig) Reset()
- func (x *ActiveRawUdpListenerConfig) String() string
- func (m *ActiveRawUdpListenerConfig) Validate() error
- type ActiveRawUdpListenerConfigValidationError
- func (e ActiveRawUdpListenerConfigValidationError) Cause() error
- func (e ActiveRawUdpListenerConfigValidationError) Error() string
- func (e ActiveRawUdpListenerConfigValidationError) ErrorName() string
- func (e ActiveRawUdpListenerConfigValidationError) Field() string
- func (e ActiveRawUdpListenerConfigValidationError) Key() bool
- func (e ActiveRawUdpListenerConfigValidationError) Reason() string
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetConfig() *_struct.Structdeprecated
- func (m *Filter) GetConfigType() isFilter_ConfigType
- func (x *Filter) GetName() string
- func (x *Filter) GetTypedConfig() *any.Any
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) String() string
- func (m *Filter) Validate() error
- type FilterChain
- func (*FilterChain) Descriptor() ([]byte, []int)deprecated
- func (x *FilterChain) GetFilterChainMatch() *FilterChainMatch
- func (x *FilterChain) GetFilters() []*Filter
- func (x *FilterChain) GetMetadata() *core.Metadata
- func (x *FilterChain) GetName() string
- func (x *FilterChain) GetTlsContext() *auth.DownstreamTlsContextdeprecated
- func (x *FilterChain) GetTransportSocket() *core.TransportSocket
- func (x *FilterChain) GetUseProxyProto() *wrappers.BoolValue
- func (*FilterChain) ProtoMessage()
- func (x *FilterChain) ProtoReflect() protoreflect.Message
- func (x *FilterChain) Reset()
- func (x *FilterChain) String() string
- func (m *FilterChain) Validate() error
- type FilterChainMatch
- func (*FilterChainMatch) Descriptor() ([]byte, []int)deprecated
- func (x *FilterChainMatch) GetAddressSuffix() string
- func (x *FilterChainMatch) GetApplicationProtocols() []string
- func (x *FilterChainMatch) GetDestinationPort() *wrappers.UInt32Value
- func (x *FilterChainMatch) GetPrefixRanges() []*core.CidrRange
- func (x *FilterChainMatch) GetServerNames() []string
- func (x *FilterChainMatch) GetSourcePorts() []uint32
- func (x *FilterChainMatch) GetSourcePrefixRanges() []*core.CidrRange
- func (x *FilterChainMatch) GetSourceType() FilterChainMatch_ConnectionSourceType
- func (x *FilterChainMatch) GetSuffixLen() *wrappers.UInt32Value
- func (x *FilterChainMatch) GetTransportProtocol() string
- func (*FilterChainMatch) ProtoMessage()
- func (x *FilterChainMatch) ProtoReflect() protoreflect.Message
- func (x *FilterChainMatch) Reset()
- func (x *FilterChainMatch) String() string
- func (m *FilterChainMatch) Validate() error
- type FilterChainMatchValidationError
- func (e FilterChainMatchValidationError) Cause() error
- func (e FilterChainMatchValidationError) Error() string
- func (e FilterChainMatchValidationError) ErrorName() string
- func (e FilterChainMatchValidationError) Field() string
- func (e FilterChainMatchValidationError) Key() bool
- func (e FilterChainMatchValidationError) Reason() string
- type FilterChainMatch_ConnectionSourceType
- func (FilterChainMatch_ConnectionSourceType) Descriptor() protoreflect.EnumDescriptor
- func (x FilterChainMatch_ConnectionSourceType) Enum() *FilterChainMatch_ConnectionSourceType
- func (FilterChainMatch_ConnectionSourceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FilterChainMatch_ConnectionSourceType) Number() protoreflect.EnumNumber
- func (x FilterChainMatch_ConnectionSourceType) String() string
- func (FilterChainMatch_ConnectionSourceType) Type() protoreflect.EnumType
- type FilterChainValidationError
- func (e FilterChainValidationError) Cause() error
- func (e FilterChainValidationError) Error() string
- func (e FilterChainValidationError) ErrorName() string
- func (e FilterChainValidationError) Field() string
- func (e FilterChainValidationError) Key() bool
- func (e FilterChainValidationError) Reason() string
- type FilterValidationError
- type Filter_Config
- type Filter_TypedConfig
- type ListenerFilter
- func (*ListenerFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ListenerFilter) GetConfig() *_struct.Structdeprecated
- func (m *ListenerFilter) GetConfigType() isListenerFilter_ConfigType
- func (x *ListenerFilter) GetFilterDisabled() *ListenerFilterChainMatchPredicate
- func (x *ListenerFilter) GetName() string
- func (x *ListenerFilter) GetTypedConfig() *any.Any
- func (*ListenerFilter) ProtoMessage()
- func (x *ListenerFilter) ProtoReflect() protoreflect.Message
- func (x *ListenerFilter) Reset()
- func (x *ListenerFilter) String() string
- func (m *ListenerFilter) Validate() error
- type ListenerFilterChainMatchPredicate
- func (*ListenerFilterChainMatchPredicate) Descriptor() ([]byte, []int)deprecated
- func (x *ListenerFilterChainMatchPredicate) GetAndMatch() *ListenerFilterChainMatchPredicate_MatchSet
- func (x *ListenerFilterChainMatchPredicate) GetAnyMatch() bool
- func (x *ListenerFilterChainMatchPredicate) GetDestinationPortRange() *_type.Int32Range
- func (x *ListenerFilterChainMatchPredicate) GetNotMatch() *ListenerFilterChainMatchPredicate
- func (x *ListenerFilterChainMatchPredicate) GetOrMatch() *ListenerFilterChainMatchPredicate_MatchSet
- func (m *ListenerFilterChainMatchPredicate) GetRule() isListenerFilterChainMatchPredicate_Rule
- func (*ListenerFilterChainMatchPredicate) ProtoMessage()
- func (x *ListenerFilterChainMatchPredicate) ProtoReflect() protoreflect.Message
- func (x *ListenerFilterChainMatchPredicate) Reset()
- func (x *ListenerFilterChainMatchPredicate) String() string
- func (m *ListenerFilterChainMatchPredicate) Validate() error
- type ListenerFilterChainMatchPredicateValidationError
- func (e ListenerFilterChainMatchPredicateValidationError) Cause() error
- func (e ListenerFilterChainMatchPredicateValidationError) Error() string
- func (e ListenerFilterChainMatchPredicateValidationError) ErrorName() string
- func (e ListenerFilterChainMatchPredicateValidationError) Field() string
- func (e ListenerFilterChainMatchPredicateValidationError) Key() bool
- func (e ListenerFilterChainMatchPredicateValidationError) Reason() string
- type ListenerFilterChainMatchPredicate_AndMatch
- type ListenerFilterChainMatchPredicate_AnyMatch
- type ListenerFilterChainMatchPredicate_DestinationPortRange
- type ListenerFilterChainMatchPredicate_MatchSet
- func (*ListenerFilterChainMatchPredicate_MatchSet) Descriptor() ([]byte, []int)deprecated
- func (x *ListenerFilterChainMatchPredicate_MatchSet) GetRules() []*ListenerFilterChainMatchPredicate
- func (*ListenerFilterChainMatchPredicate_MatchSet) ProtoMessage()
- func (x *ListenerFilterChainMatchPredicate_MatchSet) ProtoReflect() protoreflect.Message
- func (x *ListenerFilterChainMatchPredicate_MatchSet) Reset()
- func (x *ListenerFilterChainMatchPredicate_MatchSet) String() string
- func (m *ListenerFilterChainMatchPredicate_MatchSet) Validate() error
- type ListenerFilterChainMatchPredicate_MatchSetValidationError
- func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Cause() error
- func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Error() string
- func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) ErrorName() string
- func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Field() string
- func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Key() bool
- func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Reason() string
- type ListenerFilterChainMatchPredicate_NotMatch
- type ListenerFilterChainMatchPredicate_OrMatch
- type ListenerFilterValidationError
- func (e ListenerFilterValidationError) Cause() error
- func (e ListenerFilterValidationError) Error() string
- func (e ListenerFilterValidationError) ErrorName() string
- func (e ListenerFilterValidationError) Field() string
- func (e ListenerFilterValidationError) Key() bool
- func (e ListenerFilterValidationError) Reason() string
- type ListenerFilter_Config
- type ListenerFilter_TypedConfig
- type QuicProtocolOptions
- func (*QuicProtocolOptions) Descriptor() ([]byte, []int)deprecated
- func (x *QuicProtocolOptions) GetCryptoHandshakeTimeout() *duration.Duration
- func (x *QuicProtocolOptions) GetIdleTimeout() *duration.Duration
- func (x *QuicProtocolOptions) GetMaxConcurrentStreams() *wrappers.UInt32Value
- func (*QuicProtocolOptions) ProtoMessage()
- func (x *QuicProtocolOptions) ProtoReflect() protoreflect.Message
- func (x *QuicProtocolOptions) Reset()
- func (x *QuicProtocolOptions) String() string
- func (m *QuicProtocolOptions) Validate() error
- type QuicProtocolOptionsValidationError
- func (e QuicProtocolOptionsValidationError) Cause() error
- func (e QuicProtocolOptionsValidationError) Error() string
- func (e QuicProtocolOptionsValidationError) ErrorName() string
- func (e QuicProtocolOptionsValidationError) Field() string
- func (e QuicProtocolOptionsValidationError) Key() bool
- func (e QuicProtocolOptionsValidationError) Reason() string
- type UdpListenerConfig
- func (*UdpListenerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *UdpListenerConfig) GetConfig() *_struct.Structdeprecated
- func (m *UdpListenerConfig) GetConfigType() isUdpListenerConfig_ConfigType
- func (x *UdpListenerConfig) GetTypedConfig() *any.Any
- func (x *UdpListenerConfig) GetUdpListenerName() string
- func (*UdpListenerConfig) ProtoMessage()
- func (x *UdpListenerConfig) ProtoReflect() protoreflect.Message
- func (x *UdpListenerConfig) Reset()
- func (x *UdpListenerConfig) String() string
- func (m *UdpListenerConfig) Validate() error
- type UdpListenerConfigValidationError
- func (e UdpListenerConfigValidationError) Cause() error
- func (e UdpListenerConfigValidationError) Error() string
- func (e UdpListenerConfigValidationError) ErrorName() string
- func (e UdpListenerConfigValidationError) Field() string
- func (e UdpListenerConfigValidationError) Key() bool
- func (e UdpListenerConfigValidationError) Reason() string
- type UdpListenerConfig_Config
- type UdpListenerConfig_TypedConfig
Constants ¶
This section is empty.
Variables ¶
var ( FilterChainMatch_ConnectionSourceType_name = map[int32]string{ 0: "ANY", 1: "LOCAL", 2: "EXTERNAL", } FilterChainMatch_ConnectionSourceType_value = map[string]int32{ "ANY": 0, "LOCAL": 1, "EXTERNAL": 2, } )
Enum value maps for FilterChainMatch_ConnectionSourceType.
var File_envoy_api_v2_listener_listener_components_proto protoreflect.FileDescriptor
var File_envoy_api_v2_listener_listener_proto protoreflect.FileDescriptor
var File_envoy_api_v2_listener_quic_config_proto protoreflect.FileDescriptor
var File_envoy_api_v2_listener_udp_listener_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ActiveRawUdpListenerConfig ¶
type ActiveRawUdpListenerConfig struct {
// contains filtered or unexported fields
}
func (*ActiveRawUdpListenerConfig) Descriptor
deprecated
func (*ActiveRawUdpListenerConfig) Descriptor() ([]byte, []int)
Deprecated: Use ActiveRawUdpListenerConfig.ProtoReflect.Descriptor instead.
func (*ActiveRawUdpListenerConfig) ProtoMessage ¶
func (*ActiveRawUdpListenerConfig) ProtoMessage()
func (*ActiveRawUdpListenerConfig) ProtoReflect ¶
func (x *ActiveRawUdpListenerConfig) ProtoReflect() protoreflect.Message
func (*ActiveRawUdpListenerConfig) Reset ¶
func (x *ActiveRawUdpListenerConfig) Reset()
func (*ActiveRawUdpListenerConfig) String ¶
func (x *ActiveRawUdpListenerConfig) String() string
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.
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 ¶
func (e ActiveRawUdpListenerConfigValidationError) Cause() error
Cause function returns cause value.
func (ActiveRawUdpListenerConfigValidationError) Error ¶
func (e ActiveRawUdpListenerConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ActiveRawUdpListenerConfigValidationError) ErrorName ¶
func (e ActiveRawUdpListenerConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ActiveRawUdpListenerConfigValidationError) Field ¶
func (e ActiveRawUdpListenerConfigValidationError) Field() string
Field function returns field value.
func (ActiveRawUdpListenerConfigValidationError) Key ¶
func (e ActiveRawUdpListenerConfigValidationError) Key() bool
Key function returns key value.
func (ActiveRawUdpListenerConfigValidationError) Reason ¶
func (e ActiveRawUdpListenerConfigValidationError) Reason() string
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 assignable to ConfigType: // *Filter_Config // *Filter_TypedConfig ConfigType isFilter_ConfigType `protobuf_oneof:"config_type"` // contains filtered or unexported fields }
func (*Filter) Descriptor
deprecated
func (*Filter) GetConfigType ¶
func (m *Filter) GetConfigType() isFilter_ConfigType
func (*Filter) GetTypedConfig ¶
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
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"` // The TLS context for this filter chain. // // .. attention:: // // **This field is deprecated**. Use `transport_socket` with name `tls` instead. If both are // set, `transport_socket` takes priority. // // Deprecated: Do not use. TlsContext *auth.DownstreamTlsContext `protobuf:"bytes,2,opt,name=tls_context,json=tlsContext,proto3" json:"tls_context,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 *wrappers.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_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"` // contains filtered or unexported fields }
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
deprecated
func (*FilterChain) Descriptor() ([]byte, []int)
Deprecated: Use FilterChain.ProtoReflect.Descriptor instead.
func (*FilterChain) GetFilterChainMatch ¶
func (x *FilterChain) GetFilterChainMatch() *FilterChainMatch
func (*FilterChain) GetFilters ¶
func (x *FilterChain) GetFilters() []*Filter
func (*FilterChain) GetMetadata ¶
func (x *FilterChain) GetMetadata() *core.Metadata
func (*FilterChain) GetName ¶
func (x *FilterChain) GetName() string
func (*FilterChain) GetTlsContext
deprecated
func (x *FilterChain) GetTlsContext() *auth.DownstreamTlsContext
Deprecated: Do not use.
func (*FilterChain) GetTransportSocket ¶
func (x *FilterChain) GetTransportSocket() *core.TransportSocket
func (*FilterChain) GetUseProxyProto ¶
func (x *FilterChain) GetUseProxyProto() *wrappers.BoolValue
func (*FilterChain) ProtoMessage ¶
func (*FilterChain) ProtoMessage()
func (*FilterChain) ProtoReflect ¶
func (x *FilterChain) ProtoReflect() protoreflect.Message
func (*FilterChain) Reset ¶
func (x *FilterChain) Reset()
func (*FilterChain) String ¶
func (x *FilterChain) String() string
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.
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 *wrappers.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 *wrappers.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 `` /* 158-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.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"` // contains filtered or unexported fields }
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
deprecated
func (*FilterChainMatch) Descriptor() ([]byte, []int)
Deprecated: Use FilterChainMatch.ProtoReflect.Descriptor instead.
func (*FilterChainMatch) GetAddressSuffix ¶
func (x *FilterChainMatch) GetAddressSuffix() string
func (*FilterChainMatch) GetApplicationProtocols ¶
func (x *FilterChainMatch) GetApplicationProtocols() []string
func (*FilterChainMatch) GetDestinationPort ¶
func (x *FilterChainMatch) GetDestinationPort() *wrappers.UInt32Value
func (*FilterChainMatch) GetPrefixRanges ¶
func (x *FilterChainMatch) GetPrefixRanges() []*core.CidrRange
func (*FilterChainMatch) GetServerNames ¶
func (x *FilterChainMatch) GetServerNames() []string
func (*FilterChainMatch) GetSourcePorts ¶
func (x *FilterChainMatch) GetSourcePorts() []uint32
func (*FilterChainMatch) GetSourcePrefixRanges ¶
func (x *FilterChainMatch) GetSourcePrefixRanges() []*core.CidrRange
func (*FilterChainMatch) GetSourceType ¶
func (x *FilterChainMatch) GetSourceType() FilterChainMatch_ConnectionSourceType
func (*FilterChainMatch) GetSuffixLen ¶
func (x *FilterChainMatch) GetSuffixLen() *wrappers.UInt32Value
func (*FilterChainMatch) GetTransportProtocol ¶
func (x *FilterChainMatch) GetTransportProtocol() string
func (*FilterChainMatch) ProtoMessage ¶
func (*FilterChainMatch) ProtoMessage()
func (*FilterChainMatch) ProtoReflect ¶
func (x *FilterChainMatch) ProtoReflect() protoreflect.Message
func (*FilterChainMatch) Reset ¶
func (x *FilterChainMatch) Reset()
func (*FilterChainMatch) String ¶
func (x *FilterChainMatch) String() string
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.
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 ¶
func (e FilterChainMatchValidationError) Cause() error
Cause function returns cause value.
func (FilterChainMatchValidationError) Error ¶
func (e FilterChainMatchValidationError) Error() string
Error satisfies the builtin error interface
func (FilterChainMatchValidationError) ErrorName ¶
func (e FilterChainMatchValidationError) ErrorName() string
ErrorName returns error name.
func (FilterChainMatchValidationError) Field ¶
func (e FilterChainMatchValidationError) Field() string
Field function returns field value.
func (FilterChainMatchValidationError) Key ¶
func (e FilterChainMatchValidationError) Key() bool
Key function returns key value.
func (FilterChainMatchValidationError) Reason ¶
func (e FilterChainMatchValidationError) Reason() string
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) Descriptor ¶
func (FilterChainMatch_ConnectionSourceType) Descriptor() protoreflect.EnumDescriptor
func (FilterChainMatch_ConnectionSourceType) EnumDescriptor
deprecated
func (FilterChainMatch_ConnectionSourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FilterChainMatch_ConnectionSourceType.Descriptor instead.
func (FilterChainMatch_ConnectionSourceType) Number ¶
func (x FilterChainMatch_ConnectionSourceType) Number() protoreflect.EnumNumber
func (FilterChainMatch_ConnectionSourceType) String ¶
func (x FilterChainMatch_ConnectionSourceType) String() string
func (FilterChainMatch_ConnectionSourceType) Type ¶
func (FilterChainMatch_ConnectionSourceType) Type() protoreflect.EnumType
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 ¶
func (e FilterChainValidationError) Cause() error
Cause function returns cause value.
func (FilterChainValidationError) Error ¶
func (e FilterChainValidationError) Error() string
Error satisfies the builtin error interface
func (FilterChainValidationError) ErrorName ¶
func (e FilterChainValidationError) ErrorName() string
ErrorName returns error name.
func (FilterChainValidationError) Field ¶
func (e FilterChainValidationError) Field() string
Field function returns field value.
func (FilterChainValidationError) Key ¶
func (e FilterChainValidationError) Key() bool
Key function returns key value.
func (FilterChainValidationError) Reason ¶
func (e FilterChainValidationError) Reason() string
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_Config ¶
type Filter_TypedConfig ¶
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 assignable to ConfigType: // *ListenerFilter_Config // *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_listener.ListenerFilterChainMatchPredicate>` // for further examples. FilterDisabled *ListenerFilterChainMatchPredicate `protobuf:"bytes,4,opt,name=filter_disabled,json=filterDisabled,proto3" json:"filter_disabled,omitempty"` // contains filtered or unexported fields }
func (*ListenerFilter) Descriptor
deprecated
func (*ListenerFilter) Descriptor() ([]byte, []int)
Deprecated: Use ListenerFilter.ProtoReflect.Descriptor instead.
func (*ListenerFilter) GetConfig
deprecated
func (x *ListenerFilter) GetConfig() *_struct.Struct
Deprecated: Do not use.
func (*ListenerFilter) GetConfigType ¶
func (m *ListenerFilter) GetConfigType() isListenerFilter_ConfigType
func (*ListenerFilter) GetFilterDisabled ¶
func (x *ListenerFilter) GetFilterDisabled() *ListenerFilterChainMatchPredicate
func (*ListenerFilter) GetName ¶
func (x *ListenerFilter) GetName() string
func (*ListenerFilter) GetTypedConfig ¶
func (x *ListenerFilter) GetTypedConfig() *any.Any
func (*ListenerFilter) ProtoMessage ¶
func (*ListenerFilter) ProtoMessage()
func (*ListenerFilter) ProtoReflect ¶
func (x *ListenerFilter) ProtoReflect() protoreflect.Message
func (*ListenerFilter) Reset ¶
func (x *ListenerFilter) Reset()
func (*ListenerFilter) String ¶
func (x *ListenerFilter) String() string
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.
type ListenerFilterChainMatchPredicate ¶
type ListenerFilterChainMatchPredicate struct { // Types that are assignable to Rule: // *ListenerFilterChainMatchPredicate_OrMatch // *ListenerFilterChainMatchPredicate_AndMatch // *ListenerFilterChainMatchPredicate_NotMatch // *ListenerFilterChainMatchPredicate_AnyMatch // *ListenerFilterChainMatchPredicate_DestinationPortRange Rule isListenerFilterChainMatchPredicate_Rule `protobuf_oneof:"rule"` // contains filtered or unexported fields }
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
deprecated
func (*ListenerFilterChainMatchPredicate) Descriptor() ([]byte, []int)
Deprecated: Use ListenerFilterChainMatchPredicate.ProtoReflect.Descriptor instead.
func (*ListenerFilterChainMatchPredicate) GetAndMatch ¶
func (x *ListenerFilterChainMatchPredicate) GetAndMatch() *ListenerFilterChainMatchPredicate_MatchSet
func (*ListenerFilterChainMatchPredicate) GetAnyMatch ¶
func (x *ListenerFilterChainMatchPredicate) GetAnyMatch() bool
func (*ListenerFilterChainMatchPredicate) GetDestinationPortRange ¶
func (x *ListenerFilterChainMatchPredicate) GetDestinationPortRange() *_type.Int32Range
func (*ListenerFilterChainMatchPredicate) GetNotMatch ¶
func (x *ListenerFilterChainMatchPredicate) GetNotMatch() *ListenerFilterChainMatchPredicate
func (*ListenerFilterChainMatchPredicate) GetOrMatch ¶
func (x *ListenerFilterChainMatchPredicate) GetOrMatch() *ListenerFilterChainMatchPredicate_MatchSet
func (*ListenerFilterChainMatchPredicate) GetRule ¶
func (m *ListenerFilterChainMatchPredicate) GetRule() isListenerFilterChainMatchPredicate_Rule
func (*ListenerFilterChainMatchPredicate) ProtoMessage ¶
func (*ListenerFilterChainMatchPredicate) ProtoMessage()
func (*ListenerFilterChainMatchPredicate) ProtoReflect ¶
func (x *ListenerFilterChainMatchPredicate) ProtoReflect() protoreflect.Message
func (*ListenerFilterChainMatchPredicate) Reset ¶
func (x *ListenerFilterChainMatchPredicate) Reset()
func (*ListenerFilterChainMatchPredicate) String ¶
func (x *ListenerFilterChainMatchPredicate) String() string
func (*ListenerFilterChainMatchPredicate) Validate ¶
func (m *ListenerFilterChainMatchPredicate) Validate() error
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.
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 ¶
func (e ListenerFilterChainMatchPredicateValidationError) Cause() error
Cause function returns cause value.
func (ListenerFilterChainMatchPredicateValidationError) Error ¶
func (e ListenerFilterChainMatchPredicateValidationError) Error() string
Error satisfies the builtin error interface
func (ListenerFilterChainMatchPredicateValidationError) ErrorName ¶
func (e ListenerFilterChainMatchPredicateValidationError) ErrorName() string
ErrorName returns error name.
func (ListenerFilterChainMatchPredicateValidationError) Field ¶
func (e ListenerFilterChainMatchPredicateValidationError) Field() string
Field function returns field value.
func (ListenerFilterChainMatchPredicateValidationError) Key ¶
func (e ListenerFilterChainMatchPredicateValidationError) Key() bool
Key function returns key value.
func (ListenerFilterChainMatchPredicateValidationError) Reason ¶
func (e ListenerFilterChainMatchPredicateValidationError) Reason() string
Reason function returns reason value.
type ListenerFilterChainMatchPredicate_AndMatch ¶
type ListenerFilterChainMatchPredicate_AndMatch struct { // A set that describes a logical AND. If all members of the set match, the match configuration // matches. AndMatch *ListenerFilterChainMatchPredicate_MatchSet `protobuf:"bytes,2,opt,name=and_match,json=andMatch,proto3,oneof"` }
type ListenerFilterChainMatchPredicate_AnyMatch ¶
type ListenerFilterChainMatchPredicate_AnyMatch struct { // The match configuration will always match. AnyMatch bool `protobuf:"varint,4,opt,name=any_match,json=anyMatch,proto3,oneof"` }
type ListenerFilterChainMatchPredicate_DestinationPortRange ¶
type ListenerFilterChainMatchPredicate_DestinationPortRange struct { // Match destination port. Particularly, the match evaluation must use the recovered local port if // the owning listener filter is after :ref:`an original_dst listener filter <config_listener_filters_original_dst>`. DestinationPortRange *_type.Int32Range `protobuf:"bytes,5,opt,name=destination_port_range,json=destinationPortRange,proto3,oneof"` }
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"` // contains filtered or unexported fields }
A set of match configurations used for logical operations.
func (*ListenerFilterChainMatchPredicate_MatchSet) Descriptor
deprecated
func (*ListenerFilterChainMatchPredicate_MatchSet) Descriptor() ([]byte, []int)
Deprecated: Use ListenerFilterChainMatchPredicate_MatchSet.ProtoReflect.Descriptor instead.
func (*ListenerFilterChainMatchPredicate_MatchSet) GetRules ¶
func (x *ListenerFilterChainMatchPredicate_MatchSet) GetRules() []*ListenerFilterChainMatchPredicate
func (*ListenerFilterChainMatchPredicate_MatchSet) ProtoMessage ¶
func (*ListenerFilterChainMatchPredicate_MatchSet) ProtoMessage()
func (*ListenerFilterChainMatchPredicate_MatchSet) ProtoReflect ¶
func (x *ListenerFilterChainMatchPredicate_MatchSet) ProtoReflect() protoreflect.Message
func (*ListenerFilterChainMatchPredicate_MatchSet) Reset ¶
func (x *ListenerFilterChainMatchPredicate_MatchSet) Reset()
func (*ListenerFilterChainMatchPredicate_MatchSet) String ¶
func (x *ListenerFilterChainMatchPredicate_MatchSet) String() string
func (*ListenerFilterChainMatchPredicate_MatchSet) Validate ¶
func (m *ListenerFilterChainMatchPredicate_MatchSet) Validate() error
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.
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 ¶
func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Cause() error
Cause function returns cause value.
func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Error ¶
func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Error() string
Error satisfies the builtin error interface
func (ListenerFilterChainMatchPredicate_MatchSetValidationError) ErrorName ¶
func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) ErrorName() string
ErrorName returns error name.
func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Field ¶
func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Field() string
Field function returns field value.
func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Key ¶
func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Key() bool
Key function returns key value.
func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Reason ¶
func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Reason() string
Reason function returns reason value.
type ListenerFilterChainMatchPredicate_NotMatch ¶
type ListenerFilterChainMatchPredicate_NotMatch struct { // A negation match. The match configuration will match if the negated match condition matches. NotMatch *ListenerFilterChainMatchPredicate `protobuf:"bytes,3,opt,name=not_match,json=notMatch,proto3,oneof"` }
type ListenerFilterChainMatchPredicate_OrMatch ¶
type ListenerFilterChainMatchPredicate_OrMatch struct { // A set that describes a logical OR. If any member of the set matches, the match configuration // matches. OrMatch *ListenerFilterChainMatchPredicate_MatchSet `protobuf:"bytes,1,opt,name=or_match,json=orMatch,proto3,oneof"` }
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 ¶
func (e ListenerFilterValidationError) Cause() error
Cause function returns cause value.
func (ListenerFilterValidationError) Error ¶
func (e ListenerFilterValidationError) Error() string
Error satisfies the builtin error interface
func (ListenerFilterValidationError) ErrorName ¶
func (e ListenerFilterValidationError) ErrorName() string
ErrorName returns error name.
func (ListenerFilterValidationError) Field ¶
func (e ListenerFilterValidationError) Field() string
Field function returns field value.
func (ListenerFilterValidationError) Key ¶
func (e ListenerFilterValidationError) Key() bool
Key function returns key value.
func (ListenerFilterValidationError) Reason ¶
func (e ListenerFilterValidationError) Reason() string
Reason function returns reason value.
type ListenerFilter_Config ¶
type QuicProtocolOptions ¶
type QuicProtocolOptions struct { // Maximum number of streams that the client can negotiate per connection. 100 // if not specified. MaxConcurrentStreams *wrappers.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 *duration.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 *duration.Duration `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration specific to the QUIC protocol. Next id: 4
func (*QuicProtocolOptions) Descriptor
deprecated
func (*QuicProtocolOptions) Descriptor() ([]byte, []int)
Deprecated: Use QuicProtocolOptions.ProtoReflect.Descriptor instead.
func (*QuicProtocolOptions) GetCryptoHandshakeTimeout ¶
func (x *QuicProtocolOptions) GetCryptoHandshakeTimeout() *duration.Duration
func (*QuicProtocolOptions) GetIdleTimeout ¶
func (x *QuicProtocolOptions) GetIdleTimeout() *duration.Duration
func (*QuicProtocolOptions) GetMaxConcurrentStreams ¶
func (x *QuicProtocolOptions) GetMaxConcurrentStreams() *wrappers.UInt32Value
func (*QuicProtocolOptions) ProtoMessage ¶
func (*QuicProtocolOptions) ProtoMessage()
func (*QuicProtocolOptions) ProtoReflect ¶
func (x *QuicProtocolOptions) ProtoReflect() protoreflect.Message
func (*QuicProtocolOptions) Reset ¶
func (x *QuicProtocolOptions) Reset()
func (*QuicProtocolOptions) String ¶
func (x *QuicProtocolOptions) String() string
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.
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 ¶
func (e QuicProtocolOptionsValidationError) Cause() error
Cause function returns cause value.
func (QuicProtocolOptionsValidationError) Error ¶
func (e QuicProtocolOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (QuicProtocolOptionsValidationError) ErrorName ¶
func (e QuicProtocolOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (QuicProtocolOptionsValidationError) Field ¶
func (e QuicProtocolOptionsValidationError) Field() string
Field function returns field value.
func (QuicProtocolOptionsValidationError) Key ¶
func (e QuicProtocolOptionsValidationError) Key() bool
Key function returns key value.
func (QuicProtocolOptionsValidationError) Reason ¶
func (e QuicProtocolOptionsValidationError) Reason() string
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 assignable to ConfigType: // *UdpListenerConfig_Config // *UdpListenerConfig_TypedConfig ConfigType isUdpListenerConfig_ConfigType `protobuf_oneof:"config_type"` // contains filtered or unexported fields }
func (*UdpListenerConfig) Descriptor
deprecated
func (*UdpListenerConfig) Descriptor() ([]byte, []int)
Deprecated: Use UdpListenerConfig.ProtoReflect.Descriptor instead.
func (*UdpListenerConfig) GetConfig
deprecated
func (x *UdpListenerConfig) GetConfig() *_struct.Struct
Deprecated: Do not use.
func (*UdpListenerConfig) GetConfigType ¶
func (m *UdpListenerConfig) GetConfigType() isUdpListenerConfig_ConfigType
func (*UdpListenerConfig) GetTypedConfig ¶
func (x *UdpListenerConfig) GetTypedConfig() *any.Any
func (*UdpListenerConfig) GetUdpListenerName ¶
func (x *UdpListenerConfig) GetUdpListenerName() string
func (*UdpListenerConfig) ProtoMessage ¶
func (*UdpListenerConfig) ProtoMessage()
func (*UdpListenerConfig) ProtoReflect ¶
func (x *UdpListenerConfig) ProtoReflect() protoreflect.Message
func (*UdpListenerConfig) Reset ¶
func (x *UdpListenerConfig) Reset()
func (*UdpListenerConfig) String ¶
func (x *UdpListenerConfig) String() string
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.
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 ¶
func (e UdpListenerConfigValidationError) Cause() error
Cause function returns cause value.
func (UdpListenerConfigValidationError) Error ¶
func (e UdpListenerConfigValidationError) Error() string
Error satisfies the builtin error interface
func (UdpListenerConfigValidationError) ErrorName ¶
func (e UdpListenerConfigValidationError) ErrorName() string
ErrorName returns error name.
func (UdpListenerConfigValidationError) Field ¶
func (e UdpListenerConfigValidationError) Field() string
Field function returns field value.
func (UdpListenerConfigValidationError) Key ¶
func (e UdpListenerConfigValidationError) Key() bool
Key function returns key value.
func (UdpListenerConfigValidationError) Reason ¶
func (e UdpListenerConfigValidationError) Reason() string
Reason function returns reason value.