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
- func (m *ActiveRawUdpListenerConfig) ValidateAll() error
- type ActiveRawUdpListenerConfigMultiError
- 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() *structpb.Structdeprecated
- func (m *Filter) GetConfigType() isFilter_ConfigType
- func (x *Filter) GetName() string
- func (x *Filter) GetTypedConfig() *anypb.Any
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) String() string
- func (m *Filter) Validate() error
- func (m *Filter) ValidateAll() 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() *wrapperspb.BoolValue
- func (*FilterChain) ProtoMessage()
- func (x *FilterChain) ProtoReflect() protoreflect.Message
- func (x *FilterChain) Reset()
- func (x *FilterChain) String() string
- func (m *FilterChain) Validate() error
- func (m *FilterChain) ValidateAll() error
- type FilterChainMatch
- func (*FilterChainMatch) Descriptor() ([]byte, []int)deprecated
- func (x *FilterChainMatch) GetAddressSuffix() string
- func (x *FilterChainMatch) GetApplicationProtocols() []string
- func (x *FilterChainMatch) GetDestinationPort() *wrapperspb.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() *wrapperspb.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
- func (m *FilterChainMatch) ValidateAll() error
- type FilterChainMatchMultiError
- 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 FilterChainMultiError
- 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 FilterMultiError
- type FilterValidationError
- type Filter_Config
- type Filter_TypedConfig
- type ListenerFilter
- func (*ListenerFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ListenerFilter) GetConfig() *structpb.Structdeprecated
- func (m *ListenerFilter) GetConfigType() isListenerFilter_ConfigType
- func (x *ListenerFilter) GetFilterDisabled() *ListenerFilterChainMatchPredicate
- func (x *ListenerFilter) GetName() string
- func (x *ListenerFilter) GetTypedConfig() *anypb.Any
- func (*ListenerFilter) ProtoMessage()
- func (x *ListenerFilter) ProtoReflect() protoreflect.Message
- func (x *ListenerFilter) Reset()
- func (x *ListenerFilter) String() string
- func (m *ListenerFilter) Validate() error
- func (m *ListenerFilter) ValidateAll() 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
- func (m *ListenerFilterChainMatchPredicate) ValidateAll() error
- type ListenerFilterChainMatchPredicateMultiError
- 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
- func (m *ListenerFilterChainMatchPredicate_MatchSet) ValidateAll() error
- type ListenerFilterChainMatchPredicate_MatchSetMultiError
- 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 ListenerFilterMultiError
- 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() *durationpb.Duration
- func (x *QuicProtocolOptions) GetIdleTimeout() *durationpb.Duration
- func (x *QuicProtocolOptions) GetMaxConcurrentStreams() *wrapperspb.UInt32Value
- func (*QuicProtocolOptions) ProtoMessage()
- func (x *QuicProtocolOptions) ProtoReflect() protoreflect.Message
- func (x *QuicProtocolOptions) Reset()
- func (x *QuicProtocolOptions) String() string
- func (m *QuicProtocolOptions) Validate() error
- func (m *QuicProtocolOptions) ValidateAll() error
- type QuicProtocolOptionsMultiError
- 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() *structpb.Structdeprecated
- func (m *UdpListenerConfig) GetConfigType() isUdpListenerConfig_ConfigType
- func (x *UdpListenerConfig) GetTypedConfig() *anypb.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
- func (m *UdpListenerConfig) ValidateAll() error
- type UdpListenerConfigMultiError
- 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 ¶ added in v0.9.2
type ActiveRawUdpListenerConfig struct {
// contains filtered or unexported fields
}
func (*ActiveRawUdpListenerConfig) Descriptor
deprecated
added in
v0.9.2
func (*ActiveRawUdpListenerConfig) Descriptor() ([]byte, []int)
Deprecated: Use ActiveRawUdpListenerConfig.ProtoReflect.Descriptor instead.
func (*ActiveRawUdpListenerConfig) ProtoMessage ¶ added in v0.9.2
func (*ActiveRawUdpListenerConfig) ProtoMessage()
func (*ActiveRawUdpListenerConfig) ProtoReflect ¶ added in v0.9.6
func (x *ActiveRawUdpListenerConfig) ProtoReflect() protoreflect.Message
func (*ActiveRawUdpListenerConfig) Reset ¶ added in v0.9.2
func (x *ActiveRawUdpListenerConfig) Reset()
func (*ActiveRawUdpListenerConfig) String ¶ added in v0.9.2
func (x *ActiveRawUdpListenerConfig) String() string
func (*ActiveRawUdpListenerConfig) Validate ¶ added in v0.9.2
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, the first error encountered is returned, or nil if there are no violations.
func (*ActiveRawUdpListenerConfig) ValidateAll ¶ added in v0.10.0
func (m *ActiveRawUdpListenerConfig) ValidateAll() error
ValidateAll checks the field values on ActiveRawUdpListenerConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ActiveRawUdpListenerConfigMultiError, or nil if none found.
type ActiveRawUdpListenerConfigMultiError ¶ added in v0.10.0
type ActiveRawUdpListenerConfigMultiError []error
ActiveRawUdpListenerConfigMultiError is an error wrapping multiple validation errors returned by ActiveRawUdpListenerConfig.ValidateAll() if the designated constraints aren't met.
func (ActiveRawUdpListenerConfigMultiError) AllErrors ¶ added in v0.10.0
func (m ActiveRawUdpListenerConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ActiveRawUdpListenerConfigMultiError) Error ¶ added in v0.10.0
func (m ActiveRawUdpListenerConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ActiveRawUdpListenerConfigValidationError ¶ added in v0.9.2
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 ¶ added in v0.9.2
func (e ActiveRawUdpListenerConfigValidationError) Cause() error
Cause function returns cause value.
func (ActiveRawUdpListenerConfigValidationError) Error ¶ added in v0.9.2
func (e ActiveRawUdpListenerConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ActiveRawUdpListenerConfigValidationError) ErrorName ¶ added in v0.9.2
func (e ActiveRawUdpListenerConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ActiveRawUdpListenerConfigValidationError) Field ¶ added in v0.9.2
func (e ActiveRawUdpListenerConfigValidationError) Field() string
Field function returns field value.
func (ActiveRawUdpListenerConfigValidationError) Key ¶ added in v0.9.2
func (e ActiveRawUdpListenerConfigValidationError) Key() bool
Key function returns key value.
func (ActiveRawUdpListenerConfigValidationError) Reason ¶ added in v0.9.2
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 ¶ added in v0.6.3
func (m *Filter) GetConfigType() isFilter_ConfigType
func (*Filter) GetTypedConfig ¶ added in v0.6.3
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶ added in v0.9.6
func (x *Filter) ProtoReflect() protoreflect.Message
func (*Filter) Validate ¶
Validate checks the field values on Filter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Filter) ValidateAll ¶ added in v0.10.0
ValidateAll checks the field values on Filter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FilterMultiError, or nil if none found.
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: Marked as deprecated in envoy/api/v2/listener/listener_components.proto. 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 *wrapperspb.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 ¶ added in v0.9.0
func (x *FilterChain) GetName() string
func (*FilterChain) GetTlsContext
deprecated
func (x *FilterChain) GetTlsContext() *auth.DownstreamTlsContext
Deprecated: Marked as deprecated in envoy/api/v2/listener/listener_components.proto.
func (*FilterChain) GetTransportSocket ¶
func (x *FilterChain) GetTransportSocket() *core.TransportSocket
func (*FilterChain) GetUseProxyProto ¶
func (x *FilterChain) GetUseProxyProto() *wrapperspb.BoolValue
func (*FilterChain) ProtoMessage ¶
func (*FilterChain) ProtoMessage()
func (*FilterChain) ProtoReflect ¶ added in v0.9.6
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, the first error encountered is returned, or nil if there are no violations.
func (*FilterChain) ValidateAll ¶ added in v0.10.0
func (m *FilterChain) ValidateAll() error
ValidateAll checks the field values on FilterChain with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FilterChainMultiError, or nil if none found.
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 *wrapperspb.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 *wrapperspb.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() *wrapperspb.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 ¶ added in v0.6.4
func (x *FilterChainMatch) GetSourceType() FilterChainMatch_ConnectionSourceType
func (*FilterChainMatch) GetSuffixLen ¶
func (x *FilterChainMatch) GetSuffixLen() *wrapperspb.UInt32Value
func (*FilterChainMatch) GetTransportProtocol ¶
func (x *FilterChainMatch) GetTransportProtocol() string
func (*FilterChainMatch) ProtoMessage ¶
func (*FilterChainMatch) ProtoMessage()
func (*FilterChainMatch) ProtoReflect ¶ added in v0.9.6
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, the first error encountered is returned, or nil if there are no violations.
func (*FilterChainMatch) ValidateAll ¶ added in v0.10.0
func (m *FilterChainMatch) ValidateAll() error
ValidateAll checks the field values on FilterChainMatch with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FilterChainMatchMultiError, or nil if none found.
type FilterChainMatchMultiError ¶ added in v0.10.0
type FilterChainMatchMultiError []error
FilterChainMatchMultiError is an error wrapping multiple validation errors returned by FilterChainMatch.ValidateAll() if the designated constraints aren't met.
func (FilterChainMatchMultiError) AllErrors ¶ added in v0.10.0
func (m FilterChainMatchMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterChainMatchMultiError) Error ¶ added in v0.10.0
func (m FilterChainMatchMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶ added in v0.7.0
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 ¶ added in v0.6.4
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 ¶ added in v0.9.6
func (FilterChainMatch_ConnectionSourceType) Descriptor() protoreflect.EnumDescriptor
func (FilterChainMatch_ConnectionSourceType) EnumDescriptor
deprecated
added in
v0.6.4
func (FilterChainMatch_ConnectionSourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FilterChainMatch_ConnectionSourceType.Descriptor instead.
func (FilterChainMatch_ConnectionSourceType) Number ¶ added in v0.9.6
func (x FilterChainMatch_ConnectionSourceType) Number() protoreflect.EnumNumber
func (FilterChainMatch_ConnectionSourceType) String ¶ added in v0.6.4
func (x FilterChainMatch_ConnectionSourceType) String() string
func (FilterChainMatch_ConnectionSourceType) Type ¶ added in v0.9.6
func (FilterChainMatch_ConnectionSourceType) Type() protoreflect.EnumType
type FilterChainMultiError ¶ added in v0.10.0
type FilterChainMultiError []error
FilterChainMultiError is an error wrapping multiple validation errors returned by FilterChain.ValidateAll() if the designated constraints aren't met.
func (FilterChainMultiError) AllErrors ¶ added in v0.10.0
func (m FilterChainMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterChainMultiError) Error ¶ added in v0.10.0
func (m FilterChainMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶ added in v0.7.0
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 FilterMultiError ¶ added in v0.10.0
type FilterMultiError []error
FilterMultiError is an error wrapping multiple validation errors returned by Filter.ValidateAll() if the designated constraints aren't met.
func (FilterMultiError) AllErrors ¶ added in v0.10.0
func (m FilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterMultiError) Error ¶ added in v0.10.0
func (m FilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶ added in v0.7.0
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 ¶ added in v0.6.3
type Filter_TypedConfig ¶ added in v0.6.3
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() *structpb.Struct
Deprecated: Marked as deprecated in envoy/api/v2/listener/listener_components.proto.
func (*ListenerFilter) GetConfigType ¶ added in v0.6.3
func (m *ListenerFilter) GetConfigType() isListenerFilter_ConfigType
func (*ListenerFilter) GetFilterDisabled ¶ added in v0.9.3
func (x *ListenerFilter) GetFilterDisabled() *ListenerFilterChainMatchPredicate
func (*ListenerFilter) GetName ¶
func (x *ListenerFilter) GetName() string
func (*ListenerFilter) GetTypedConfig ¶ added in v0.6.3
func (x *ListenerFilter) GetTypedConfig() *anypb.Any
func (*ListenerFilter) ProtoMessage ¶
func (*ListenerFilter) ProtoMessage()
func (*ListenerFilter) ProtoReflect ¶ added in v0.9.6
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, the first error encountered is returned, or nil if there are no violations.
func (*ListenerFilter) ValidateAll ¶ added in v0.10.0
func (m *ListenerFilter) ValidateAll() error
ValidateAll checks the field values on ListenerFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListenerFilterMultiError, or nil if none found.
type ListenerFilterChainMatchPredicate ¶ added in v0.9.3
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: 3307 - destination_port_range: start: 15000 end: 15001
[#next-free-field: 6]
func (*ListenerFilterChainMatchPredicate) Descriptor
deprecated
added in
v0.9.3
func (*ListenerFilterChainMatchPredicate) Descriptor() ([]byte, []int)
Deprecated: Use ListenerFilterChainMatchPredicate.ProtoReflect.Descriptor instead.
func (*ListenerFilterChainMatchPredicate) GetAndMatch ¶ added in v0.9.3
func (x *ListenerFilterChainMatchPredicate) GetAndMatch() *ListenerFilterChainMatchPredicate_MatchSet
func (*ListenerFilterChainMatchPredicate) GetAnyMatch ¶ added in v0.9.3
func (x *ListenerFilterChainMatchPredicate) GetAnyMatch() bool
func (*ListenerFilterChainMatchPredicate) GetDestinationPortRange ¶ added in v0.9.3
func (x *ListenerFilterChainMatchPredicate) GetDestinationPortRange() *_type.Int32Range
func (*ListenerFilterChainMatchPredicate) GetNotMatch ¶ added in v0.9.3
func (x *ListenerFilterChainMatchPredicate) GetNotMatch() *ListenerFilterChainMatchPredicate
func (*ListenerFilterChainMatchPredicate) GetOrMatch ¶ added in v0.9.3
func (x *ListenerFilterChainMatchPredicate) GetOrMatch() *ListenerFilterChainMatchPredicate_MatchSet
func (*ListenerFilterChainMatchPredicate) GetRule ¶ added in v0.9.3
func (m *ListenerFilterChainMatchPredicate) GetRule() isListenerFilterChainMatchPredicate_Rule
func (*ListenerFilterChainMatchPredicate) ProtoMessage ¶ added in v0.9.3
func (*ListenerFilterChainMatchPredicate) ProtoMessage()
func (*ListenerFilterChainMatchPredicate) ProtoReflect ¶ added in v0.9.6
func (x *ListenerFilterChainMatchPredicate) ProtoReflect() protoreflect.Message
func (*ListenerFilterChainMatchPredicate) Reset ¶ added in v0.9.3
func (x *ListenerFilterChainMatchPredicate) Reset()
func (*ListenerFilterChainMatchPredicate) String ¶ added in v0.9.3
func (x *ListenerFilterChainMatchPredicate) String() string
func (*ListenerFilterChainMatchPredicate) Validate ¶ added in v0.9.3
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, the first error encountered is returned, or nil if there are no violations.
func (*ListenerFilterChainMatchPredicate) ValidateAll ¶ added in v0.10.0
func (m *ListenerFilterChainMatchPredicate) ValidateAll() error
ValidateAll checks the field values on ListenerFilterChainMatchPredicate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListenerFilterChainMatchPredicateMultiError, or nil if none found.
type ListenerFilterChainMatchPredicateMultiError ¶ added in v0.10.0
type ListenerFilterChainMatchPredicateMultiError []error
ListenerFilterChainMatchPredicateMultiError is an error wrapping multiple validation errors returned by ListenerFilterChainMatchPredicate.ValidateAll() if the designated constraints aren't met.
func (ListenerFilterChainMatchPredicateMultiError) AllErrors ¶ added in v0.10.0
func (m ListenerFilterChainMatchPredicateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListenerFilterChainMatchPredicateMultiError) Error ¶ added in v0.10.0
func (m ListenerFilterChainMatchPredicateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListenerFilterChainMatchPredicateValidationError ¶ added in v0.9.3
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 ¶ added in v0.9.3
func (e ListenerFilterChainMatchPredicateValidationError) Cause() error
Cause function returns cause value.
func (ListenerFilterChainMatchPredicateValidationError) Error ¶ added in v0.9.3
func (e ListenerFilterChainMatchPredicateValidationError) Error() string
Error satisfies the builtin error interface
func (ListenerFilterChainMatchPredicateValidationError) ErrorName ¶ added in v0.9.3
func (e ListenerFilterChainMatchPredicateValidationError) ErrorName() string
ErrorName returns error name.
func (ListenerFilterChainMatchPredicateValidationError) Field ¶ added in v0.9.3
func (e ListenerFilterChainMatchPredicateValidationError) Field() string
Field function returns field value.
func (ListenerFilterChainMatchPredicateValidationError) Key ¶ added in v0.9.3
func (e ListenerFilterChainMatchPredicateValidationError) Key() bool
Key function returns key value.
func (ListenerFilterChainMatchPredicateValidationError) Reason ¶ added in v0.9.3
func (e ListenerFilterChainMatchPredicateValidationError) Reason() string
Reason function returns reason value.
type ListenerFilterChainMatchPredicate_AndMatch ¶ added in v0.9.3
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 ¶ added in v0.9.3
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 ¶ added in v0.9.3
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 ¶ added in v0.9.3
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
added in
v0.9.3
func (*ListenerFilterChainMatchPredicate_MatchSet) Descriptor() ([]byte, []int)
Deprecated: Use ListenerFilterChainMatchPredicate_MatchSet.ProtoReflect.Descriptor instead.
func (*ListenerFilterChainMatchPredicate_MatchSet) GetRules ¶ added in v0.9.3
func (x *ListenerFilterChainMatchPredicate_MatchSet) GetRules() []*ListenerFilterChainMatchPredicate
func (*ListenerFilterChainMatchPredicate_MatchSet) ProtoMessage ¶ added in v0.9.3
func (*ListenerFilterChainMatchPredicate_MatchSet) ProtoMessage()
func (*ListenerFilterChainMatchPredicate_MatchSet) ProtoReflect ¶ added in v0.9.6
func (x *ListenerFilterChainMatchPredicate_MatchSet) ProtoReflect() protoreflect.Message
func (*ListenerFilterChainMatchPredicate_MatchSet) Reset ¶ added in v0.9.3
func (x *ListenerFilterChainMatchPredicate_MatchSet) Reset()
func (*ListenerFilterChainMatchPredicate_MatchSet) String ¶ added in v0.9.3
func (x *ListenerFilterChainMatchPredicate_MatchSet) String() string
func (*ListenerFilterChainMatchPredicate_MatchSet) Validate ¶ added in v0.9.3
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, the first error encountered is returned, or nil if there are no violations.
func (*ListenerFilterChainMatchPredicate_MatchSet) ValidateAll ¶ added in v0.10.0
func (m *ListenerFilterChainMatchPredicate_MatchSet) ValidateAll() error
ValidateAll checks the field values on ListenerFilterChainMatchPredicate_MatchSet with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListenerFilterChainMatchPredicate_MatchSetMultiError, or nil if none found.
type ListenerFilterChainMatchPredicate_MatchSetMultiError ¶ added in v0.10.0
type ListenerFilterChainMatchPredicate_MatchSetMultiError []error
ListenerFilterChainMatchPredicate_MatchSetMultiError is an error wrapping multiple validation errors returned by ListenerFilterChainMatchPredicate_MatchSet.ValidateAll() if the designated constraints aren't met.
func (ListenerFilterChainMatchPredicate_MatchSetMultiError) AllErrors ¶ added in v0.10.0
func (m ListenerFilterChainMatchPredicate_MatchSetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListenerFilterChainMatchPredicate_MatchSetMultiError) Error ¶ added in v0.10.0
func (m ListenerFilterChainMatchPredicate_MatchSetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListenerFilterChainMatchPredicate_MatchSetValidationError ¶ added in v0.9.3
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 ¶ added in v0.9.3
func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Cause() error
Cause function returns cause value.
func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Error ¶ added in v0.9.3
func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Error() string
Error satisfies the builtin error interface
func (ListenerFilterChainMatchPredicate_MatchSetValidationError) ErrorName ¶ added in v0.9.3
func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) ErrorName() string
ErrorName returns error name.
func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Field ¶ added in v0.9.3
func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Field() string
Field function returns field value.
func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Key ¶ added in v0.9.3
func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Key() bool
Key function returns key value.
func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Reason ¶ added in v0.9.3
func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Reason() string
Reason function returns reason value.
type ListenerFilterChainMatchPredicate_NotMatch ¶ added in v0.9.3
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 ¶ added in v0.9.3
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 ListenerFilterMultiError ¶ added in v0.10.0
type ListenerFilterMultiError []error
ListenerFilterMultiError is an error wrapping multiple validation errors returned by ListenerFilter.ValidateAll() if the designated constraints aren't met.
func (ListenerFilterMultiError) AllErrors ¶ added in v0.10.0
func (m ListenerFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListenerFilterMultiError) Error ¶ added in v0.10.0
func (m ListenerFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶ added in v0.7.0
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 ¶ added in v0.6.3
type ListenerFilter_TypedConfig ¶ added in v0.6.3
type QuicProtocolOptions ¶ added in v0.9.1
type QuicProtocolOptions struct { // Maximum number of streams that the client can negotiate per connection. 100 // if not specified. MaxConcurrentStreams *wrapperspb.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 *durationpb.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 *durationpb.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
added in
v0.9.1
func (*QuicProtocolOptions) Descriptor() ([]byte, []int)
Deprecated: Use QuicProtocolOptions.ProtoReflect.Descriptor instead.
func (*QuicProtocolOptions) GetCryptoHandshakeTimeout ¶ added in v0.9.1
func (x *QuicProtocolOptions) GetCryptoHandshakeTimeout() *durationpb.Duration
func (*QuicProtocolOptions) GetIdleTimeout ¶ added in v0.9.1
func (x *QuicProtocolOptions) GetIdleTimeout() *durationpb.Duration
func (*QuicProtocolOptions) GetMaxConcurrentStreams ¶ added in v0.9.1
func (x *QuicProtocolOptions) GetMaxConcurrentStreams() *wrapperspb.UInt32Value
func (*QuicProtocolOptions) ProtoMessage ¶ added in v0.9.1
func (*QuicProtocolOptions) ProtoMessage()
func (*QuicProtocolOptions) ProtoReflect ¶ added in v0.9.6
func (x *QuicProtocolOptions) ProtoReflect() protoreflect.Message
func (*QuicProtocolOptions) Reset ¶ added in v0.9.1
func (x *QuicProtocolOptions) Reset()
func (*QuicProtocolOptions) String ¶ added in v0.9.1
func (x *QuicProtocolOptions) String() string
func (*QuicProtocolOptions) Validate ¶ added in v0.9.1
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, the first error encountered is returned, or nil if there are no violations.
func (*QuicProtocolOptions) ValidateAll ¶ added in v0.10.0
func (m *QuicProtocolOptions) ValidateAll() error
ValidateAll checks the field values on QuicProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QuicProtocolOptionsMultiError, or nil if none found.
type QuicProtocolOptionsMultiError ¶ added in v0.10.0
type QuicProtocolOptionsMultiError []error
QuicProtocolOptionsMultiError is an error wrapping multiple validation errors returned by QuicProtocolOptions.ValidateAll() if the designated constraints aren't met.
func (QuicProtocolOptionsMultiError) AllErrors ¶ added in v0.10.0
func (m QuicProtocolOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QuicProtocolOptionsMultiError) Error ¶ added in v0.10.0
func (m QuicProtocolOptionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QuicProtocolOptionsValidationError ¶ added in v0.9.1
type QuicProtocolOptionsValidationError struct {
// contains filtered or unexported fields
}
QuicProtocolOptionsValidationError is the validation error returned by QuicProtocolOptions.Validate if the designated constraints aren't met.
func (QuicProtocolOptionsValidationError) Cause ¶ added in v0.9.1
func (e QuicProtocolOptionsValidationError) Cause() error
Cause function returns cause value.
func (QuicProtocolOptionsValidationError) Error ¶ added in v0.9.1
func (e QuicProtocolOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (QuicProtocolOptionsValidationError) ErrorName ¶ added in v0.9.1
func (e QuicProtocolOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (QuicProtocolOptionsValidationError) Field ¶ added in v0.9.1
func (e QuicProtocolOptionsValidationError) Field() string
Field function returns field value.
func (QuicProtocolOptionsValidationError) Key ¶ added in v0.9.1
func (e QuicProtocolOptionsValidationError) Key() bool
Key function returns key value.
func (QuicProtocolOptionsValidationError) Reason ¶ added in v0.9.1
func (e QuicProtocolOptionsValidationError) Reason() string
Reason function returns reason value.
type UdpListenerConfig ¶ added in v0.9.0
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
added in
v0.9.0
func (*UdpListenerConfig) Descriptor() ([]byte, []int)
Deprecated: Use UdpListenerConfig.ProtoReflect.Descriptor instead.
func (*UdpListenerConfig) GetConfig
deprecated
added in
v0.9.0
func (x *UdpListenerConfig) GetConfig() *structpb.Struct
Deprecated: Marked as deprecated in envoy/api/v2/listener/udp_listener_config.proto.
func (*UdpListenerConfig) GetConfigType ¶ added in v0.9.0
func (m *UdpListenerConfig) GetConfigType() isUdpListenerConfig_ConfigType
func (*UdpListenerConfig) GetTypedConfig ¶ added in v0.9.0
func (x *UdpListenerConfig) GetTypedConfig() *anypb.Any
func (*UdpListenerConfig) GetUdpListenerName ¶ added in v0.9.0
func (x *UdpListenerConfig) GetUdpListenerName() string
func (*UdpListenerConfig) ProtoMessage ¶ added in v0.9.0
func (*UdpListenerConfig) ProtoMessage()
func (*UdpListenerConfig) ProtoReflect ¶ added in v0.9.6
func (x *UdpListenerConfig) ProtoReflect() protoreflect.Message
func (*UdpListenerConfig) Reset ¶ added in v0.9.0
func (x *UdpListenerConfig) Reset()
func (*UdpListenerConfig) String ¶ added in v0.9.0
func (x *UdpListenerConfig) String() string
func (*UdpListenerConfig) Validate ¶ added in v0.9.0
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, the first error encountered is returned, or nil if there are no violations.
func (*UdpListenerConfig) ValidateAll ¶ added in v0.10.0
func (m *UdpListenerConfig) ValidateAll() error
ValidateAll checks the field values on UdpListenerConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UdpListenerConfigMultiError, or nil if none found.
type UdpListenerConfigMultiError ¶ added in v0.10.0
type UdpListenerConfigMultiError []error
UdpListenerConfigMultiError is an error wrapping multiple validation errors returned by UdpListenerConfig.ValidateAll() if the designated constraints aren't met.
func (UdpListenerConfigMultiError) AllErrors ¶ added in v0.10.0
func (m UdpListenerConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UdpListenerConfigMultiError) Error ¶ added in v0.10.0
func (m UdpListenerConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UdpListenerConfigValidationError ¶ added in v0.9.0
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 ¶ added in v0.9.0
func (e UdpListenerConfigValidationError) Cause() error
Cause function returns cause value.
func (UdpListenerConfigValidationError) Error ¶ added in v0.9.0
func (e UdpListenerConfigValidationError) Error() string
Error satisfies the builtin error interface
func (UdpListenerConfigValidationError) ErrorName ¶ added in v0.9.0
func (e UdpListenerConfigValidationError) ErrorName() string
ErrorName returns error name.
func (UdpListenerConfigValidationError) Field ¶ added in v0.9.0
func (e UdpListenerConfigValidationError) Field() string
Field function returns field value.
func (UdpListenerConfigValidationError) Key ¶ added in v0.9.0
func (e UdpListenerConfigValidationError) Key() bool
Key function returns key value.
func (UdpListenerConfigValidationError) Reason ¶ added in v0.9.0
func (e UdpListenerConfigValidationError) Reason() string
Reason function returns reason value.