go-control-plane: github.com/envoyproxy/go-control-plane/envoy/api/v2/listener Index | Files

package envoy_api_v2_listener

import "github.com/envoyproxy/go-control-plane/envoy/api/v2/listener"

Index

Package Files

listener.pb.go listener.pb.validate.go listener_components.pb.go listener_components.pb.validate.go quic_config.pb.go quic_config.pb.validate.go udp_listener_config.pb.go udp_listener_config.pb.validate.go

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

type ActiveRawUdpListenerConfig Uses

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

func (*ActiveRawUdpListenerConfig) Descriptor Uses

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

Deprecated: Use ActiveRawUdpListenerConfig.ProtoReflect.Descriptor instead.

func (*ActiveRawUdpListenerConfig) ProtoMessage Uses

func (*ActiveRawUdpListenerConfig) ProtoMessage()

func (*ActiveRawUdpListenerConfig) ProtoReflect Uses

func (x *ActiveRawUdpListenerConfig) ProtoReflect() protoreflect.Message

func (*ActiveRawUdpListenerConfig) Reset Uses

func (x *ActiveRawUdpListenerConfig) Reset()

func (*ActiveRawUdpListenerConfig) String Uses

func (x *ActiveRawUdpListenerConfig) String() string

func (*ActiveRawUdpListenerConfig) Validate Uses

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 Uses

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 Uses

func (e ActiveRawUdpListenerConfigValidationError) Cause() error

Cause function returns cause value.

func (ActiveRawUdpListenerConfigValidationError) Error Uses

func (e ActiveRawUdpListenerConfigValidationError) Error() string

Error satisfies the builtin error interface

func (ActiveRawUdpListenerConfigValidationError) ErrorName Uses

func (e ActiveRawUdpListenerConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ActiveRawUdpListenerConfigValidationError) Field Uses

func (e ActiveRawUdpListenerConfigValidationError) Field() string

Field function returns field value.

func (ActiveRawUdpListenerConfigValidationError) Key Uses

func (e ActiveRawUdpListenerConfigValidationError) Key() bool

Key function returns key value.

func (ActiveRawUdpListenerConfigValidationError) Reason Uses

func (e ActiveRawUdpListenerConfigValidationError) Reason() string

Reason function returns reason value.

type Filter Uses

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 Uses

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

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetConfig Uses

func (x *Filter) GetConfig() *_struct.Struct

Deprecated: Do not use.

func (*Filter) GetConfigType Uses

func (m *Filter) GetConfigType() isFilter_ConfigType

func (*Filter) GetName Uses

func (x *Filter) GetName() string

func (*Filter) GetTypedConfig Uses

func (x *Filter) GetTypedConfig() *any.Any

func (*Filter) ProtoMessage Uses

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect Uses

func (x *Filter) ProtoReflect() protoreflect.Message

func (*Filter) Reset Uses

func (x *Filter) Reset()

func (*Filter) String Uses

func (x *Filter) String() string

func (*Filter) Validate Uses

func (m *Filter) Validate() error

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

type FilterChain Uses

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 Uses

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

Deprecated: Use FilterChain.ProtoReflect.Descriptor instead.

func (*FilterChain) GetFilterChainMatch Uses

func (x *FilterChain) GetFilterChainMatch() *FilterChainMatch

func (*FilterChain) GetFilters Uses

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

func (*FilterChain) GetMetadata Uses

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

func (*FilterChain) GetName Uses

func (x *FilterChain) GetName() string

func (*FilterChain) GetTlsContext Uses

func (x *FilterChain) GetTlsContext() *auth.DownstreamTlsContext

Deprecated: Do not use.

func (*FilterChain) GetTransportSocket Uses

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

func (*FilterChain) GetUseProxyProto Uses

func (x *FilterChain) GetUseProxyProto() *wrappers.BoolValue

func (*FilterChain) ProtoMessage Uses

func (*FilterChain) ProtoMessage()

func (*FilterChain) ProtoReflect Uses

func (x *FilterChain) ProtoReflect() protoreflect.Message

func (*FilterChain) Reset Uses

func (x *FilterChain) Reset()

func (*FilterChain) String Uses

func (x *FilterChain) String() string

