Documentation ¶
Index ¶
- Variables
- type ApplicationProtocolInput
- func (*ApplicationProtocolInput) Descriptor() ([]byte, []int)deprecated
- func (*ApplicationProtocolInput) ProtoMessage()
- func (x *ApplicationProtocolInput) ProtoReflect() protoreflect.Message
- func (x *ApplicationProtocolInput) Reset()
- func (x *ApplicationProtocolInput) String() string
- func (m *ApplicationProtocolInput) Validate() error
- func (m *ApplicationProtocolInput) ValidateAll() error
- type ApplicationProtocolInputMultiError
- type ApplicationProtocolInputValidationError
- func (e ApplicationProtocolInputValidationError) Cause() error
- func (e ApplicationProtocolInputValidationError) Error() string
- func (e ApplicationProtocolInputValidationError) ErrorName() string
- func (e ApplicationProtocolInputValidationError) Field() string
- func (e ApplicationProtocolInputValidationError) Key() bool
- func (e ApplicationProtocolInputValidationError) Reason() string
- type DestinationIPInput
- func (*DestinationIPInput) Descriptor() ([]byte, []int)deprecated
- func (*DestinationIPInput) ProtoMessage()
- func (x *DestinationIPInput) ProtoReflect() protoreflect.Message
- func (x *DestinationIPInput) Reset()
- func (x *DestinationIPInput) String() string
- func (m *DestinationIPInput) Validate() error
- func (m *DestinationIPInput) ValidateAll() error
- type DestinationIPInputMultiError
- type DestinationIPInputValidationError
- func (e DestinationIPInputValidationError) Cause() error
- func (e DestinationIPInputValidationError) Error() string
- func (e DestinationIPInputValidationError) ErrorName() string
- func (e DestinationIPInputValidationError) Field() string
- func (e DestinationIPInputValidationError) Key() bool
- func (e DestinationIPInputValidationError) Reason() string
- type DestinationPortInput
- func (*DestinationPortInput) Descriptor() ([]byte, []int)deprecated
- func (*DestinationPortInput) ProtoMessage()
- func (x *DestinationPortInput) ProtoReflect() protoreflect.Message
- func (x *DestinationPortInput) Reset()
- func (x *DestinationPortInput) String() string
- func (m *DestinationPortInput) Validate() error
- func (m *DestinationPortInput) ValidateAll() error
- type DestinationPortInputMultiError
- type DestinationPortInputValidationError
- func (e DestinationPortInputValidationError) Cause() error
- func (e DestinationPortInputValidationError) Error() string
- func (e DestinationPortInputValidationError) ErrorName() string
- func (e DestinationPortInputValidationError) Field() string
- func (e DestinationPortInputValidationError) Key() bool
- func (e DestinationPortInputValidationError) Reason() string
- type DirectSourceIPInput
- func (*DirectSourceIPInput) Descriptor() ([]byte, []int)deprecated
- func (*DirectSourceIPInput) ProtoMessage()
- func (x *DirectSourceIPInput) ProtoReflect() protoreflect.Message
- func (x *DirectSourceIPInput) Reset()
- func (x *DirectSourceIPInput) String() string
- func (m *DirectSourceIPInput) Validate() error
- func (m *DirectSourceIPInput) ValidateAll() error
- type DirectSourceIPInputMultiError
- type DirectSourceIPInputValidationError
- func (e DirectSourceIPInputValidationError) Cause() error
- func (e DirectSourceIPInputValidationError) Error() string
- func (e DirectSourceIPInputValidationError) ErrorName() string
- func (e DirectSourceIPInputValidationError) Field() string
- func (e DirectSourceIPInputValidationError) Key() bool
- func (e DirectSourceIPInputValidationError) Reason() string
- type DynamicMetadataInput
- func (*DynamicMetadataInput) Descriptor() ([]byte, []int)deprecated
- func (x *DynamicMetadataInput) GetFilter() string
- func (x *DynamicMetadataInput) GetPath() []*DynamicMetadataInput_PathSegment
- func (*DynamicMetadataInput) ProtoMessage()
- func (x *DynamicMetadataInput) ProtoReflect() protoreflect.Message
- func (x *DynamicMetadataInput) Reset()
- func (x *DynamicMetadataInput) String() string
- func (m *DynamicMetadataInput) Validate() error
- func (m *DynamicMetadataInput) ValidateAll() error
- type DynamicMetadataInputMultiError
- type DynamicMetadataInputValidationError
- func (e DynamicMetadataInputValidationError) Cause() error
- func (e DynamicMetadataInputValidationError) Error() string
- func (e DynamicMetadataInputValidationError) ErrorName() string
- func (e DynamicMetadataInputValidationError) Field() string
- func (e DynamicMetadataInputValidationError) Key() bool
- func (e DynamicMetadataInputValidationError) Reason() string
- type DynamicMetadataInput_PathSegment
- func (*DynamicMetadataInput_PathSegment) Descriptor() ([]byte, []int)deprecated
- func (x *DynamicMetadataInput_PathSegment) GetKey() string
- func (m *DynamicMetadataInput_PathSegment) GetSegment() isDynamicMetadataInput_PathSegment_Segment
- func (*DynamicMetadataInput_PathSegment) ProtoMessage()
- func (x *DynamicMetadataInput_PathSegment) ProtoReflect() protoreflect.Message
- func (x *DynamicMetadataInput_PathSegment) Reset()
- func (x *DynamicMetadataInput_PathSegment) String() string
- func (m *DynamicMetadataInput_PathSegment) Validate() error
- func (m *DynamicMetadataInput_PathSegment) ValidateAll() error
- type DynamicMetadataInput_PathSegmentMultiError
- type DynamicMetadataInput_PathSegmentValidationError
- func (e DynamicMetadataInput_PathSegmentValidationError) Cause() error
- func (e DynamicMetadataInput_PathSegmentValidationError) Error() string
- func (e DynamicMetadataInput_PathSegmentValidationError) ErrorName() string
- func (e DynamicMetadataInput_PathSegmentValidationError) Field() string
- func (e DynamicMetadataInput_PathSegmentValidationError) Key() bool
- func (e DynamicMetadataInput_PathSegmentValidationError) Reason() string
- type DynamicMetadataInput_PathSegment_Key
- type FilterStateInput
- func (*FilterStateInput) Descriptor() ([]byte, []int)deprecated
- func (x *FilterStateInput) GetKey() string
- func (*FilterStateInput) ProtoMessage()
- func (x *FilterStateInput) ProtoReflect() protoreflect.Message
- func (x *FilterStateInput) Reset()
- func (x *FilterStateInput) String() string
- func (m *FilterStateInput) Validate() error
- func (m *FilterStateInput) ValidateAll() error
- type FilterStateInputMultiError
- type FilterStateInputValidationError
- func (e FilterStateInputValidationError) Cause() error
- func (e FilterStateInputValidationError) Error() string
- func (e FilterStateInputValidationError) ErrorName() string
- func (e FilterStateInputValidationError) Field() string
- func (e FilterStateInputValidationError) Key() bool
- func (e FilterStateInputValidationError) Reason() string
- type ServerNameInput
- func (*ServerNameInput) Descriptor() ([]byte, []int)deprecated
- func (*ServerNameInput) ProtoMessage()
- func (x *ServerNameInput) ProtoReflect() protoreflect.Message
- func (x *ServerNameInput) Reset()
- func (x *ServerNameInput) String() string
- func (m *ServerNameInput) Validate() error
- func (m *ServerNameInput) ValidateAll() error
- type ServerNameInputMultiError
- type ServerNameInputValidationError
- func (e ServerNameInputValidationError) Cause() error
- func (e ServerNameInputValidationError) Error() string
- func (e ServerNameInputValidationError) ErrorName() string
- func (e ServerNameInputValidationError) Field() string
- func (e ServerNameInputValidationError) Key() bool
- func (e ServerNameInputValidationError) Reason() string
- type SourceIPInput
- func (*SourceIPInput) Descriptor() ([]byte, []int)deprecated
- func (*SourceIPInput) ProtoMessage()
- func (x *SourceIPInput) ProtoReflect() protoreflect.Message
- func (x *SourceIPInput) Reset()
- func (x *SourceIPInput) String() string
- func (m *SourceIPInput) Validate() error
- func (m *SourceIPInput) ValidateAll() error
- type SourceIPInputMultiError
- type SourceIPInputValidationError
- func (e SourceIPInputValidationError) Cause() error
- func (e SourceIPInputValidationError) Error() string
- func (e SourceIPInputValidationError) ErrorName() string
- func (e SourceIPInputValidationError) Field() string
- func (e SourceIPInputValidationError) Key() bool
- func (e SourceIPInputValidationError) Reason() string
- type SourcePortInput
- func (*SourcePortInput) Descriptor() ([]byte, []int)deprecated
- func (*SourcePortInput) ProtoMessage()
- func (x *SourcePortInput) ProtoReflect() protoreflect.Message
- func (x *SourcePortInput) Reset()
- func (x *SourcePortInput) String() string
- func (m *SourcePortInput) Validate() error
- func (m *SourcePortInput) ValidateAll() error
- type SourcePortInputMultiError
- type SourcePortInputValidationError
- func (e SourcePortInputValidationError) Cause() error
- func (e SourcePortInputValidationError) Error() string
- func (e SourcePortInputValidationError) ErrorName() string
- func (e SourcePortInputValidationError) Field() string
- func (e SourcePortInputValidationError) Key() bool
- func (e SourcePortInputValidationError) Reason() string
- type SourceTypeInput
- func (*SourceTypeInput) Descriptor() ([]byte, []int)deprecated
- func (*SourceTypeInput) ProtoMessage()
- func (x *SourceTypeInput) ProtoReflect() protoreflect.Message
- func (x *SourceTypeInput) Reset()
- func (x *SourceTypeInput) String() string
- func (m *SourceTypeInput) Validate() error
- func (m *SourceTypeInput) ValidateAll() error
- type SourceTypeInputMultiError
- type SourceTypeInputValidationError
- func (e SourceTypeInputValidationError) Cause() error
- func (e SourceTypeInputValidationError) Error() string
- func (e SourceTypeInputValidationError) ErrorName() string
- func (e SourceTypeInputValidationError) Field() string
- func (e SourceTypeInputValidationError) Key() bool
- func (e SourceTypeInputValidationError) Reason() string
- type TransportProtocolInput
- func (*TransportProtocolInput) Descriptor() ([]byte, []int)deprecated
- func (*TransportProtocolInput) ProtoMessage()
- func (x *TransportProtocolInput) ProtoReflect() protoreflect.Message
- func (x *TransportProtocolInput) Reset()
- func (x *TransportProtocolInput) String() string
- func (m *TransportProtocolInput) Validate() error
- func (m *TransportProtocolInput) ValidateAll() error
- type TransportProtocolInputMultiError
- type TransportProtocolInputValidationError
- func (e TransportProtocolInputValidationError) Cause() error
- func (e TransportProtocolInputValidationError) Error() string
- func (e TransportProtocolInputValidationError) ErrorName() string
- func (e TransportProtocolInputValidationError) Field() string
- func (e TransportProtocolInputValidationError) Key() bool
- func (e TransportProtocolInputValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_matching_common_inputs_network_v3_network_inputs_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ApplicationProtocolInput ¶
type ApplicationProtocolInput struct {
// contains filtered or unexported fields
}
List of quoted and comma-separated requested application protocols. The list consists of a single negotiated application protocol once the network stream is established.
Examples:
* “'h2','http/1.1'“ * “'h2c'“
Suggested values in the list include:
- “http/1.1“ - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>` and :ref:`envoy.filters.listener.http_inspector <config_listener_filters_http_inspector>`,
- “h2“ - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>`
- “h2c“ - set by :ref:`envoy.filters.listener.http_inspector <config_listener_filters_http_inspector>`
.. attention::
Currently, :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.
[#extension: envoy.matching.inputs.application_protocol]
func (*ApplicationProtocolInput) Descriptor
deprecated
func (*ApplicationProtocolInput) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationProtocolInput.ProtoReflect.Descriptor instead.
func (*ApplicationProtocolInput) ProtoMessage ¶
func (*ApplicationProtocolInput) ProtoMessage()
func (*ApplicationProtocolInput) ProtoReflect ¶
func (x *ApplicationProtocolInput) ProtoReflect() protoreflect.Message
func (*ApplicationProtocolInput) Reset ¶
func (x *ApplicationProtocolInput) Reset()
func (*ApplicationProtocolInput) String ¶
func (x *ApplicationProtocolInput) String() string
func (*ApplicationProtocolInput) Validate ¶
func (m *ApplicationProtocolInput) Validate() error
Validate checks the field values on ApplicationProtocolInput 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 (*ApplicationProtocolInput) ValidateAll ¶
func (m *ApplicationProtocolInput) ValidateAll() error
ValidateAll checks the field values on ApplicationProtocolInput 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 ApplicationProtocolInputMultiError, or nil if none found.
type ApplicationProtocolInputMultiError ¶
type ApplicationProtocolInputMultiError []error
ApplicationProtocolInputMultiError is an error wrapping multiple validation errors returned by ApplicationProtocolInput.ValidateAll() if the designated constraints aren't met.
func (ApplicationProtocolInputMultiError) AllErrors ¶
func (m ApplicationProtocolInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplicationProtocolInputMultiError) Error ¶
func (m ApplicationProtocolInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplicationProtocolInputValidationError ¶
type ApplicationProtocolInputValidationError struct {
// contains filtered or unexported fields
}
ApplicationProtocolInputValidationError is the validation error returned by ApplicationProtocolInput.Validate if the designated constraints aren't met.
func (ApplicationProtocolInputValidationError) Cause ¶
func (e ApplicationProtocolInputValidationError) Cause() error
Cause function returns cause value.
func (ApplicationProtocolInputValidationError) Error ¶
func (e ApplicationProtocolInputValidationError) Error() string
Error satisfies the builtin error interface
func (ApplicationProtocolInputValidationError) ErrorName ¶
func (e ApplicationProtocolInputValidationError) ErrorName() string
ErrorName returns error name.
func (ApplicationProtocolInputValidationError) Field ¶
func (e ApplicationProtocolInputValidationError) Field() string
Field function returns field value.
func (ApplicationProtocolInputValidationError) Key ¶
func (e ApplicationProtocolInputValidationError) Key() bool
Key function returns key value.
func (ApplicationProtocolInputValidationError) Reason ¶
func (e ApplicationProtocolInputValidationError) Reason() string
Reason function returns reason value.
type DestinationIPInput ¶
type DestinationIPInput struct {
// contains filtered or unexported fields
}
Specifies that matching should be performed by the destination IP address. [#extension: envoy.matching.inputs.destination_ip]
func (*DestinationIPInput) Descriptor
deprecated
func (*DestinationIPInput) Descriptor() ([]byte, []int)
Deprecated: Use DestinationIPInput.ProtoReflect.Descriptor instead.
func (*DestinationIPInput) ProtoMessage ¶
func (*DestinationIPInput) ProtoMessage()
func (*DestinationIPInput) ProtoReflect ¶
func (x *DestinationIPInput) ProtoReflect() protoreflect.Message
func (*DestinationIPInput) Reset ¶
func (x *DestinationIPInput) Reset()
func (*DestinationIPInput) String ¶
func (x *DestinationIPInput) String() string
func (*DestinationIPInput) Validate ¶
func (m *DestinationIPInput) Validate() error
Validate checks the field values on DestinationIPInput 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 (*DestinationIPInput) ValidateAll ¶
func (m *DestinationIPInput) ValidateAll() error
ValidateAll checks the field values on DestinationIPInput 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 DestinationIPInputMultiError, or nil if none found.
type DestinationIPInputMultiError ¶
type DestinationIPInputMultiError []error
DestinationIPInputMultiError is an error wrapping multiple validation errors returned by DestinationIPInput.ValidateAll() if the designated constraints aren't met.
func (DestinationIPInputMultiError) AllErrors ¶
func (m DestinationIPInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DestinationIPInputMultiError) Error ¶
func (m DestinationIPInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DestinationIPInputValidationError ¶
type DestinationIPInputValidationError struct {
// contains filtered or unexported fields
}
DestinationIPInputValidationError is the validation error returned by DestinationIPInput.Validate if the designated constraints aren't met.
func (DestinationIPInputValidationError) Cause ¶
func (e DestinationIPInputValidationError) Cause() error
Cause function returns cause value.
func (DestinationIPInputValidationError) Error ¶
func (e DestinationIPInputValidationError) Error() string
Error satisfies the builtin error interface
func (DestinationIPInputValidationError) ErrorName ¶
func (e DestinationIPInputValidationError) ErrorName() string
ErrorName returns error name.
func (DestinationIPInputValidationError) Field ¶
func (e DestinationIPInputValidationError) Field() string
Field function returns field value.
func (DestinationIPInputValidationError) Key ¶
func (e DestinationIPInputValidationError) Key() bool
Key function returns key value.
func (DestinationIPInputValidationError) Reason ¶
func (e DestinationIPInputValidationError) Reason() string
Reason function returns reason value.
type DestinationPortInput ¶
type DestinationPortInput struct {
// contains filtered or unexported fields
}
Specifies that matching should be performed by the destination port. [#extension: envoy.matching.inputs.destination_port]
func (*DestinationPortInput) Descriptor
deprecated
func (*DestinationPortInput) Descriptor() ([]byte, []int)
Deprecated: Use DestinationPortInput.ProtoReflect.Descriptor instead.
func (*DestinationPortInput) ProtoMessage ¶
func (*DestinationPortInput) ProtoMessage()
func (*DestinationPortInput) ProtoReflect ¶
func (x *DestinationPortInput) ProtoReflect() protoreflect.Message
func (*DestinationPortInput) Reset ¶
func (x *DestinationPortInput) Reset()
func (*DestinationPortInput) String ¶
func (x *DestinationPortInput) String() string
func (*DestinationPortInput) Validate ¶
func (m *DestinationPortInput) Validate() error
Validate checks the field values on DestinationPortInput 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 (*DestinationPortInput) ValidateAll ¶
func (m *DestinationPortInput) ValidateAll() error
ValidateAll checks the field values on DestinationPortInput 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 DestinationPortInputMultiError, or nil if none found.
type DestinationPortInputMultiError ¶
type DestinationPortInputMultiError []error
DestinationPortInputMultiError is an error wrapping multiple validation errors returned by DestinationPortInput.ValidateAll() if the designated constraints aren't met.
func (DestinationPortInputMultiError) AllErrors ¶
func (m DestinationPortInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DestinationPortInputMultiError) Error ¶
func (m DestinationPortInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DestinationPortInputValidationError ¶
type DestinationPortInputValidationError struct {
// contains filtered or unexported fields
}
DestinationPortInputValidationError is the validation error returned by DestinationPortInput.Validate if the designated constraints aren't met.
func (DestinationPortInputValidationError) Cause ¶
func (e DestinationPortInputValidationError) Cause() error
Cause function returns cause value.
func (DestinationPortInputValidationError) Error ¶
func (e DestinationPortInputValidationError) Error() string
Error satisfies the builtin error interface
func (DestinationPortInputValidationError) ErrorName ¶
func (e DestinationPortInputValidationError) ErrorName() string
ErrorName returns error name.
func (DestinationPortInputValidationError) Field ¶
func (e DestinationPortInputValidationError) Field() string
Field function returns field value.
func (DestinationPortInputValidationError) Key ¶
func (e DestinationPortInputValidationError) Key() bool
Key function returns key value.
func (DestinationPortInputValidationError) Reason ¶
func (e DestinationPortInputValidationError) Reason() string
Reason function returns reason value.
type DirectSourceIPInput ¶
type DirectSourceIPInput struct {
// contains filtered or unexported fields
}
Input that matches by the directly connected source IP address (this will only be different from the source IP address when using a listener filter that overrides the source address, such as the :ref:`Proxy Protocol listener filter <config_listener_filters_proxy_protocol>`). [#extension: envoy.matching.inputs.direct_source_ip]
func (*DirectSourceIPInput) Descriptor
deprecated
func (*DirectSourceIPInput) Descriptor() ([]byte, []int)
Deprecated: Use DirectSourceIPInput.ProtoReflect.Descriptor instead.
func (*DirectSourceIPInput) ProtoMessage ¶
func (*DirectSourceIPInput) ProtoMessage()
func (*DirectSourceIPInput) ProtoReflect ¶
func (x *DirectSourceIPInput) ProtoReflect() protoreflect.Message
func (*DirectSourceIPInput) Reset ¶
func (x *DirectSourceIPInput) Reset()
func (*DirectSourceIPInput) String ¶
func (x *DirectSourceIPInput) String() string
func (*DirectSourceIPInput) Validate ¶
func (m *DirectSourceIPInput) Validate() error
Validate checks the field values on DirectSourceIPInput 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 (*DirectSourceIPInput) ValidateAll ¶
func (m *DirectSourceIPInput) ValidateAll() error
ValidateAll checks the field values on DirectSourceIPInput 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 DirectSourceIPInputMultiError, or nil if none found.
type DirectSourceIPInputMultiError ¶
type DirectSourceIPInputMultiError []error
DirectSourceIPInputMultiError is an error wrapping multiple validation errors returned by DirectSourceIPInput.ValidateAll() if the designated constraints aren't met.
func (DirectSourceIPInputMultiError) AllErrors ¶
func (m DirectSourceIPInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DirectSourceIPInputMultiError) Error ¶
func (m DirectSourceIPInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DirectSourceIPInputValidationError ¶
type DirectSourceIPInputValidationError struct {
// contains filtered or unexported fields
}
DirectSourceIPInputValidationError is the validation error returned by DirectSourceIPInput.Validate if the designated constraints aren't met.
func (DirectSourceIPInputValidationError) Cause ¶
func (e DirectSourceIPInputValidationError) Cause() error
Cause function returns cause value.
func (DirectSourceIPInputValidationError) Error ¶
func (e DirectSourceIPInputValidationError) Error() string
Error satisfies the builtin error interface
func (DirectSourceIPInputValidationError) ErrorName ¶
func (e DirectSourceIPInputValidationError) ErrorName() string
ErrorName returns error name.
func (DirectSourceIPInputValidationError) Field ¶
func (e DirectSourceIPInputValidationError) Field() string
Field function returns field value.
func (DirectSourceIPInputValidationError) Key ¶
func (e DirectSourceIPInputValidationError) Key() bool
Key function returns key value.
func (DirectSourceIPInputValidationError) Reason ¶
func (e DirectSourceIPInputValidationError) Reason() string
Reason function returns reason value.
type DynamicMetadataInput ¶
type DynamicMetadataInput struct { // The filter name to retrieve the Struct from the Metadata. Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // The path to retrieve the Value from the Struct. Path []*DynamicMetadataInput_PathSegment `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
Input that matches dynamic metadata by key. DynamicMetadataInput provides a general interface using “filter“ and “path“ to retrieve value from :ref:`Metadata <envoy_v3_api_msg_config.core.v3.Metadata>`.
For example, for the following Metadata:
.. code-block:: yaml
filter_metadata: envoy.xxx: prop: foo: bar xyz: hello: envoy
The following DynamicMetadataInput will retrieve a string value "bar" from the Metadata.
.. code-block:: yaml
filter: envoy.xxx path: - key: prop - key: foo
[#extension: envoy.matching.inputs.dynamic_metadata]
func (*DynamicMetadataInput) Descriptor
deprecated
func (*DynamicMetadataInput) Descriptor() ([]byte, []int)
Deprecated: Use DynamicMetadataInput.ProtoReflect.Descriptor instead.
func (*DynamicMetadataInput) GetFilter ¶
func (x *DynamicMetadataInput) GetFilter() string
func (*DynamicMetadataInput) GetPath ¶
func (x *DynamicMetadataInput) GetPath() []*DynamicMetadataInput_PathSegment
func (*DynamicMetadataInput) ProtoMessage ¶
func (*DynamicMetadataInput) ProtoMessage()
func (*DynamicMetadataInput) ProtoReflect ¶
func (x *DynamicMetadataInput) ProtoReflect() protoreflect.Message
func (*DynamicMetadataInput) Reset ¶
func (x *DynamicMetadataInput) Reset()
func (*DynamicMetadataInput) String ¶
func (x *DynamicMetadataInput) String() string
func (*DynamicMetadataInput) Validate ¶
func (m *DynamicMetadataInput) Validate() error
Validate checks the field values on DynamicMetadataInput 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 (*DynamicMetadataInput) ValidateAll ¶
func (m *DynamicMetadataInput) ValidateAll() error
ValidateAll checks the field values on DynamicMetadataInput 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 DynamicMetadataInputMultiError, or nil if none found.
type DynamicMetadataInputMultiError ¶
type DynamicMetadataInputMultiError []error
DynamicMetadataInputMultiError is an error wrapping multiple validation errors returned by DynamicMetadataInput.ValidateAll() if the designated constraints aren't met.
func (DynamicMetadataInputMultiError) AllErrors ¶
func (m DynamicMetadataInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DynamicMetadataInputMultiError) Error ¶
func (m DynamicMetadataInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DynamicMetadataInputValidationError ¶
type DynamicMetadataInputValidationError struct {
// contains filtered or unexported fields
}
DynamicMetadataInputValidationError is the validation error returned by DynamicMetadataInput.Validate if the designated constraints aren't met.
func (DynamicMetadataInputValidationError) Cause ¶
func (e DynamicMetadataInputValidationError) Cause() error
Cause function returns cause value.
func (DynamicMetadataInputValidationError) Error ¶
func (e DynamicMetadataInputValidationError) Error() string
Error satisfies the builtin error interface
func (DynamicMetadataInputValidationError) ErrorName ¶
func (e DynamicMetadataInputValidationError) ErrorName() string
ErrorName returns error name.
func (DynamicMetadataInputValidationError) Field ¶
func (e DynamicMetadataInputValidationError) Field() string
Field function returns field value.
func (DynamicMetadataInputValidationError) Key ¶
func (e DynamicMetadataInputValidationError) Key() bool
Key function returns key value.
func (DynamicMetadataInputValidationError) Reason ¶
func (e DynamicMetadataInputValidationError) Reason() string
Reason function returns reason value.
type DynamicMetadataInput_PathSegment ¶
type DynamicMetadataInput_PathSegment struct { // Types that are assignable to Segment: // // *DynamicMetadataInput_PathSegment_Key Segment isDynamicMetadataInput_PathSegment_Segment `protobuf_oneof:"segment"` // contains filtered or unexported fields }
Specifies the segment in a path to retrieve value from Metadata. Note: Currently it's not supported to retrieve a value from a list in Metadata. This means that if the segment key refers to a list, it has to be the last segment in a path.
func (*DynamicMetadataInput_PathSegment) Descriptor
deprecated
func (*DynamicMetadataInput_PathSegment) Descriptor() ([]byte, []int)
Deprecated: Use DynamicMetadataInput_PathSegment.ProtoReflect.Descriptor instead.
func (*DynamicMetadataInput_PathSegment) GetKey ¶
func (x *DynamicMetadataInput_PathSegment) GetKey() string
func (*DynamicMetadataInput_PathSegment) GetSegment ¶
func (m *DynamicMetadataInput_PathSegment) GetSegment() isDynamicMetadataInput_PathSegment_Segment
func (*DynamicMetadataInput_PathSegment) ProtoMessage ¶
func (*DynamicMetadataInput_PathSegment) ProtoMessage()
func (*DynamicMetadataInput_PathSegment) ProtoReflect ¶
func (x *DynamicMetadataInput_PathSegment) ProtoReflect() protoreflect.Message
func (*DynamicMetadataInput_PathSegment) Reset ¶
func (x *DynamicMetadataInput_PathSegment) Reset()
func (*DynamicMetadataInput_PathSegment) String ¶
func (x *DynamicMetadataInput_PathSegment) String() string
func (*DynamicMetadataInput_PathSegment) Validate ¶
func (m *DynamicMetadataInput_PathSegment) Validate() error
Validate checks the field values on DynamicMetadataInput_PathSegment 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 (*DynamicMetadataInput_PathSegment) ValidateAll ¶
func (m *DynamicMetadataInput_PathSegment) ValidateAll() error
ValidateAll checks the field values on DynamicMetadataInput_PathSegment 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 DynamicMetadataInput_PathSegmentMultiError, or nil if none found.
type DynamicMetadataInput_PathSegmentMultiError ¶
type DynamicMetadataInput_PathSegmentMultiError []error
DynamicMetadataInput_PathSegmentMultiError is an error wrapping multiple validation errors returned by DynamicMetadataInput_PathSegment.ValidateAll() if the designated constraints aren't met.
func (DynamicMetadataInput_PathSegmentMultiError) AllErrors ¶
func (m DynamicMetadataInput_PathSegmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DynamicMetadataInput_PathSegmentMultiError) Error ¶
func (m DynamicMetadataInput_PathSegmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DynamicMetadataInput_PathSegmentValidationError ¶
type DynamicMetadataInput_PathSegmentValidationError struct {
// contains filtered or unexported fields
}
DynamicMetadataInput_PathSegmentValidationError is the validation error returned by DynamicMetadataInput_PathSegment.Validate if the designated constraints aren't met.
func (DynamicMetadataInput_PathSegmentValidationError) Cause ¶
func (e DynamicMetadataInput_PathSegmentValidationError) Cause() error
Cause function returns cause value.
func (DynamicMetadataInput_PathSegmentValidationError) Error ¶
func (e DynamicMetadataInput_PathSegmentValidationError) Error() string
Error satisfies the builtin error interface
func (DynamicMetadataInput_PathSegmentValidationError) ErrorName ¶
func (e DynamicMetadataInput_PathSegmentValidationError) ErrorName() string
ErrorName returns error name.
func (DynamicMetadataInput_PathSegmentValidationError) Field ¶
func (e DynamicMetadataInput_PathSegmentValidationError) Field() string
Field function returns field value.
func (DynamicMetadataInput_PathSegmentValidationError) Key ¶
func (e DynamicMetadataInput_PathSegmentValidationError) Key() bool
Key function returns key value.
func (DynamicMetadataInput_PathSegmentValidationError) Reason ¶
func (e DynamicMetadataInput_PathSegmentValidationError) Reason() string
Reason function returns reason value.
type DynamicMetadataInput_PathSegment_Key ¶
type DynamicMetadataInput_PathSegment_Key struct { // If specified, use the key to retrieve the value in a Struct. Key string `protobuf:"bytes,1,opt,name=key,proto3,oneof"` }
type FilterStateInput ¶
type FilterStateInput struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
Input that matches by a specific filter state key. The value of the provided filter state key will be the raw string representation of the filter state object [#extension: envoy.matching.inputs.filter_state]
func (*FilterStateInput) Descriptor
deprecated
func (*FilterStateInput) Descriptor() ([]byte, []int)
Deprecated: Use FilterStateInput.ProtoReflect.Descriptor instead.
func (*FilterStateInput) GetKey ¶
func (x *FilterStateInput) GetKey() string
func (*FilterStateInput) ProtoMessage ¶
func (*FilterStateInput) ProtoMessage()
func (*FilterStateInput) ProtoReflect ¶
func (x *FilterStateInput) ProtoReflect() protoreflect.Message
func (*FilterStateInput) Reset ¶
func (x *FilterStateInput) Reset()
func (*FilterStateInput) String ¶
func (x *FilterStateInput) String() string
func (*FilterStateInput) Validate ¶
func (m *FilterStateInput) Validate() error
Validate checks the field values on FilterStateInput 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 (*FilterStateInput) ValidateAll ¶
func (m *FilterStateInput) ValidateAll() error
ValidateAll checks the field values on FilterStateInput 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 FilterStateInputMultiError, or nil if none found.
type FilterStateInputMultiError ¶
type FilterStateInputMultiError []error
FilterStateInputMultiError is an error wrapping multiple validation errors returned by FilterStateInput.ValidateAll() if the designated constraints aren't met.
func (FilterStateInputMultiError) AllErrors ¶
func (m FilterStateInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterStateInputMultiError) Error ¶
func (m FilterStateInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilterStateInputValidationError ¶
type FilterStateInputValidationError struct {
// contains filtered or unexported fields
}
FilterStateInputValidationError is the validation error returned by FilterStateInput.Validate if the designated constraints aren't met.
func (FilterStateInputValidationError) Cause ¶
func (e FilterStateInputValidationError) Cause() error
Cause function returns cause value.
func (FilterStateInputValidationError) Error ¶
func (e FilterStateInputValidationError) Error() string
Error satisfies the builtin error interface
func (FilterStateInputValidationError) ErrorName ¶
func (e FilterStateInputValidationError) ErrorName() string
ErrorName returns error name.
func (FilterStateInputValidationError) Field ¶
func (e FilterStateInputValidationError) Field() string
Field function returns field value.
func (FilterStateInputValidationError) Key ¶
func (e FilterStateInputValidationError) Key() bool
Key function returns key value.
func (FilterStateInputValidationError) Reason ¶
func (e FilterStateInputValidationError) Reason() string
Reason function returns reason value.
type ServerNameInput ¶
type ServerNameInput struct {
// contains filtered or unexported fields
}
Input that matches by the requested server name (e.g. SNI in TLS).
:ref:`TLS Inspector <config_listener_filters_tls_inspector>` provides the requested server name based on SNI, when TLS protocol is detected. [#extension: envoy.matching.inputs.server_name]
func (*ServerNameInput) Descriptor
deprecated
func (*ServerNameInput) Descriptor() ([]byte, []int)
Deprecated: Use ServerNameInput.ProtoReflect.Descriptor instead.
func (*ServerNameInput) ProtoMessage ¶
func (*ServerNameInput) ProtoMessage()
func (*ServerNameInput) ProtoReflect ¶
func (x *ServerNameInput) ProtoReflect() protoreflect.Message
func (*ServerNameInput) Reset ¶
func (x *ServerNameInput) Reset()
func (*ServerNameInput) String ¶
func (x *ServerNameInput) String() string
func (*ServerNameInput) Validate ¶
func (m *ServerNameInput) Validate() error
Validate checks the field values on ServerNameInput 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 (*ServerNameInput) ValidateAll ¶
func (m *ServerNameInput) ValidateAll() error
ValidateAll checks the field values on ServerNameInput 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 ServerNameInputMultiError, or nil if none found.
type ServerNameInputMultiError ¶
type ServerNameInputMultiError []error
ServerNameInputMultiError is an error wrapping multiple validation errors returned by ServerNameInput.ValidateAll() if the designated constraints aren't met.
func (ServerNameInputMultiError) AllErrors ¶
func (m ServerNameInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServerNameInputMultiError) Error ¶
func (m ServerNameInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServerNameInputValidationError ¶
type ServerNameInputValidationError struct {
// contains filtered or unexported fields
}
ServerNameInputValidationError is the validation error returned by ServerNameInput.Validate if the designated constraints aren't met.
func (ServerNameInputValidationError) Cause ¶
func (e ServerNameInputValidationError) Cause() error
Cause function returns cause value.
func (ServerNameInputValidationError) Error ¶
func (e ServerNameInputValidationError) Error() string
Error satisfies the builtin error interface
func (ServerNameInputValidationError) ErrorName ¶
func (e ServerNameInputValidationError) ErrorName() string
ErrorName returns error name.
func (ServerNameInputValidationError) Field ¶
func (e ServerNameInputValidationError) Field() string
Field function returns field value.
func (ServerNameInputValidationError) Key ¶
func (e ServerNameInputValidationError) Key() bool
Key function returns key value.
func (ServerNameInputValidationError) Reason ¶
func (e ServerNameInputValidationError) Reason() string
Reason function returns reason value.
type SourceIPInput ¶
type SourceIPInput struct {
// contains filtered or unexported fields
}
Specifies that matching should be performed by the source IP address. [#extension: envoy.matching.inputs.source_ip]
func (*SourceIPInput) Descriptor
deprecated
func (*SourceIPInput) Descriptor() ([]byte, []int)
Deprecated: Use SourceIPInput.ProtoReflect.Descriptor instead.
func (*SourceIPInput) ProtoMessage ¶
func (*SourceIPInput) ProtoMessage()
func (*SourceIPInput) ProtoReflect ¶
func (x *SourceIPInput) ProtoReflect() protoreflect.Message
func (*SourceIPInput) Reset ¶
func (x *SourceIPInput) Reset()
func (*SourceIPInput) String ¶
func (x *SourceIPInput) String() string
func (*SourceIPInput) Validate ¶
func (m *SourceIPInput) Validate() error
Validate checks the field values on SourceIPInput 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 (*SourceIPInput) ValidateAll ¶
func (m *SourceIPInput) ValidateAll() error
ValidateAll checks the field values on SourceIPInput 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 SourceIPInputMultiError, or nil if none found.
type SourceIPInputMultiError ¶
type SourceIPInputMultiError []error
SourceIPInputMultiError is an error wrapping multiple validation errors returned by SourceIPInput.ValidateAll() if the designated constraints aren't met.
func (SourceIPInputMultiError) AllErrors ¶
func (m SourceIPInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceIPInputMultiError) Error ¶
func (m SourceIPInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceIPInputValidationError ¶
type SourceIPInputValidationError struct {
// contains filtered or unexported fields
}
SourceIPInputValidationError is the validation error returned by SourceIPInput.Validate if the designated constraints aren't met.
func (SourceIPInputValidationError) Cause ¶
func (e SourceIPInputValidationError) Cause() error
Cause function returns cause value.
func (SourceIPInputValidationError) Error ¶
func (e SourceIPInputValidationError) Error() string
Error satisfies the builtin error interface
func (SourceIPInputValidationError) ErrorName ¶
func (e SourceIPInputValidationError) ErrorName() string
ErrorName returns error name.
func (SourceIPInputValidationError) Field ¶
func (e SourceIPInputValidationError) Field() string
Field function returns field value.
func (SourceIPInputValidationError) Key ¶
func (e SourceIPInputValidationError) Key() bool
Key function returns key value.
func (SourceIPInputValidationError) Reason ¶
func (e SourceIPInputValidationError) Reason() string
Reason function returns reason value.
type SourcePortInput ¶
type SourcePortInput struct {
// contains filtered or unexported fields
}
Specifies that matching should be performed by the source port. [#extension: envoy.matching.inputs.source_port]
func (*SourcePortInput) Descriptor
deprecated
func (*SourcePortInput) Descriptor() ([]byte, []int)
Deprecated: Use SourcePortInput.ProtoReflect.Descriptor instead.
func (*SourcePortInput) ProtoMessage ¶
func (*SourcePortInput) ProtoMessage()
func (*SourcePortInput) ProtoReflect ¶
func (x *SourcePortInput) ProtoReflect() protoreflect.Message
func (*SourcePortInput) Reset ¶
func (x *SourcePortInput) Reset()
func (*SourcePortInput) String ¶
func (x *SourcePortInput) String() string
func (*SourcePortInput) Validate ¶
func (m *SourcePortInput) Validate() error
Validate checks the field values on SourcePortInput 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 (*SourcePortInput) ValidateAll ¶
func (m *SourcePortInput) ValidateAll() error
ValidateAll checks the field values on SourcePortInput 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 SourcePortInputMultiError, or nil if none found.
type SourcePortInputMultiError ¶
type SourcePortInputMultiError []error
SourcePortInputMultiError is an error wrapping multiple validation errors returned by SourcePortInput.ValidateAll() if the designated constraints aren't met.
func (SourcePortInputMultiError) AllErrors ¶
func (m SourcePortInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourcePortInputMultiError) Error ¶
func (m SourcePortInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourcePortInputValidationError ¶
type SourcePortInputValidationError struct {
// contains filtered or unexported fields
}
SourcePortInputValidationError is the validation error returned by SourcePortInput.Validate if the designated constraints aren't met.
func (SourcePortInputValidationError) Cause ¶
func (e SourcePortInputValidationError) Cause() error
Cause function returns cause value.
func (SourcePortInputValidationError) Error ¶
func (e SourcePortInputValidationError) Error() string
Error satisfies the builtin error interface
func (SourcePortInputValidationError) ErrorName ¶
func (e SourcePortInputValidationError) ErrorName() string
ErrorName returns error name.
func (SourcePortInputValidationError) Field ¶
func (e SourcePortInputValidationError) Field() string
Field function returns field value.
func (SourcePortInputValidationError) Key ¶
func (e SourcePortInputValidationError) Key() bool
Key function returns key value.
func (SourcePortInputValidationError) Reason ¶
func (e SourcePortInputValidationError) Reason() string
Reason function returns reason value.
type SourceTypeInput ¶
type SourceTypeInput struct {
// contains filtered or unexported fields
}
Input that matches by the source IP type. Specifies the source IP match type. The values include:
* “local“ - matches a connection originating from the same host, [#extension: envoy.matching.inputs.source_type]
func (*SourceTypeInput) Descriptor
deprecated
func (*SourceTypeInput) Descriptor() ([]byte, []int)
Deprecated: Use SourceTypeInput.ProtoReflect.Descriptor instead.
func (*SourceTypeInput) ProtoMessage ¶
func (*SourceTypeInput) ProtoMessage()
func (*SourceTypeInput) ProtoReflect ¶
func (x *SourceTypeInput) ProtoReflect() protoreflect.Message
func (*SourceTypeInput) Reset ¶
func (x *SourceTypeInput) Reset()
func (*SourceTypeInput) String ¶
func (x *SourceTypeInput) String() string
func (*SourceTypeInput) Validate ¶
func (m *SourceTypeInput) Validate() error
Validate checks the field values on SourceTypeInput 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 (*SourceTypeInput) ValidateAll ¶
func (m *SourceTypeInput) ValidateAll() error
ValidateAll checks the field values on SourceTypeInput 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 SourceTypeInputMultiError, or nil if none found.
type SourceTypeInputMultiError ¶
type SourceTypeInputMultiError []error
SourceTypeInputMultiError is an error wrapping multiple validation errors returned by SourceTypeInput.ValidateAll() if the designated constraints aren't met.
func (SourceTypeInputMultiError) AllErrors ¶
func (m SourceTypeInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceTypeInputMultiError) Error ¶
func (m SourceTypeInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceTypeInputValidationError ¶
type SourceTypeInputValidationError struct {
// contains filtered or unexported fields
}
SourceTypeInputValidationError is the validation error returned by SourceTypeInput.Validate if the designated constraints aren't met.
func (SourceTypeInputValidationError) Cause ¶
func (e SourceTypeInputValidationError) Cause() error
Cause function returns cause value.
func (SourceTypeInputValidationError) Error ¶
func (e SourceTypeInputValidationError) Error() string
Error satisfies the builtin error interface
func (SourceTypeInputValidationError) ErrorName ¶
func (e SourceTypeInputValidationError) ErrorName() string
ErrorName returns error name.
func (SourceTypeInputValidationError) Field ¶
func (e SourceTypeInputValidationError) Field() string
Field function returns field value.
func (SourceTypeInputValidationError) Key ¶
func (e SourceTypeInputValidationError) Key() bool
Key function returns key value.
func (SourceTypeInputValidationError) Reason ¶
func (e SourceTypeInputValidationError) Reason() string
Reason function returns reason value.
type TransportProtocolInput ¶
type TransportProtocolInput struct {
// contains filtered or unexported fields
}
Input that matches by the transport protocol.
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.
[#extension: envoy.matching.inputs.transport_protocol]
func (*TransportProtocolInput) Descriptor
deprecated
func (*TransportProtocolInput) Descriptor() ([]byte, []int)
Deprecated: Use TransportProtocolInput.ProtoReflect.Descriptor instead.
func (*TransportProtocolInput) ProtoMessage ¶
func (*TransportProtocolInput) ProtoMessage()
func (*TransportProtocolInput) ProtoReflect ¶
func (x *TransportProtocolInput) ProtoReflect() protoreflect.Message
func (*TransportProtocolInput) Reset ¶
func (x *TransportProtocolInput) Reset()
func (*TransportProtocolInput) String ¶
func (x *TransportProtocolInput) String() string
func (*TransportProtocolInput) Validate ¶
func (m *TransportProtocolInput) Validate() error
Validate checks the field values on TransportProtocolInput 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 (*TransportProtocolInput) ValidateAll ¶
func (m *TransportProtocolInput) ValidateAll() error
ValidateAll checks the field values on TransportProtocolInput 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 TransportProtocolInputMultiError, or nil if none found.
type TransportProtocolInputMultiError ¶
type TransportProtocolInputMultiError []error
TransportProtocolInputMultiError is an error wrapping multiple validation errors returned by TransportProtocolInput.ValidateAll() if the designated constraints aren't met.
func (TransportProtocolInputMultiError) AllErrors ¶
func (m TransportProtocolInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TransportProtocolInputMultiError) Error ¶
func (m TransportProtocolInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TransportProtocolInputValidationError ¶
type TransportProtocolInputValidationError struct {
// contains filtered or unexported fields
}
TransportProtocolInputValidationError is the validation error returned by TransportProtocolInput.Validate if the designated constraints aren't met.
func (TransportProtocolInputValidationError) Cause ¶
func (e TransportProtocolInputValidationError) Cause() error
Cause function returns cause value.
func (TransportProtocolInputValidationError) Error ¶
func (e TransportProtocolInputValidationError) Error() string
Error satisfies the builtin error interface
func (TransportProtocolInputValidationError) ErrorName ¶
func (e TransportProtocolInputValidationError) ErrorName() string
ErrorName returns error name.
func (TransportProtocolInputValidationError) Field ¶
func (e TransportProtocolInputValidationError) Field() string
Field function returns field value.
func (TransportProtocolInputValidationError) Key ¶
func (e TransportProtocolInputValidationError) Key() bool
Key function returns key value.
func (TransportProtocolInputValidationError) Reason ¶
func (e TransportProtocolInputValidationError) Reason() string
Reason function returns reason value.