Documentation ¶
Index ¶
- Variables
- type Tap
- func (*Tap) Descriptor() ([]byte, []int)deprecated
- func (x *Tap) GetCommonConfig() *v3.CommonExtensionConfig
- func (x *Tap) GetRecordDownstreamConnection() bool
- func (x *Tap) GetRecordHeadersReceivedTime() bool
- func (*Tap) ProtoMessage()
- func (x *Tap) ProtoReflect() protoreflect.Message
- func (x *Tap) Reset()
- func (x *Tap) String() string
- func (m *Tap) Validate() error
- func (m *Tap) ValidateAll() error
- type TapMultiError
- type TapValidationError
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_filters_http_tap_v3_tap_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Tap ¶
type Tap struct { // Common configuration for the HTTP tap filter. CommonConfig *v3.CommonExtensionConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"` // Indicates whether HTTP tap filter records the time stamp for request/response headers. // Request headers time stamp is stored after receiving request headers. // Response headers time stamp is stored after receiving response headers. RecordHeadersReceivedTime bool `` /* 141-byte string literal not displayed */ // Indicates whether report downstream connection info RecordDownstreamConnection bool `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
Top level configuration for the tap filter.
func (*Tap) Descriptor
deprecated
func (*Tap) GetCommonConfig ¶
func (x *Tap) GetCommonConfig() *v3.CommonExtensionConfig
func (*Tap) GetRecordDownstreamConnection ¶
func (*Tap) GetRecordHeadersReceivedTime ¶
func (*Tap) ProtoMessage ¶
func (*Tap) ProtoMessage()
func (*Tap) ProtoReflect ¶
func (x *Tap) ProtoReflect() protoreflect.Message
func (*Tap) Validate ¶
Validate checks the field values on Tap 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 (*Tap) ValidateAll ¶
ValidateAll checks the field values on Tap 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 TapMultiError, or nil if none found.
type TapMultiError ¶
type TapMultiError []error
TapMultiError is an error wrapping multiple validation errors returned by Tap.ValidateAll() if the designated constraints aren't met.
func (TapMultiError) AllErrors ¶
func (m TapMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TapMultiError) Error ¶
func (m TapMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TapValidationError ¶
type TapValidationError struct {
// contains filtered or unexported fields
}
TapValidationError is the validation error returned by Tap.Validate if the designated constraints aren't met.
func (TapValidationError) Cause ¶
func (e TapValidationError) Cause() error
Cause function returns cause value.
func (TapValidationError) Error ¶
func (e TapValidationError) Error() string
Error satisfies the builtin error interface
func (TapValidationError) ErrorName ¶
func (e TapValidationError) ErrorName() string
ErrorName returns error name.
func (TapValidationError) Field ¶
func (e TapValidationError) Field() string
Field function returns field value.
func (TapValidationError) Key ¶
func (e TapValidationError) Key() bool
Key function returns key value.
func (TapValidationError) Reason ¶
func (e TapValidationError) Reason() string
Reason function returns reason value.