func (*FilterChain) Validate Uses

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 Uses

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 `protobuf:"varint,12,opt,name=source_type,json=sourceType,proto3,enum=envoy.api.v2.listener.FilterChainMatch_ConnectionSourceType" json:"source_type,omitempty"`
    // 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 Uses

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

Deprecated: Use FilterChainMatch.ProtoReflect.Descriptor instead.

func (*FilterChainMatch) GetAddressSuffix Uses

func (x *FilterChainMatch) GetAddressSuffix() string

func (*FilterChainMatch) GetApplicationProtocols Uses

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

func (*FilterChainMatch) GetDestinationPort Uses

func (x *FilterChainMatch) GetDestinationPort() *wrappers.UInt32Value

func (*FilterChainMatch) GetPrefixRanges Uses

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

func (*FilterChainMatch) GetServerNames Uses

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

func (*FilterChainMatch) GetSourcePorts Uses

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

func (*FilterChainMatch) GetSourcePrefixRanges Uses

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

func (*FilterChainMatch) GetSourceType Uses

func (x *FilterChainMatch) GetSourceType() FilterChainMatch_ConnectionSourceType

func (*FilterChainMatch) GetSuffixLen Uses

func (x *FilterChainMatch) GetSuffixLen() *wrappers.UInt32Value

func (*FilterChainMatch) GetTransportProtocol Uses

func (x *FilterChainMatch) GetTransportProtocol() string

func (*FilterChainMatch) ProtoMessage Uses

func (*FilterChainMatch) ProtoMessage()

func (*FilterChainMatch) ProtoReflect Uses

func (x *FilterChainMatch) ProtoReflect() protoreflect.Message

func (*FilterChainMatch) Reset Uses

func (x *FilterChainMatch) Reset()

func (*FilterChainMatch) String Uses

func (x *FilterChainMatch) String() string

func (*FilterChainMatch) Validate Uses

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 Uses

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 Uses

func (e FilterChainMatchValidationError) Cause() error

Cause function returns cause value.

func (FilterChainMatchValidationError) Error Uses

func (e FilterChainMatchValidationError) Error() string

Error satisfies the builtin error interface

func (FilterChainMatchValidationError) ErrorName Uses

func (e FilterChainMatchValidationError) ErrorName() string

ErrorName returns error name.

func (FilterChainMatchValidationError) Field Uses

func (e FilterChainMatchValidationError) Field() string

Field function returns field value.

func (FilterChainMatchValidationError) Key Uses

func (e FilterChainMatchValidationError) Key() bool

Key function returns key value.

func (FilterChainMatchValidationError) Reason Uses

func (e FilterChainMatchValidationError) Reason() string

Reason function returns reason value.

type FilterChainMatch_ConnectionSourceType Uses

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 Uses

func (FilterChainMatch_ConnectionSourceType) Descriptor() protoreflect.EnumDescriptor

func (FilterChainMatch_ConnectionSourceType) Enum Uses

func (x FilterChainMatch_ConnectionSourceType) Enum() *FilterChainMatch_ConnectionSourceType

func (FilterChainMatch_ConnectionSourceType) EnumDescriptor Uses

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

Deprecated: Use FilterChainMatch_ConnectionSourceType.Descriptor instead.

func (FilterChainMatch_ConnectionSourceType) Number Uses

func (x FilterChainMatch_ConnectionSourceType) Number() protoreflect.EnumNumber

func (FilterChainMatch_ConnectionSourceType) String Uses

func (x FilterChainMatch_ConnectionSourceType) String() string

func (FilterChainMatch_ConnectionSourceType) Type Uses

func (FilterChainMatch_ConnectionSourceType) Type() protoreflect.EnumType

type FilterChainValidationError Uses

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 Uses

func (e FilterChainValidationError) Cause() error

Cause function returns cause value.

func (FilterChainValidationError) Error Uses

func (e FilterChainValidationError) Error() string

Error satisfies the builtin error interface

func (FilterChainValidationError) ErrorName Uses

func (e FilterChainValidationError) ErrorName() string

ErrorName returns error name.

func (FilterChainValidationError) Field Uses

func (e FilterChainValidationError) Field() string

Field function returns field value.

func (FilterChainValidationError) Key Uses

func (e FilterChainValidationError) Key() bool

Key function returns key value.

