Documentation ¶
Index ¶
- Variables
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)
- func (this *Filter) Equal(that interface{}) bool
- func (m *Filter) GetConfig() *types.Struct
- func (m *Filter) GetConfigType() isFilter_ConfigType
- func (m *Filter) GetDeprecatedV1() *Filter_DeprecatedV1deprecated
- func (m *Filter) GetName() string
- func (m *Filter) GetTypedConfig() *types.Any
- func (m *Filter) Marshal() (dAtA []byte, err error)
- func (m *Filter) MarshalTo(dAtA []byte) (int, error)
- func (*Filter) ProtoMessage()
- func (m *Filter) Reset()
- func (m *Filter) Size() (n int)
- func (m *Filter) String() string
- func (m *Filter) Unmarshal(dAtA []byte) error
- func (m *Filter) Validate() error
- func (m *Filter) XXX_DiscardUnknown()
- func (m *Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Filter) XXX_Merge(src proto.Message)
- func (*Filter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Filter) XXX_Size() int
- func (m *Filter) XXX_Unmarshal(b []byte) error
- type FilterChain
- func (*FilterChain) Descriptor() ([]byte, []int)
- func (this *FilterChain) Equal(that interface{}) bool
- func (m *FilterChain) GetFilterChainMatch() *FilterChainMatch
- func (m *FilterChain) GetFilters() []Filter
- func (m *FilterChain) GetMetadata() *core.Metadata
- func (m *FilterChain) GetTlsContext() *auth.DownstreamTlsContext
- func (m *FilterChain) GetTransportSocket() *core.TransportSocket
- func (m *FilterChain) GetUseProxyProto() *types.BoolValue
- func (m *FilterChain) Marshal() (dAtA []byte, err error)
- func (m *FilterChain) MarshalTo(dAtA []byte) (int, error)
- func (*FilterChain) ProtoMessage()
- func (m *FilterChain) Reset()
- func (m *FilterChain) Size() (n int)
- func (m *FilterChain) String() string
- func (m *FilterChain) Unmarshal(dAtA []byte) error
- func (m *FilterChain) Validate() error
- func (m *FilterChain) XXX_DiscardUnknown()
- func (m *FilterChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FilterChain) XXX_Merge(src proto.Message)
- func (m *FilterChain) XXX_Size() int
- func (m *FilterChain) XXX_Unmarshal(b []byte) error
- type FilterChainMatch
- func (*FilterChainMatch) Descriptor() ([]byte, []int)
- func (this *FilterChainMatch) Equal(that interface{}) bool
- func (m *FilterChainMatch) GetAddressSuffix() string
- func (m *FilterChainMatch) GetApplicationProtocols() []string
- func (m *FilterChainMatch) GetDestinationPort() *types.UInt32Value
- func (m *FilterChainMatch) GetPrefixRanges() []*core.CidrRange
- func (m *FilterChainMatch) GetServerNames() []string
- func (m *FilterChainMatch) GetSourcePorts() []*types.UInt32Value
- func (m *FilterChainMatch) GetSourcePrefixRanges() []*core.CidrRange
- func (m *FilterChainMatch) GetSuffixLen() *types.UInt32Value
- func (m *FilterChainMatch) GetTransportProtocol() string
- func (m *FilterChainMatch) Marshal() (dAtA []byte, err error)
- func (m *FilterChainMatch) MarshalTo(dAtA []byte) (int, error)
- func (*FilterChainMatch) ProtoMessage()
- func (m *FilterChainMatch) Reset()
- func (m *FilterChainMatch) Size() (n int)
- func (m *FilterChainMatch) String() string
- func (m *FilterChainMatch) Unmarshal(dAtA []byte) error
- func (m *FilterChainMatch) Validate() error
- func (m *FilterChainMatch) XXX_DiscardUnknown()
- func (m *FilterChainMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FilterChainMatch) XXX_Merge(src proto.Message)
- func (m *FilterChainMatch) XXX_Size() int
- func (m *FilterChainMatch) XXX_Unmarshal(b []byte) error
- type FilterChainMatchValidationError
- type FilterChainValidationError
- type FilterValidationError
- type Filter_Config
- type Filter_DeprecatedV1
- func (*Filter_DeprecatedV1) Descriptor() ([]byte, []int)
- func (this *Filter_DeprecatedV1) Equal(that interface{}) bool
- func (m *Filter_DeprecatedV1) GetType() string
- func (m *Filter_DeprecatedV1) Marshal() (dAtA []byte, err error)
- func (m *Filter_DeprecatedV1) MarshalTo(dAtA []byte) (int, error)
- func (*Filter_DeprecatedV1) ProtoMessage()
- func (m *Filter_DeprecatedV1) Reset()
- func (m *Filter_DeprecatedV1) Size() (n int)
- func (m *Filter_DeprecatedV1) String() string
- func (m *Filter_DeprecatedV1) Unmarshal(dAtA []byte) error
- func (m *Filter_DeprecatedV1) Validate() error
- func (m *Filter_DeprecatedV1) XXX_DiscardUnknown()
- func (m *Filter_DeprecatedV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Filter_DeprecatedV1) XXX_Merge(src proto.Message)
- func (m *Filter_DeprecatedV1) XXX_Size() int
- func (m *Filter_DeprecatedV1) XXX_Unmarshal(b []byte) error
- type Filter_DeprecatedV1ValidationError
- type Filter_TypedConfig
- type ListenerFilter
- func (*ListenerFilter) Descriptor() ([]byte, []int)
- func (this *ListenerFilter) Equal(that interface{}) bool
- func (m *ListenerFilter) GetConfig() *types.Struct
- func (m *ListenerFilter) GetConfigType() isListenerFilter_ConfigType
- func (m *ListenerFilter) GetName() string
- func (m *ListenerFilter) GetTypedConfig() *types.Any
- func (m *ListenerFilter) Marshal() (dAtA []byte, err error)
- func (m *ListenerFilter) MarshalTo(dAtA []byte) (int, error)
- func (*ListenerFilter) ProtoMessage()
- func (m *ListenerFilter) Reset()
- func (m *ListenerFilter) Size() (n int)
- func (m *ListenerFilter) String() string
- func (m *ListenerFilter) Unmarshal(dAtA []byte) error
- func (m *ListenerFilter) Validate() error
- func (m *ListenerFilter) XXX_DiscardUnknown()
- func (m *ListenerFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListenerFilter) XXX_Merge(src proto.Message)
- func (*ListenerFilter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *ListenerFilter) XXX_Size() int
- func (m *ListenerFilter) XXX_Unmarshal(b []byte) error
- type ListenerFilterValidationError
- type ListenerFilter_Config
- type ListenerFilter_TypedConfig
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthListener = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowListener = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct { // The name of the filter to instantiate. The name must match a supported // filter. The built-in filters are: // // [#comment:TODO(mattklein123): Auto generate the following list] // * :ref:`envoy.client_ssl_auth<config_network_filters_client_ssl_auth>` // * :ref:`envoy.echo <config_network_filters_echo>` // * :ref:`envoy.http_connection_manager <config_http_conn_man>` // * :ref:`envoy.mongo_proxy <config_network_filters_mongo_proxy>` // * :ref:`envoy.ratelimit <config_network_filters_rate_limit>` // * :ref:`envoy.redis_proxy <config_network_filters_redis_proxy>` // * :ref:`envoy.tcp_proxy <config_network_filters_tcp_proxy>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Filter specific configuration which depends on the filter being // instantiated. See the supported filters for further documentation. // // Types that are valid to be assigned to ConfigType: // *Filter_Config // *Filter_TypedConfig ConfigType isFilter_ConfigType `protobuf_oneof:"config_type"` // [#not-implemented-hide:] DeprecatedV1 *Filter_DeprecatedV1 `protobuf:"bytes,3,opt,name=deprecated_v1,json=deprecatedV1" json:"deprecated_v1,omitempty"` // Deprecated: Do not use. XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Filter) Descriptor ¶
func (*Filter) GetConfigType ¶ added in v0.6.3
func (m *Filter) GetConfigType() isFilter_ConfigType
func (*Filter) GetDeprecatedV1
deprecated
func (m *Filter) GetDeprecatedV1() *Filter_DeprecatedV1
Deprecated: Do not use.
func (*Filter) GetTypedConfig ¶ added in v0.6.3
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
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, an error is returned.
func (*Filter) XXX_DiscardUnknown ¶
func (m *Filter) XXX_DiscardUnknown()
func (*Filter) XXX_Marshal ¶
func (*Filter) XXX_OneofFuncs ¶ added in v0.6.3
func (*Filter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Filter) XXX_Unmarshal ¶
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" json:"filter_chain_match,omitempty"` // The TLS context for this filter chain. TlsContext *auth.DownstreamTlsContext `protobuf:"bytes,2,opt,name=tls_context,json=tlsContext" 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" json:"filters"` // Whether the listener should expect a PROXY protocol V1 header on new // connections. If this option is enabled, the listener will assume that that // remote address of the connection is the one specified in the header. Some // load balancers including the AWS ELB support this option. If the option is // absent or set to false, Envoy will use the physical peer address of the // connection as the remote address. UseProxyProto *types.BoolValue `protobuf:"bytes,4,opt,name=use_proxy_proto,json=useProxyProto" json:"use_proxy_proto,omitempty"` // [#not-implemented-hide:] filter chain metadata. Metadata *core.Metadata `protobuf:"bytes,5,opt,name=metadata" json:"metadata,omitempty"` // See :ref:`base.TransportSocket<envoy_api_msg_core.TransportSocket>` description. TransportSocket *core.TransportSocket `protobuf:"bytes,6,opt,name=transport_socket,json=transportSocket" json:"transport_socket,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A filter chain wraps a set of match criteria, an option TLS context, a set of filters, and various other parameters.
func (*FilterChain) Descriptor ¶
func (*FilterChain) Descriptor() ([]byte, []int)
func (*FilterChain) Equal ¶
func (this *FilterChain) Equal(that interface{}) bool
func (*FilterChain) GetFilterChainMatch ¶
func (m *FilterChain) GetFilterChainMatch() *FilterChainMatch
func (*FilterChain) GetFilters ¶
func (m *FilterChain) GetFilters() []Filter
func (*FilterChain) GetMetadata ¶
func (m *FilterChain) GetMetadata() *core.Metadata
func (*FilterChain) GetTlsContext ¶
func (m *FilterChain) GetTlsContext() *auth.DownstreamTlsContext
func (*FilterChain) GetTransportSocket ¶
func (m *FilterChain) GetTransportSocket() *core.TransportSocket
func (*FilterChain) GetUseProxyProto ¶
func (m *FilterChain) GetUseProxyProto() *types.BoolValue
func (*FilterChain) Marshal ¶
func (m *FilterChain) Marshal() (dAtA []byte, err error)
func (*FilterChain) ProtoMessage ¶
func (*FilterChain) ProtoMessage()
func (*FilterChain) Reset ¶
func (m *FilterChain) Reset()
func (*FilterChain) Size ¶
func (m *FilterChain) Size() (n int)
func (*FilterChain) String ¶
func (m *FilterChain) String() string
func (*FilterChain) Unmarshal ¶
func (m *FilterChain) Unmarshal(dAtA []byte) error
func (*FilterChain) Validate ¶
func (m *FilterChain) Validate() error
Validate checks the field values on FilterChain with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*FilterChain) XXX_DiscardUnknown ¶
func (m *FilterChain) XXX_DiscardUnknown()
func (*FilterChain) XXX_Marshal ¶
func (m *FilterChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FilterChain) XXX_Merge ¶
func (dst *FilterChain) XXX_Merge(src proto.Message)
func (*FilterChain) XXX_Size ¶
func (m *FilterChain) XXX_Size() int
func (*FilterChain) XXX_Unmarshal ¶
func (m *FilterChain) XXX_Unmarshal(b []byte) error
type FilterChainMatch ¶
type FilterChainMatch struct { // Optional destination port to consider when use_original_dst is set on the // listener in determining a filter chain match. DestinationPort *types.UInt32Value `protobuf:"bytes,8,opt,name=destination_port,json=destinationPort" 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" json:"prefix_ranges,omitempty"` // If non-empty, an IP address and suffix length to match addresses when the // listener is bound to 0.0.0.0/:: or when use_original_dst is specified. // [#not-implemented-hide:] AddressSuffix string `protobuf:"bytes,4,opt,name=address_suffix,json=addressSuffix,proto3" json:"address_suffix,omitempty"` // [#not-implemented-hide:] SuffixLen *types.UInt32Value `protobuf:"bytes,5,opt,name=suffix_len,json=suffixLen" json:"suffix_len,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. // [#not-implemented-hide:] SourcePrefixRanges []*core.CidrRange `protobuf:"bytes,6,rep,name=source_prefix_ranges,json=sourcePrefixRanges" 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. // [#not-implemented-hide:] SourcePorts []*types.UInt32Value `protobuf:"bytes,7,rep,name=source_ports,json=sourcePorts" 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" json:"server_names,omitempty"` // If non-empty, a transport protocol to consider when determining a filter chain match. // This value will be compared against the transport protocol of a new connection, when // it's detected by one of the listener filters. // // Suggested values include: // // * “raw_buffer“ - default, used when no transport protocol is detected, // * “tls“ - set by :ref:`envoy.listener.tls_inspector <config_listener_filters_tls_inspector>` // when TLS protocol is detected. TransportProtocol string `protobuf:"bytes,9,opt,name=transport_protocol,json=transportProtocol,proto3" json:"transport_protocol,omitempty"` // If non-empty, a list of application protocols (e.g. ALPN for TLS protocol) to consider when // determining a filter chain match. Those values will be compared against the application // protocols of a new connection, when detected by one of the listener filters. // // Suggested values include: // // * “http/1.1“ - set by :ref:`envoy.listener.tls_inspector // <config_listener_filters_tls_inspector>`, // * “h2“ - set by :ref:`envoy.listener.tls_inspector <config_listener_filters_tls_inspector>` // // .. attention:: // // Currently, only :ref:`TLS Inspector <config_listener_filters_tls_inspector>` provides // application protocol detection based on the requested // `ALPN <https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ values. // // However, the use of ALPN is pretty much limited to the HTTP/2 traffic on the Internet, // and matching on values other than “h2“ is going to lead to a lot of false negatives, // unless all connecting clients are known to use ALPN. ApplicationProtocols []string `protobuf:"bytes,10,rep,name=application_protocols,json=applicationProtocols" json:"application_protocols,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Specifies the match criteria for selecting a specific filter chain for a listener.
In order for a filter chain to be selected, *ALL* of its criteria must be fulfilled by the incoming connection, properties of which are set by the networking stack and/or listener filters.
The following order applies:
1. Destination port. 2. Destination IP address. 3. Server name (e.g. SNI for TLS protocol), 4. Transport protocol. 5. Application protocols (e.g. ALPN for TLS protocol).
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]
func (*FilterChainMatch) Descriptor ¶
func (*FilterChainMatch) Descriptor() ([]byte, []int)
func (*FilterChainMatch) Equal ¶
func (this *FilterChainMatch) Equal(that interface{}) bool
func (*FilterChainMatch) GetAddressSuffix ¶
func (m *FilterChainMatch) GetAddressSuffix() string
func (*FilterChainMatch) GetApplicationProtocols ¶
func (m *FilterChainMatch) GetApplicationProtocols() []string
func (*FilterChainMatch) GetDestinationPort ¶
func (m *FilterChainMatch) GetDestinationPort() *types.UInt32Value
func (*FilterChainMatch) GetPrefixRanges ¶
func (m *FilterChainMatch) GetPrefixRanges() []*core.CidrRange
func (*FilterChainMatch) GetServerNames ¶
func (m *FilterChainMatch) GetServerNames() []string
func (*FilterChainMatch) GetSourcePorts ¶
func (m *FilterChainMatch) GetSourcePorts() []*types.UInt32Value
func (*FilterChainMatch) GetSourcePrefixRanges ¶
func (m *FilterChainMatch) GetSourcePrefixRanges() []*core.CidrRange
func (*FilterChainMatch) GetSuffixLen ¶
func (m *FilterChainMatch) GetSuffixLen() *types.UInt32Value
func (*FilterChainMatch) GetTransportProtocol ¶
func (m *FilterChainMatch) GetTransportProtocol() string
func (*FilterChainMatch) Marshal ¶
func (m *FilterChainMatch) Marshal() (dAtA []byte, err error)
func (*FilterChainMatch) ProtoMessage ¶
func (*FilterChainMatch) ProtoMessage()
func (*FilterChainMatch) Reset ¶
func (m *FilterChainMatch) Reset()
func (*FilterChainMatch) Size ¶
func (m *FilterChainMatch) Size() (n int)
func (*FilterChainMatch) String ¶
func (m *FilterChainMatch) String() string
func (*FilterChainMatch) Unmarshal ¶
func (m *FilterChainMatch) Unmarshal(dAtA []byte) error
func (*FilterChainMatch) Validate ¶
func (m *FilterChainMatch) Validate() error
Validate checks the field values on FilterChainMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*FilterChainMatch) XXX_DiscardUnknown ¶
func (m *FilterChainMatch) XXX_DiscardUnknown()
func (*FilterChainMatch) XXX_Marshal ¶
func (m *FilterChainMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FilterChainMatch) XXX_Merge ¶
func (dst *FilterChainMatch) XXX_Merge(src proto.Message)
func (*FilterChainMatch) XXX_Size ¶
func (m *FilterChainMatch) XXX_Size() int
func (*FilterChainMatch) XXX_Unmarshal ¶
func (m *FilterChainMatch) XXX_Unmarshal(b []byte) error
type FilterChainMatchValidationError ¶
FilterChainMatchValidationError is the validation error returned by FilterChainMatch.Validate if the designated constraints aren't met.
func (FilterChainMatchValidationError) Error ¶
func (e FilterChainMatchValidationError) Error() string
Error satisfies the builtin error interface
type FilterChainValidationError ¶
FilterChainValidationError is the validation error returned by FilterChain.Validate if the designated constraints aren't met.
func (FilterChainValidationError) Error ¶
func (e FilterChainValidationError) Error() string
Error satisfies the builtin error interface
type FilterValidationError ¶
FilterValidationError is the validation error returned by Filter.Validate if the designated constraints aren't met.
func (FilterValidationError) Error ¶
func (e FilterValidationError) Error() string
Error satisfies the builtin error interface
type Filter_Config ¶ added in v0.6.3
func (*Filter_Config) Equal ¶ added in v0.6.3
func (this *Filter_Config) Equal(that interface{}) bool
func (*Filter_Config) MarshalTo ¶ added in v0.6.3
func (m *Filter_Config) MarshalTo(dAtA []byte) (int, error)
func (*Filter_Config) Size ¶ added in v0.6.3
func (m *Filter_Config) Size() (n int)
type Filter_DeprecatedV1 ¶
type Filter_DeprecatedV1 struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#not-implemented-hide:]
func (*Filter_DeprecatedV1) Descriptor ¶
func (*Filter_DeprecatedV1) Descriptor() ([]byte, []int)
func (*Filter_DeprecatedV1) Equal ¶
func (this *Filter_DeprecatedV1) Equal(that interface{}) bool
func (*Filter_DeprecatedV1) GetType ¶
func (m *Filter_DeprecatedV1) GetType() string
func (*Filter_DeprecatedV1) Marshal ¶
func (m *Filter_DeprecatedV1) Marshal() (dAtA []byte, err error)
func (*Filter_DeprecatedV1) MarshalTo ¶
func (m *Filter_DeprecatedV1) MarshalTo(dAtA []byte) (int, error)
func (*Filter_DeprecatedV1) ProtoMessage ¶
func (*Filter_DeprecatedV1) ProtoMessage()
func (*Filter_DeprecatedV1) Reset ¶
func (m *Filter_DeprecatedV1) Reset()
func (*Filter_DeprecatedV1) Size ¶
func (m *Filter_DeprecatedV1) Size() (n int)
func (*Filter_DeprecatedV1) String ¶
func (m *Filter_DeprecatedV1) String() string
func (*Filter_DeprecatedV1) Unmarshal ¶
func (m *Filter_DeprecatedV1) Unmarshal(dAtA []byte) error
func (*Filter_DeprecatedV1) Validate ¶
func (m *Filter_DeprecatedV1) Validate() error
Validate checks the field values on Filter_DeprecatedV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Filter_DeprecatedV1) XXX_DiscardUnknown ¶
func (m *Filter_DeprecatedV1) XXX_DiscardUnknown()
func (*Filter_DeprecatedV1) XXX_Marshal ¶
func (m *Filter_DeprecatedV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Filter_DeprecatedV1) XXX_Merge ¶
func (dst *Filter_DeprecatedV1) XXX_Merge(src proto.Message)
func (*Filter_DeprecatedV1) XXX_Size ¶
func (m *Filter_DeprecatedV1) XXX_Size() int
func (*Filter_DeprecatedV1) XXX_Unmarshal ¶
func (m *Filter_DeprecatedV1) XXX_Unmarshal(b []byte) error
type Filter_DeprecatedV1ValidationError ¶
Filter_DeprecatedV1ValidationError is the validation error returned by Filter_DeprecatedV1.Validate if the designated constraints aren't met.
func (Filter_DeprecatedV1ValidationError) Error ¶
func (e Filter_DeprecatedV1ValidationError) Error() string
Error satisfies the builtin error interface
type Filter_TypedConfig ¶ added in v0.6.3
type Filter_TypedConfig struct {
TypedConfig *types.Any `protobuf:"bytes,4,opt,name=typed_config,json=typedConfig,oneof"`
}
func (*Filter_TypedConfig) Equal ¶ added in v0.6.3
func (this *Filter_TypedConfig) Equal(that interface{}) bool
func (*Filter_TypedConfig) MarshalTo ¶ added in v0.6.3
func (m *Filter_TypedConfig) MarshalTo(dAtA []byte) (int, error)
func (*Filter_TypedConfig) Size ¶ added in v0.6.3
func (m *Filter_TypedConfig) Size() (n int)
type ListenerFilter ¶
type ListenerFilter struct { // The name of the filter to instantiate. The name must match a supported // filter. The built-in filters are: // // [#comment:TODO(mattklein123): Auto generate the following list] // * :ref:`envoy.listener.original_dst <config_listener_filters_original_dst>` // * :ref:`envoy.listener.tls_inspector <config_listener_filters_tls_inspector>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Filter specific configuration which depends on the filter being instantiated. // See the supported filters for further documentation. // // Types that are valid to be assigned to ConfigType: // *ListenerFilter_Config // *ListenerFilter_TypedConfig ConfigType isListenerFilter_ConfigType `protobuf_oneof:"config_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListenerFilter) Descriptor ¶
func (*ListenerFilter) Descriptor() ([]byte, []int)
func (*ListenerFilter) Equal ¶
func (this *ListenerFilter) Equal(that interface{}) bool
func (*ListenerFilter) GetConfig ¶
func (m *ListenerFilter) GetConfig() *types.Struct
func (*ListenerFilter) GetConfigType ¶ added in v0.6.3
func (m *ListenerFilter) GetConfigType() isListenerFilter_ConfigType
func (*ListenerFilter) GetName ¶
func (m *ListenerFilter) GetName() string
func (*ListenerFilter) GetTypedConfig ¶ added in v0.6.3
func (m *ListenerFilter) GetTypedConfig() *types.Any
func (*ListenerFilter) Marshal ¶
func (m *ListenerFilter) Marshal() (dAtA []byte, err error)
func (*ListenerFilter) ProtoMessage ¶
func (*ListenerFilter) ProtoMessage()
func (*ListenerFilter) Reset ¶
func (m *ListenerFilter) Reset()
func (*ListenerFilter) Size ¶
func (m *ListenerFilter) Size() (n int)
func (*ListenerFilter) String ¶
func (m *ListenerFilter) String() string
func (*ListenerFilter) Unmarshal ¶
func (m *ListenerFilter) Unmarshal(dAtA []byte) error
func (*ListenerFilter) Validate ¶
func (m *ListenerFilter) Validate() error
Validate checks the field values on ListenerFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ListenerFilter) XXX_DiscardUnknown ¶
func (m *ListenerFilter) XXX_DiscardUnknown()
func (*ListenerFilter) XXX_Marshal ¶
func (m *ListenerFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListenerFilter) XXX_Merge ¶
func (dst *ListenerFilter) XXX_Merge(src proto.Message)
func (*ListenerFilter) XXX_OneofFuncs ¶ added in v0.6.3
func (*ListenerFilter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*ListenerFilter) XXX_Size ¶
func (m *ListenerFilter) XXX_Size() int
func (*ListenerFilter) XXX_Unmarshal ¶
func (m *ListenerFilter) XXX_Unmarshal(b []byte) error
type ListenerFilterValidationError ¶
ListenerFilterValidationError is the validation error returned by ListenerFilter.Validate if the designated constraints aren't met.
func (ListenerFilterValidationError) Error ¶
func (e ListenerFilterValidationError) Error() string
Error satisfies the builtin error interface
type ListenerFilter_Config ¶ added in v0.6.3
type ListenerFilter_Config struct {
Config *types.Struct `protobuf:"bytes,2,opt,name=config,oneof"`
}
func (*ListenerFilter_Config) Equal ¶ added in v0.6.3
func (this *ListenerFilter_Config) Equal(that interface{}) bool
func (*ListenerFilter_Config) MarshalTo ¶ added in v0.6.3
func (m *ListenerFilter_Config) MarshalTo(dAtA []byte) (int, error)
func (*ListenerFilter_Config) Size ¶ added in v0.6.3
func (m *ListenerFilter_Config) Size() (n int)
type ListenerFilter_TypedConfig ¶ added in v0.6.3
type ListenerFilter_TypedConfig struct {
TypedConfig *types.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,oneof"`
}
func (*ListenerFilter_TypedConfig) Equal ¶ added in v0.6.3
func (this *ListenerFilter_TypedConfig) Equal(that interface{}) bool
func (*ListenerFilter_TypedConfig) MarshalTo ¶ added in v0.6.3
func (m *ListenerFilter_TypedConfig) MarshalTo(dAtA []byte) (int, error)
func (*ListenerFilter_TypedConfig) Size ¶ added in v0.6.3
func (m *ListenerFilter_TypedConfig) Size() (n int)