Documentation ¶
Index ¶
- Variables
- type HostMatchInput
- func (*HostMatchInput) Descriptor() ([]byte, []int)deprecated
- func (*HostMatchInput) ProtoMessage()
- func (x *HostMatchInput) ProtoReflect() protoreflect.Message
- func (x *HostMatchInput) Reset()
- func (x *HostMatchInput) String() string
- func (m *HostMatchInput) Validate() error
- func (m *HostMatchInput) ValidateAll() error
- type HostMatchInputMultiError
- type HostMatchInputValidationError
- func (e HostMatchInputValidationError) Cause() error
- func (e HostMatchInputValidationError) Error() string
- func (e HostMatchInputValidationError) ErrorName() string
- func (e HostMatchInputValidationError) Field() string
- func (e HostMatchInputValidationError) Key() bool
- func (e HostMatchInputValidationError) Reason() string
- type KeyValueMatchEntry
- func (*KeyValueMatchEntry) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValueMatchEntry) GetName() string
- func (x *KeyValueMatchEntry) GetStringMatch() *v3.StringMatcher
- func (*KeyValueMatchEntry) ProtoMessage()
- func (x *KeyValueMatchEntry) ProtoReflect() protoreflect.Message
- func (x *KeyValueMatchEntry) Reset()
- func (x *KeyValueMatchEntry) String() string
- func (m *KeyValueMatchEntry) Validate() error
- func (m *KeyValueMatchEntry) ValidateAll() error
- type KeyValueMatchEntryMultiError
- type KeyValueMatchEntryValidationError
- func (e KeyValueMatchEntryValidationError) Cause() error
- func (e KeyValueMatchEntryValidationError) Error() string
- func (e KeyValueMatchEntryValidationError) ErrorName() string
- func (e KeyValueMatchEntryValidationError) Field() string
- func (e KeyValueMatchEntryValidationError) Key() bool
- func (e KeyValueMatchEntryValidationError) Reason() string
- type MethodMatchInput
- func (*MethodMatchInput) Descriptor() ([]byte, []int)deprecated
- func (*MethodMatchInput) ProtoMessage()
- func (x *MethodMatchInput) ProtoReflect() protoreflect.Message
- func (x *MethodMatchInput) Reset()
- func (x *MethodMatchInput) String() string
- func (m *MethodMatchInput) Validate() error
- func (m *MethodMatchInput) ValidateAll() error
- type MethodMatchInputMultiError
- type MethodMatchInputValidationError
- func (e MethodMatchInputValidationError) Cause() error
- func (e MethodMatchInputValidationError) Error() string
- func (e MethodMatchInputValidationError) ErrorName() string
- func (e MethodMatchInputValidationError) Field() string
- func (e MethodMatchInputValidationError) Key() bool
- func (e MethodMatchInputValidationError) Reason() string
- type PathMatchInput
- func (*PathMatchInput) Descriptor() ([]byte, []int)deprecated
- func (*PathMatchInput) ProtoMessage()
- func (x *PathMatchInput) ProtoReflect() protoreflect.Message
- func (x *PathMatchInput) Reset()
- func (x *PathMatchInput) String() string
- func (m *PathMatchInput) Validate() error
- func (m *PathMatchInput) ValidateAll() error
- type PathMatchInputMultiError
- type PathMatchInputValidationError
- func (e PathMatchInputValidationError) Cause() error
- func (e PathMatchInputValidationError) Error() string
- func (e PathMatchInputValidationError) ErrorName() string
- func (e PathMatchInputValidationError) Field() string
- func (e PathMatchInputValidationError) Key() bool
- func (e PathMatchInputValidationError) Reason() string
- type PropertyMatchInput
- func (*PropertyMatchInput) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyMatchInput) GetPropertyName() string
- func (*PropertyMatchInput) ProtoMessage()
- func (x *PropertyMatchInput) ProtoReflect() protoreflect.Message
- func (x *PropertyMatchInput) Reset()
- func (x *PropertyMatchInput) String() string
- func (m *PropertyMatchInput) Validate() error
- func (m *PropertyMatchInput) ValidateAll() error
- type PropertyMatchInputMultiError
- type PropertyMatchInputValidationError
- func (e PropertyMatchInputValidationError) Cause() error
- func (e PropertyMatchInputValidationError) Error() string
- func (e PropertyMatchInputValidationError) ErrorName() string
- func (e PropertyMatchInputValidationError) Field() string
- func (e PropertyMatchInputValidationError) Key() bool
- func (e PropertyMatchInputValidationError) Reason() string
- type RequestMatchInput
- func (*RequestMatchInput) Descriptor() ([]byte, []int)deprecated
- func (*RequestMatchInput) ProtoMessage()
- func (x *RequestMatchInput) ProtoReflect() protoreflect.Message
- func (x *RequestMatchInput) Reset()
- func (x *RequestMatchInput) String() string
- func (m *RequestMatchInput) Validate() error
- func (m *RequestMatchInput) ValidateAll() error
- type RequestMatchInputMultiError
- type RequestMatchInputValidationError
- func (e RequestMatchInputValidationError) Cause() error
- func (e RequestMatchInputValidationError) Error() string
- func (e RequestMatchInputValidationError) ErrorName() string
- func (e RequestMatchInputValidationError) Field() string
- func (e RequestMatchInputValidationError) Key() bool
- func (e RequestMatchInputValidationError) Reason() string
- type RequestMatcher
- func (*RequestMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *RequestMatcher) GetHost() *v3.StringMatcher
- func (x *RequestMatcher) GetMethod() *v3.StringMatcher
- func (x *RequestMatcher) GetPath() *v3.StringMatcher
- func (x *RequestMatcher) GetProperties() []*KeyValueMatchEntry
- func (*RequestMatcher) ProtoMessage()
- func (x *RequestMatcher) ProtoReflect() protoreflect.Message
- func (x *RequestMatcher) Reset()
- func (x *RequestMatcher) String() string
- func (m *RequestMatcher) Validate() error
- func (m *RequestMatcher) ValidateAll() error
- type RequestMatcherMultiError
- type RequestMatcherValidationError
- func (e RequestMatcherValidationError) Cause() error
- func (e RequestMatcherValidationError) Error() string
- func (e RequestMatcherValidationError) ErrorName() string
- func (e RequestMatcherValidationError) Field() string
- func (e RequestMatcherValidationError) Key() bool
- func (e RequestMatcherValidationError) Reason() string
- type ServiceMatchInput
- func (*ServiceMatchInput) Descriptor() ([]byte, []int)deprecated
- func (*ServiceMatchInput) ProtoMessage()
- func (x *ServiceMatchInput) ProtoReflect() protoreflect.Message
- func (x *ServiceMatchInput) Reset()
- func (x *ServiceMatchInput) String() string
- func (m *ServiceMatchInput) Validate() error
- func (m *ServiceMatchInput) ValidateAll() error
- type ServiceMatchInputMultiError
- type ServiceMatchInputValidationError
- func (e ServiceMatchInputValidationError) Cause() error
- func (e ServiceMatchInputValidationError) Error() string
- func (e ServiceMatchInputValidationError) ErrorName() string
- func (e ServiceMatchInputValidationError) Field() string
- func (e ServiceMatchInputValidationError) Key() bool
- func (e ServiceMatchInputValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_contrib_envoy_extensions_filters_network_generic_proxy_matcher_v3_matcher_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HostMatchInput ¶
type HostMatchInput struct {
// contains filtered or unexported fields
}
Used to match request host of the generic downstream request. Only applicable if a host provided by the application protocol. This is same with the ServiceMatchInput and this should be preferred over ServiceMatchInput.
func (*HostMatchInput) Descriptor
deprecated
func (*HostMatchInput) Descriptor() ([]byte, []int)
Deprecated: Use HostMatchInput.ProtoReflect.Descriptor instead.
func (*HostMatchInput) ProtoMessage ¶
func (*HostMatchInput) ProtoMessage()
func (*HostMatchInput) ProtoReflect ¶
func (x *HostMatchInput) ProtoReflect() protoreflect.Message
func (*HostMatchInput) Reset ¶
func (x *HostMatchInput) Reset()
func (*HostMatchInput) String ¶
func (x *HostMatchInput) String() string
func (*HostMatchInput) Validate ¶
func (m *HostMatchInput) Validate() error
Validate checks the field values on HostMatchInput 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 (*HostMatchInput) ValidateAll ¶
func (m *HostMatchInput) ValidateAll() error
ValidateAll checks the field values on HostMatchInput 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 HostMatchInputMultiError, or nil if none found.
type HostMatchInputMultiError ¶
type HostMatchInputMultiError []error
HostMatchInputMultiError is an error wrapping multiple validation errors returned by HostMatchInput.ValidateAll() if the designated constraints aren't met.
func (HostMatchInputMultiError) AllErrors ¶
func (m HostMatchInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HostMatchInputMultiError) Error ¶
func (m HostMatchInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HostMatchInputValidationError ¶
type HostMatchInputValidationError struct {
// contains filtered or unexported fields
}
HostMatchInputValidationError is the validation error returned by HostMatchInput.Validate if the designated constraints aren't met.
func (HostMatchInputValidationError) Cause ¶
func (e HostMatchInputValidationError) Cause() error
Cause function returns cause value.
func (HostMatchInputValidationError) Error ¶
func (e HostMatchInputValidationError) Error() string
Error satisfies the builtin error interface
func (HostMatchInputValidationError) ErrorName ¶
func (e HostMatchInputValidationError) ErrorName() string
ErrorName returns error name.
func (HostMatchInputValidationError) Field ¶
func (e HostMatchInputValidationError) Field() string
Field function returns field value.
func (HostMatchInputValidationError) Key ¶
func (e HostMatchInputValidationError) Key() bool
Key function returns key value.
func (HostMatchInputValidationError) Reason ¶
func (e HostMatchInputValidationError) Reason() string
Reason function returns reason value.
type KeyValueMatchEntry ¶
type KeyValueMatchEntry struct { // The key name to match on. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The key value pattern. StringMatch *v3.StringMatcher `protobuf:"bytes,2,opt,name=string_match,json=stringMatch,proto3" json:"string_match,omitempty"` // contains filtered or unexported fields }
Used to match an arbitrary key-value pair for headers, trailers or properties.
func (*KeyValueMatchEntry) Descriptor
deprecated
func (*KeyValueMatchEntry) Descriptor() ([]byte, []int)
Deprecated: Use KeyValueMatchEntry.ProtoReflect.Descriptor instead.
func (*KeyValueMatchEntry) GetName ¶
func (x *KeyValueMatchEntry) GetName() string
func (*KeyValueMatchEntry) GetStringMatch ¶
func (x *KeyValueMatchEntry) GetStringMatch() *v3.StringMatcher
func (*KeyValueMatchEntry) ProtoMessage ¶
func (*KeyValueMatchEntry) ProtoMessage()
func (*KeyValueMatchEntry) ProtoReflect ¶
func (x *KeyValueMatchEntry) ProtoReflect() protoreflect.Message
func (*KeyValueMatchEntry) Reset ¶
func (x *KeyValueMatchEntry) Reset()
func (*KeyValueMatchEntry) String ¶
func (x *KeyValueMatchEntry) String() string
func (*KeyValueMatchEntry) Validate ¶
func (m *KeyValueMatchEntry) Validate() error
Validate checks the field values on KeyValueMatchEntry 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 (*KeyValueMatchEntry) ValidateAll ¶
func (m *KeyValueMatchEntry) ValidateAll() error
ValidateAll checks the field values on KeyValueMatchEntry 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 KeyValueMatchEntryMultiError, or nil if none found.
type KeyValueMatchEntryMultiError ¶
type KeyValueMatchEntryMultiError []error
KeyValueMatchEntryMultiError is an error wrapping multiple validation errors returned by KeyValueMatchEntry.ValidateAll() if the designated constraints aren't met.
func (KeyValueMatchEntryMultiError) AllErrors ¶
func (m KeyValueMatchEntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KeyValueMatchEntryMultiError) Error ¶
func (m KeyValueMatchEntryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KeyValueMatchEntryValidationError ¶
type KeyValueMatchEntryValidationError struct {
// contains filtered or unexported fields
}
KeyValueMatchEntryValidationError is the validation error returned by KeyValueMatchEntry.Validate if the designated constraints aren't met.
func (KeyValueMatchEntryValidationError) Cause ¶
func (e KeyValueMatchEntryValidationError) Cause() error
Cause function returns cause value.
func (KeyValueMatchEntryValidationError) Error ¶
func (e KeyValueMatchEntryValidationError) Error() string
Error satisfies the builtin error interface
func (KeyValueMatchEntryValidationError) ErrorName ¶
func (e KeyValueMatchEntryValidationError) ErrorName() string
ErrorName returns error name.
func (KeyValueMatchEntryValidationError) Field ¶
func (e KeyValueMatchEntryValidationError) Field() string
Field function returns field value.
func (KeyValueMatchEntryValidationError) Key ¶
func (e KeyValueMatchEntryValidationError) Key() bool
Key function returns key value.
func (KeyValueMatchEntryValidationError) Reason ¶
func (e KeyValueMatchEntryValidationError) Reason() string
Reason function returns reason value.
type MethodMatchInput ¶
type MethodMatchInput struct {
// contains filtered or unexported fields
}
Used to match request method of the generic downstream request. Only applicable if a method provided by the application protocol.
func (*MethodMatchInput) Descriptor
deprecated
func (*MethodMatchInput) Descriptor() ([]byte, []int)
Deprecated: Use MethodMatchInput.ProtoReflect.Descriptor instead.
func (*MethodMatchInput) ProtoMessage ¶
func (*MethodMatchInput) ProtoMessage()
func (*MethodMatchInput) ProtoReflect ¶
func (x *MethodMatchInput) ProtoReflect() protoreflect.Message
func (*MethodMatchInput) Reset ¶
func (x *MethodMatchInput) Reset()
func (*MethodMatchInput) String ¶
func (x *MethodMatchInput) String() string
func (*MethodMatchInput) Validate ¶
func (m *MethodMatchInput) Validate() error
Validate checks the field values on MethodMatchInput 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 (*MethodMatchInput) ValidateAll ¶
func (m *MethodMatchInput) ValidateAll() error
ValidateAll checks the field values on MethodMatchInput 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 MethodMatchInputMultiError, or nil if none found.
type MethodMatchInputMultiError ¶
type MethodMatchInputMultiError []error
MethodMatchInputMultiError is an error wrapping multiple validation errors returned by MethodMatchInput.ValidateAll() if the designated constraints aren't met.
func (MethodMatchInputMultiError) AllErrors ¶
func (m MethodMatchInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MethodMatchInputMultiError) Error ¶
func (m MethodMatchInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MethodMatchInputValidationError ¶
type MethodMatchInputValidationError struct {
// contains filtered or unexported fields
}
MethodMatchInputValidationError is the validation error returned by MethodMatchInput.Validate if the designated constraints aren't met.
func (MethodMatchInputValidationError) Cause ¶
func (e MethodMatchInputValidationError) Cause() error
Cause function returns cause value.
func (MethodMatchInputValidationError) Error ¶
func (e MethodMatchInputValidationError) Error() string
Error satisfies the builtin error interface
func (MethodMatchInputValidationError) ErrorName ¶
func (e MethodMatchInputValidationError) ErrorName() string
ErrorName returns error name.
func (MethodMatchInputValidationError) Field ¶
func (e MethodMatchInputValidationError) Field() string
Field function returns field value.
func (MethodMatchInputValidationError) Key ¶
func (e MethodMatchInputValidationError) Key() bool
Key function returns key value.
func (MethodMatchInputValidationError) Reason ¶
func (e MethodMatchInputValidationError) Reason() string
Reason function returns reason value.
type PathMatchInput ¶
type PathMatchInput struct {
// contains filtered or unexported fields
}
Used to match request path of the generic downstream request. Only applicable if a path provided by the application protocol.
func (*PathMatchInput) Descriptor
deprecated
func (*PathMatchInput) Descriptor() ([]byte, []int)
Deprecated: Use PathMatchInput.ProtoReflect.Descriptor instead.
func (*PathMatchInput) ProtoMessage ¶
func (*PathMatchInput) ProtoMessage()
func (*PathMatchInput) ProtoReflect ¶
func (x *PathMatchInput) ProtoReflect() protoreflect.Message
func (*PathMatchInput) Reset ¶
func (x *PathMatchInput) Reset()
func (*PathMatchInput) String ¶
func (x *PathMatchInput) String() string
func (*PathMatchInput) Validate ¶
func (m *PathMatchInput) Validate() error
Validate checks the field values on PathMatchInput 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 (*PathMatchInput) ValidateAll ¶
func (m *PathMatchInput) ValidateAll() error
ValidateAll checks the field values on PathMatchInput 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 PathMatchInputMultiError, or nil if none found.
type PathMatchInputMultiError ¶
type PathMatchInputMultiError []error
PathMatchInputMultiError is an error wrapping multiple validation errors returned by PathMatchInput.ValidateAll() if the designated constraints aren't met.
func (PathMatchInputMultiError) AllErrors ¶
func (m PathMatchInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PathMatchInputMultiError) Error ¶
func (m PathMatchInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PathMatchInputValidationError ¶
type PathMatchInputValidationError struct {
// contains filtered or unexported fields
}
PathMatchInputValidationError is the validation error returned by PathMatchInput.Validate if the designated constraints aren't met.
func (PathMatchInputValidationError) Cause ¶
func (e PathMatchInputValidationError) Cause() error
Cause function returns cause value.
func (PathMatchInputValidationError) Error ¶
func (e PathMatchInputValidationError) Error() string
Error satisfies the builtin error interface
func (PathMatchInputValidationError) ErrorName ¶
func (e PathMatchInputValidationError) ErrorName() string
ErrorName returns error name.
func (PathMatchInputValidationError) Field ¶
func (e PathMatchInputValidationError) Field() string
Field function returns field value.
func (PathMatchInputValidationError) Key ¶
func (e PathMatchInputValidationError) Key() bool
Key function returns key value.
func (PathMatchInputValidationError) Reason ¶
func (e PathMatchInputValidationError) Reason() string
Reason function returns reason value.
type PropertyMatchInput ¶
type PropertyMatchInput struct { // The property name to match on. PropertyName string `protobuf:"bytes,1,opt,name=property_name,json=propertyName,proto3" json:"property_name,omitempty"` // contains filtered or unexported fields }
Used to match an arbitrary property of the generic downstream request. These properties are populated by the codecs of application protocols.
func (*PropertyMatchInput) Descriptor
deprecated
func (*PropertyMatchInput) Descriptor() ([]byte, []int)
Deprecated: Use PropertyMatchInput.ProtoReflect.Descriptor instead.
func (*PropertyMatchInput) GetPropertyName ¶
func (x *PropertyMatchInput) GetPropertyName() string
func (*PropertyMatchInput) ProtoMessage ¶
func (*PropertyMatchInput) ProtoMessage()
func (*PropertyMatchInput) ProtoReflect ¶
func (x *PropertyMatchInput) ProtoReflect() protoreflect.Message
func (*PropertyMatchInput) Reset ¶
func (x *PropertyMatchInput) Reset()
func (*PropertyMatchInput) String ¶
func (x *PropertyMatchInput) String() string
func (*PropertyMatchInput) Validate ¶
func (m *PropertyMatchInput) Validate() error
Validate checks the field values on PropertyMatchInput 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 (*PropertyMatchInput) ValidateAll ¶
func (m *PropertyMatchInput) ValidateAll() error
ValidateAll checks the field values on PropertyMatchInput 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 PropertyMatchInputMultiError, or nil if none found.
type PropertyMatchInputMultiError ¶
type PropertyMatchInputMultiError []error
PropertyMatchInputMultiError is an error wrapping multiple validation errors returned by PropertyMatchInput.ValidateAll() if the designated constraints aren't met.
func (PropertyMatchInputMultiError) AllErrors ¶
func (m PropertyMatchInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PropertyMatchInputMultiError) Error ¶
func (m PropertyMatchInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PropertyMatchInputValidationError ¶
type PropertyMatchInputValidationError struct {
// contains filtered or unexported fields
}
PropertyMatchInputValidationError is the validation error returned by PropertyMatchInput.Validate if the designated constraints aren't met.
func (PropertyMatchInputValidationError) Cause ¶
func (e PropertyMatchInputValidationError) Cause() error
Cause function returns cause value.
func (PropertyMatchInputValidationError) Error ¶
func (e PropertyMatchInputValidationError) Error() string
Error satisfies the builtin error interface
func (PropertyMatchInputValidationError) ErrorName ¶
func (e PropertyMatchInputValidationError) ErrorName() string
ErrorName returns error name.
func (PropertyMatchInputValidationError) Field ¶
func (e PropertyMatchInputValidationError) Field() string
Field function returns field value.
func (PropertyMatchInputValidationError) Key ¶
func (e PropertyMatchInputValidationError) Key() bool
Key function returns key value.
func (PropertyMatchInputValidationError) Reason ¶
func (e PropertyMatchInputValidationError) Reason() string
Reason function returns reason value.
type RequestMatchInput ¶
type RequestMatchInput struct {
// contains filtered or unexported fields
}
Used to match an whole generic downstream request.
func (*RequestMatchInput) Descriptor
deprecated
func (*RequestMatchInput) Descriptor() ([]byte, []int)
Deprecated: Use RequestMatchInput.ProtoReflect.Descriptor instead.
func (*RequestMatchInput) ProtoMessage ¶
func (*RequestMatchInput) ProtoMessage()
func (*RequestMatchInput) ProtoReflect ¶
func (x *RequestMatchInput) ProtoReflect() protoreflect.Message
func (*RequestMatchInput) Reset ¶
func (x *RequestMatchInput) Reset()
func (*RequestMatchInput) String ¶
func (x *RequestMatchInput) String() string
func (*RequestMatchInput) Validate ¶
func (m *RequestMatchInput) Validate() error
Validate checks the field values on RequestMatchInput 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 (*RequestMatchInput) ValidateAll ¶
func (m *RequestMatchInput) ValidateAll() error
ValidateAll checks the field values on RequestMatchInput 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 RequestMatchInputMultiError, or nil if none found.
type RequestMatchInputMultiError ¶
type RequestMatchInputMultiError []error
RequestMatchInputMultiError is an error wrapping multiple validation errors returned by RequestMatchInput.ValidateAll() if the designated constraints aren't met.
func (RequestMatchInputMultiError) AllErrors ¶
func (m RequestMatchInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RequestMatchInputMultiError) Error ¶
func (m RequestMatchInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RequestMatchInputValidationError ¶
type RequestMatchInputValidationError struct {
// contains filtered or unexported fields
}
RequestMatchInputValidationError is the validation error returned by RequestMatchInput.Validate if the designated constraints aren't met.
func (RequestMatchInputValidationError) Cause ¶
func (e RequestMatchInputValidationError) Cause() error
Cause function returns cause value.
func (RequestMatchInputValidationError) Error ¶
func (e RequestMatchInputValidationError) Error() string
Error satisfies the builtin error interface
func (RequestMatchInputValidationError) ErrorName ¶
func (e RequestMatchInputValidationError) ErrorName() string
ErrorName returns error name.
func (RequestMatchInputValidationError) Field ¶
func (e RequestMatchInputValidationError) Field() string
Field function returns field value.
func (RequestMatchInputValidationError) Key ¶
func (e RequestMatchInputValidationError) Key() bool
Key function returns key value.
func (RequestMatchInputValidationError) Reason ¶
func (e RequestMatchInputValidationError) Reason() string
Reason function returns reason value.
type RequestMatcher ¶
type RequestMatcher struct { // Optional host pattern to match on. If not specified, any host will match. Host *v3.StringMatcher `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // Optional path pattern to match on. If not specified, any path will match. Path *v3.StringMatcher `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // Optional method pattern to match on. If not specified, any method will match. Method *v3.StringMatcher `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` // Optional arbitrary properties to match on. If not specified, any properties // will match. The key is the property name and the value is the property value // to match on. Properties []*KeyValueMatchEntry `protobuf:"bytes,4,rep,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
Custom matcher to match on the generic downstream request. This is used to match multiple fields of the downstream request and avoid complex combinations of HostMatchInput, PathMatchInput, MethodMatchInput and PropertyMatchInput.
func (*RequestMatcher) Descriptor
deprecated
func (*RequestMatcher) Descriptor() ([]byte, []int)
Deprecated: Use RequestMatcher.ProtoReflect.Descriptor instead.
func (*RequestMatcher) GetHost ¶
func (x *RequestMatcher) GetHost() *v3.StringMatcher
func (*RequestMatcher) GetMethod ¶
func (x *RequestMatcher) GetMethod() *v3.StringMatcher
func (*RequestMatcher) GetPath ¶
func (x *RequestMatcher) GetPath() *v3.StringMatcher
func (*RequestMatcher) GetProperties ¶
func (x *RequestMatcher) GetProperties() []*KeyValueMatchEntry
func (*RequestMatcher) ProtoMessage ¶
func (*RequestMatcher) ProtoMessage()
func (*RequestMatcher) ProtoReflect ¶
func (x *RequestMatcher) ProtoReflect() protoreflect.Message
func (*RequestMatcher) Reset ¶
func (x *RequestMatcher) Reset()
func (*RequestMatcher) String ¶
func (x *RequestMatcher) String() string
func (*RequestMatcher) Validate ¶
func (m *RequestMatcher) Validate() error
Validate checks the field values on RequestMatcher 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 (*RequestMatcher) ValidateAll ¶
func (m *RequestMatcher) ValidateAll() error
ValidateAll checks the field values on RequestMatcher 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 RequestMatcherMultiError, or nil if none found.
type RequestMatcherMultiError ¶
type RequestMatcherMultiError []error
RequestMatcherMultiError is an error wrapping multiple validation errors returned by RequestMatcher.ValidateAll() if the designated constraints aren't met.
func (RequestMatcherMultiError) AllErrors ¶
func (m RequestMatcherMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RequestMatcherMultiError) Error ¶
func (m RequestMatcherMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RequestMatcherValidationError ¶
type RequestMatcherValidationError struct {
// contains filtered or unexported fields
}
RequestMatcherValidationError is the validation error returned by RequestMatcher.Validate if the designated constraints aren't met.
func (RequestMatcherValidationError) Cause ¶
func (e RequestMatcherValidationError) Cause() error
Cause function returns cause value.
func (RequestMatcherValidationError) Error ¶
func (e RequestMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (RequestMatcherValidationError) ErrorName ¶
func (e RequestMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (RequestMatcherValidationError) Field ¶
func (e RequestMatcherValidationError) Field() string
Field function returns field value.
func (RequestMatcherValidationError) Key ¶
func (e RequestMatcherValidationError) Key() bool
Key function returns key value.
func (RequestMatcherValidationError) Reason ¶
func (e RequestMatcherValidationError) Reason() string
Reason function returns reason value.
type ServiceMatchInput ¶
type ServiceMatchInput struct {
// contains filtered or unexported fields
}
Used to match request service of the downstream request. Only applicable if a service provided by the application protocol. This is deprecated and should be replaced by HostMatchInput. This is kept for backward compatibility.
func (*ServiceMatchInput) Descriptor
deprecated
func (*ServiceMatchInput) Descriptor() ([]byte, []int)
Deprecated: Use ServiceMatchInput.ProtoReflect.Descriptor instead.
func (*ServiceMatchInput) ProtoMessage ¶
func (*ServiceMatchInput) ProtoMessage()
func (*ServiceMatchInput) ProtoReflect ¶
func (x *ServiceMatchInput) ProtoReflect() protoreflect.Message
func (*ServiceMatchInput) Reset ¶
func (x *ServiceMatchInput) Reset()
func (*ServiceMatchInput) String ¶
func (x *ServiceMatchInput) String() string
func (*ServiceMatchInput) Validate ¶
func (m *ServiceMatchInput) Validate() error
Validate checks the field values on ServiceMatchInput 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 (*ServiceMatchInput) ValidateAll ¶
func (m *ServiceMatchInput) ValidateAll() error
ValidateAll checks the field values on ServiceMatchInput 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 ServiceMatchInputMultiError, or nil if none found.
type ServiceMatchInputMultiError ¶
type ServiceMatchInputMultiError []error
ServiceMatchInputMultiError is an error wrapping multiple validation errors returned by ServiceMatchInput.ValidateAll() if the designated constraints aren't met.
func (ServiceMatchInputMultiError) AllErrors ¶
func (m ServiceMatchInputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceMatchInputMultiError) Error ¶
func (m ServiceMatchInputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceMatchInputValidationError ¶
type ServiceMatchInputValidationError struct {
// contains filtered or unexported fields
}
ServiceMatchInputValidationError is the validation error returned by ServiceMatchInput.Validate if the designated constraints aren't met.
func (ServiceMatchInputValidationError) Cause ¶
func (e ServiceMatchInputValidationError) Cause() error
Cause function returns cause value.
func (ServiceMatchInputValidationError) Error ¶
func (e ServiceMatchInputValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceMatchInputValidationError) ErrorName ¶
func (e ServiceMatchInputValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceMatchInputValidationError) Field ¶
func (e ServiceMatchInputValidationError) Field() string
Field function returns field value.
func (ServiceMatchInputValidationError) Key ¶
func (e ServiceMatchInputValidationError) Key() bool
Key function returns key value.
func (ServiceMatchInputValidationError) Reason ¶
func (e ServiceMatchInputValidationError) Reason() string
Reason function returns reason value.