func (FilterChainValidationError) Reason Uses

func (e FilterChainValidationError) Reason() string

Reason function returns reason value.

type FilterValidationError Uses

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 Uses

func (e FilterValidationError) Cause() error

Cause function returns cause value.

func (FilterValidationError) Error Uses

func (e FilterValidationError) Error() string

Error satisfies the builtin error interface

func (FilterValidationError) ErrorName Uses

func (e FilterValidationError) ErrorName() string

ErrorName returns error name.

func (FilterValidationError) Field Uses

func (e FilterValidationError) Field() string

Field function returns field value.

func (FilterValidationError) Key Uses

func (e FilterValidationError) Key() bool

Key function returns key value.

func (FilterValidationError) Reason Uses

func (e FilterValidationError) Reason() string

Reason function returns reason value.

type Filter_Config Uses

type Filter_Config struct {
    // Deprecated: Do not use.
    Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

type Filter_TypedConfig Uses

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

type ListenerFilter Uses

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 Uses

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

Deprecated: Use ListenerFilter.ProtoReflect.Descriptor instead.

func (*ListenerFilter) GetConfig Uses

func (x *ListenerFilter) GetConfig() *_struct.Struct

Deprecated: Do not use.

func (*ListenerFilter) GetConfigType Uses

func (m *ListenerFilter) GetConfigType() isListenerFilter_ConfigType

func (*ListenerFilter) GetFilterDisabled Uses

func (x *ListenerFilter) GetFilterDisabled() *ListenerFilterChainMatchPredicate

func (*ListenerFilter) GetName Uses

func (x *ListenerFilter) GetName() string

func (*ListenerFilter) GetTypedConfig Uses

func (x *ListenerFilter) GetTypedConfig() *any.Any

func (*ListenerFilter) ProtoMessage Uses

func (*ListenerFilter) ProtoMessage()

func (*ListenerFilter) ProtoReflect Uses

func (x *ListenerFilter) ProtoReflect() protoreflect.Message

func (*ListenerFilter) Reset Uses

func (x *ListenerFilter) Reset()

func (*ListenerFilter) String Uses

func (x *ListenerFilter) String() string

func (*ListenerFilter) Validate Uses

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 Uses

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 Uses

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

Deprecated: Use ListenerFilterChainMatchPredicate.ProtoReflect.Descriptor instead.

func (*ListenerFilterChainMatchPredicate) GetAndMatch Uses

func (x *ListenerFilterChainMatchPredicate) GetAndMatch() *ListenerFilterChainMatchPredicate_MatchSet

func (*ListenerFilterChainMatchPredicate) GetAnyMatch Uses

func (x *ListenerFilterChainMatchPredicate) GetAnyMatch() bool

func (*ListenerFilterChainMatchPredicate) GetDestinationPortRange Uses

func (x *ListenerFilterChainMatchPredicate) GetDestinationPortRange() *_type.Int32Range

func (*ListenerFilterChainMatchPredicate) GetNotMatch Uses

func (x *ListenerFilterChainMatchPredicate) GetNotMatch() *ListenerFilterChainMatchPredicate

func (*ListenerFilterChainMatchPredicate) GetOrMatch Uses

func (x *ListenerFilterChainMatchPredicate) GetOrMatch() *ListenerFilterChainMatchPredicate_MatchSet

func (*ListenerFilterChainMatchPredicate) GetRule Uses

func (m *ListenerFilterChainMatchPredicate) GetRule() isListenerFilterChainMatchPredicate_Rule

func (*ListenerFilterChainMatchPredicate) ProtoMessage Uses

func (*ListenerFilterChainMatchPredicate) ProtoMessage()

func (*ListenerFilterChainMatchPredicate) ProtoReflect Uses

func (x *ListenerFilterChainMatchPredicate) ProtoReflect() protoreflect.Message

func (*ListenerFilterChainMatchPredicate) Reset Uses

func (x *ListenerFilterChainMatchPredicate) Reset()

func (*ListenerFilterChainMatchPredicate) String Uses

func (x *ListenerFilterChainMatchPredicate) String() string

func (*ListenerFilterChainMatchPredicate) Validate Uses

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 Uses

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 Uses

func (e ListenerFilterChainMatchPredicateValidationError) Cause() error

Cause function returns cause value.

func (ListenerFilterChainMatchPredicateValidationError) Error Uses

func (e ListenerFilterChainMatchPredicateValidationError) Error() string

Error satisfies the builtin error interface

func (ListenerFilterChainMatchPredicateValidationError) ErrorName Uses

func (e ListenerFilterChainMatchPredicateValidationError) ErrorName() string

ErrorName returns error name.

func (ListenerFilterChainMatchPredicateValidationError) Field Uses

func (e ListenerFilterChainMatchPredicateValidationError) Field() string

Field function returns field value.

func (ListenerFilterChainMatchPredicateValidationError) Key Uses

func (e ListenerFilterChainMatchPredicateValidationError) Key() bool

Key function returns key value.

func (ListenerFilterChainMatchPredicateValidationError) Reason Uses

func (e ListenerFilterChainMatchPredicateValidationError) Reason() string

Reason function returns reason value.

type ListenerFilterChainMatchPredicate_AndMatch Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

Deprecated: Use ListenerFilterChainMatchPredicate_MatchSet.ProtoReflect.Descriptor instead.

func (*ListenerFilterChainMatchPredicate_MatchSet) GetRules Uses

func (x *ListenerFilterChainMatchPredicate_MatchSet) GetRules() []*ListenerFilterChainMatchPredicate

func (*ListenerFilterChainMatchPredicate_MatchSet) ProtoMessage Uses

func (*ListenerFilterChainMatchPredicate_MatchSet) ProtoMessage()

func (*ListenerFilterChainMatchPredicate_MatchSet) ProtoReflect Uses

func (x *ListenerFilterChainMatchPredicate_MatchSet) ProtoReflect() protoreflect.Message

func (*ListenerFilterChainMatchPredicate_MatchSet) Reset Uses

func (x *ListenerFilterChainMatchPredicate_MatchSet) Reset()

func (*ListenerFilterChainMatchPredicate_MatchSet) String Uses

func (x *ListenerFilterChainMatchPredicate_MatchSet) String() string

func (*ListenerFilterChainMatchPredicate_MatchSet) Validate Uses

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 Uses

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 Uses

func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Cause() error

Cause function returns cause value.

func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Error Uses

func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Error() string

Error satisfies the builtin error interface

func (ListenerFilterChainMatchPredicate_MatchSetValidationError) ErrorName Uses

func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) ErrorName() string

