Documentation ¶
Index ¶
- Variables
- type HttpInspector
- func (*HttpInspector) Descriptor() ([]byte, []int)deprecated
- func (*HttpInspector) ProtoMessage()
- func (x *HttpInspector) ProtoReflect() protoreflect.Message
- func (x *HttpInspector) Reset()
- func (x *HttpInspector) String() string
- func (m *HttpInspector) Validate() error
- func (m *HttpInspector) ValidateAll() error
- type HttpInspectorMultiError
- type HttpInspectorValidationError
- func (e HttpInspectorValidationError) Cause() error
- func (e HttpInspectorValidationError) Error() string
- func (e HttpInspectorValidationError) ErrorName() string
- func (e HttpInspectorValidationError) Field() string
- func (e HttpInspectorValidationError) Key() bool
- func (e HttpInspectorValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_config_filter_listener_http_inspector_v2_http_inspector_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HttpInspector ¶
type HttpInspector struct {
// contains filtered or unexported fields
}
func (*HttpInspector) Descriptor
deprecated
func (*HttpInspector) Descriptor() ([]byte, []int)
Deprecated: Use HttpInspector.ProtoReflect.Descriptor instead.
func (*HttpInspector) ProtoMessage ¶
func (*HttpInspector) ProtoMessage()
func (*HttpInspector) ProtoReflect ¶ added in v0.9.6
func (x *HttpInspector) ProtoReflect() protoreflect.Message
func (*HttpInspector) Reset ¶
func (x *HttpInspector) Reset()
func (*HttpInspector) String ¶
func (x *HttpInspector) String() string
func (*HttpInspector) Validate ¶
func (m *HttpInspector) Validate() error
Validate checks the field values on HttpInspector 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 (*HttpInspector) ValidateAll ¶ added in v0.10.0
func (m *HttpInspector) ValidateAll() error
ValidateAll checks the field values on HttpInspector 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 HttpInspectorMultiError, or nil if none found.
type HttpInspectorMultiError ¶ added in v0.10.0
type HttpInspectorMultiError []error
HttpInspectorMultiError is an error wrapping multiple validation errors returned by HttpInspector.ValidateAll() if the designated constraints aren't met.
func (HttpInspectorMultiError) AllErrors ¶ added in v0.10.0
func (m HttpInspectorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HttpInspectorMultiError) Error ¶ added in v0.10.0
func (m HttpInspectorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HttpInspectorValidationError ¶
type HttpInspectorValidationError struct {
// contains filtered or unexported fields
}
HttpInspectorValidationError is the validation error returned by HttpInspector.Validate if the designated constraints aren't met.
func (HttpInspectorValidationError) Cause ¶
func (e HttpInspectorValidationError) Cause() error
Cause function returns cause value.
func (HttpInspectorValidationError) Error ¶
func (e HttpInspectorValidationError) Error() string
Error satisfies the builtin error interface
func (HttpInspectorValidationError) ErrorName ¶
func (e HttpInspectorValidationError) ErrorName() string
ErrorName returns error name.
func (HttpInspectorValidationError) Field ¶
func (e HttpInspectorValidationError) Field() string
Field function returns field value.
func (HttpInspectorValidationError) Key ¶
func (e HttpInspectorValidationError) Key() bool
Key function returns key value.
func (HttpInspectorValidationError) Reason ¶
func (e HttpInspectorValidationError) Reason() string
Reason function returns reason value.