ErrorName returns error name.

func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Field Uses

func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Field() string

Field function returns field value.

func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Key Uses

func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Key() bool

Key function returns key value.

func (ListenerFilterChainMatchPredicate_MatchSetValidationError) Reason Uses

func (e ListenerFilterChainMatchPredicate_MatchSetValidationError) Reason() string

Reason function returns reason value.

type ListenerFilterChainMatchPredicate_NotMatch Uses

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 Uses

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 Uses

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 Uses

func (e ListenerFilterValidationError) Cause() error

Cause function returns cause value.

func (ListenerFilterValidationError) Error Uses

func (e ListenerFilterValidationError) Error() string

Error satisfies the builtin error interface

func (ListenerFilterValidationError) ErrorName Uses

func (e ListenerFilterValidationError) ErrorName() string

ErrorName returns error name.

func (ListenerFilterValidationError) Field Uses

func (e ListenerFilterValidationError) Field() string

Field function returns field value.

func (ListenerFilterValidationError) Key Uses

func (e ListenerFilterValidationError) Key() bool

Key function returns key value.

func (ListenerFilterValidationError) Reason Uses

func (e ListenerFilterValidationError) Reason() string

Reason function returns reason value.

type ListenerFilter_Config Uses

type ListenerFilter_Config struct {
    // Deprecated: Do not use.
    Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

type ListenerFilter_TypedConfig Uses

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

type QuicProtocolOptions Uses

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 `protobuf:"bytes,3,opt,name=crypto_handshake_timeout,json=cryptoHandshakeTimeout,proto3" json:"crypto_handshake_timeout,omitempty"`
    // contains filtered or unexported fields
}

Configuration specific to the QUIC protocol. Next id: 4

func (*QuicProtocolOptions) Descriptor Uses

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

Deprecated: Use QuicProtocolOptions.ProtoReflect.Descriptor instead.

func (*QuicProtocolOptions) GetCryptoHandshakeTimeout Uses

func (x *QuicProtocolOptions) GetCryptoHandshakeTimeout() *duration.Duration

func (*QuicProtocolOptions) GetIdleTimeout Uses

func (x *QuicProtocolOptions) GetIdleTimeout() *duration.Duration

func (*QuicProtocolOptions) GetMaxConcurrentStreams Uses

func (x *QuicProtocolOptions) GetMaxConcurrentStreams() *wrappers.UInt32Value

func (*QuicProtocolOptions) ProtoMessage Uses

func (*QuicProtocolOptions) ProtoMessage()

func (*QuicProtocolOptions) ProtoReflect Uses

func (x *QuicProtocolOptions) ProtoReflect() protoreflect.Message

func (*QuicProtocolOptions) Reset Uses

func (x *QuicProtocolOptions) Reset()

func (*QuicProtocolOptions) String Uses

func (x *QuicProtocolOptions) String() string

func (*QuicProtocolOptions) Validate Uses

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 Uses

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 Uses

func (e QuicProtocolOptionsValidationError) Cause() error

Cause function returns cause value.

func (QuicProtocolOptionsValidationError) Error Uses

func (e QuicProtocolOptionsValidationError) Error() string

Error satisfies the builtin error interface

func (QuicProtocolOptionsValidationError) ErrorName Uses

func (e QuicProtocolOptionsValidationError) ErrorName() string

ErrorName returns error name.

func (QuicProtocolOptionsValidationError) Field Uses

func (e QuicProtocolOptionsValidationError) Field() string

Field function returns field value.

func (QuicProtocolOptionsValidationError) Key Uses

func (e QuicProtocolOptionsValidationError) Key() bool

Key function returns key value.

func (QuicProtocolOptionsValidationError) Reason Uses

func (e QuicProtocolOptionsValidationError) Reason() string

Reason function returns reason value.

type UdpListenerConfig Uses

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 Uses

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

Deprecated: Use UdpListenerConfig.ProtoReflect.Descriptor instead.

func (*UdpListenerConfig) GetConfig Uses

func (x *UdpListenerConfig) GetConfig() *_struct.Struct

Deprecated: Do not use.

func (*UdpListenerConfig) GetConfigType Uses

func (m *UdpListenerConfig) GetConfigType() isUdpListenerConfig_ConfigType

func (*UdpListenerConfig) GetTypedConfig Uses

func (x *UdpListenerConfig) GetTypedConfig() *any.Any

func (*UdpListenerConfig) GetUdpListenerName Uses

func (x *UdpListenerConfig) GetUdpListenerName() string

func (*UdpListenerConfig) ProtoMessage Uses

func (*UdpListenerConfig) ProtoMessage()

func (*UdpListenerConfig) ProtoReflect Uses

func (x *UdpListenerConfig) ProtoReflect() protoreflect.Message

func (*UdpListenerConfig) Reset Uses

func (x *UdpListenerConfig) Reset()

func (*UdpListenerConfig) String Uses

func (x *UdpListenerConfig) String() string

func (*UdpListenerConfig) Validate Uses

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 Uses

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 Uses

func (e UdpListenerConfigValidationError) Cause() error

Cause function returns cause value.

func (UdpListenerConfigValidationError) Error Uses

func (e UdpListenerConfigValidationError) Error() string

Error satisfies the builtin error interface

func (UdpListenerConfigValidationError) ErrorName Uses

func (e UdpListenerConfigValidationError) ErrorName() string

ErrorName returns error name.

func (UdpListenerConfigValidationError) Field Uses

func (e UdpListenerConfigValidationError) Field() string

Field function returns field value.

func (UdpListenerConfigValidationError) Key Uses

func (e UdpListenerConfigValidationError) Key() bool

Key function returns key value.

func (UdpListenerConfigValidationError) Reason Uses

func (e UdpListenerConfigValidationError) Reason() string

Reason function returns reason value.

type UdpListenerConfig_Config Uses

type UdpListenerConfig_Config struct {
    // Deprecated: Do not use.
    Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

type UdpListenerConfig_TypedConfig Uses

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

Package envoy_api_v2_listener imports 25 packages (graph) and is imported by 62 packages. Updated 2020-10-29. Refresh now. Tools for package owners.