Documentation ¶
Index ¶
- Variables
- type Body
- func (*Body) Descriptor() ([]byte, []int)deprecated
- func (x *Body) GetAsBytes() []byte
- func (x *Body) GetAsString() string
- func (m *Body) GetBodyType() isBody_BodyType
- func (x *Body) GetTruncated() bool
- func (*Body) ProtoMessage()
- func (x *Body) ProtoReflect() protoreflect.Message
- func (x *Body) Reset()
- func (x *Body) String() string
- func (m *Body) Validate() error
- func (m *Body) ValidateAll() error
- type BodyMultiError
- type BodyValidationError
- type Body_AsBytes
- type Body_AsString
- type Connection
- func (*Connection) Descriptor() ([]byte, []int)deprecated
- func (x *Connection) GetLocalAddress() *core.Address
- func (x *Connection) GetRemoteAddress() *core.Address
- func (*Connection) ProtoMessage()
- func (x *Connection) ProtoReflect() protoreflect.Message
- func (x *Connection) Reset()
- func (x *Connection) String() string
- func (m *Connection) Validate() error
- func (m *Connection) ValidateAll() error
- type ConnectionMultiError
- type ConnectionValidationError
- type HttpBufferedTrace
- func (*HttpBufferedTrace) Descriptor() ([]byte, []int)deprecated
- func (x *HttpBufferedTrace) GetRequest() *HttpBufferedTrace_Message
- func (x *HttpBufferedTrace) GetResponse() *HttpBufferedTrace_Message
- func (*HttpBufferedTrace) ProtoMessage()
- func (x *HttpBufferedTrace) ProtoReflect() protoreflect.Message
- func (x *HttpBufferedTrace) Reset()
- func (x *HttpBufferedTrace) String() string
- func (m *HttpBufferedTrace) Validate() error
- func (m *HttpBufferedTrace) ValidateAll() error
- type HttpBufferedTraceMultiError
- type HttpBufferedTraceValidationError
- func (e HttpBufferedTraceValidationError) Cause() error
- func (e HttpBufferedTraceValidationError) Error() string
- func (e HttpBufferedTraceValidationError) ErrorName() string
- func (e HttpBufferedTraceValidationError) Field() string
- func (e HttpBufferedTraceValidationError) Key() bool
- func (e HttpBufferedTraceValidationError) Reason() string
- type HttpBufferedTrace_Message
- func (*HttpBufferedTrace_Message) Descriptor() ([]byte, []int)deprecated
- func (x *HttpBufferedTrace_Message) GetBody() *Body
- func (x *HttpBufferedTrace_Message) GetHeaders() []*core.HeaderValue
- func (x *HttpBufferedTrace_Message) GetTrailers() []*core.HeaderValue
- func (*HttpBufferedTrace_Message) ProtoMessage()
- func (x *HttpBufferedTrace_Message) ProtoReflect() protoreflect.Message
- func (x *HttpBufferedTrace_Message) Reset()
- func (x *HttpBufferedTrace_Message) String() string
- func (m *HttpBufferedTrace_Message) Validate() error
- func (m *HttpBufferedTrace_Message) ValidateAll() error
- type HttpBufferedTrace_MessageMultiError
- type HttpBufferedTrace_MessageValidationError
- func (e HttpBufferedTrace_MessageValidationError) Cause() error
- func (e HttpBufferedTrace_MessageValidationError) Error() string
- func (e HttpBufferedTrace_MessageValidationError) ErrorName() string
- func (e HttpBufferedTrace_MessageValidationError) Field() string
- func (e HttpBufferedTrace_MessageValidationError) Key() bool
- func (e HttpBufferedTrace_MessageValidationError) Reason() string
- type HttpStreamedTraceSegment
- func (*HttpStreamedTraceSegment) Descriptor() ([]byte, []int)deprecated
- func (m *HttpStreamedTraceSegment) GetMessagePiece() isHttpStreamedTraceSegment_MessagePiece
- func (x *HttpStreamedTraceSegment) GetRequestBodyChunk() *Body
- func (x *HttpStreamedTraceSegment) GetRequestHeaders() *core.HeaderMap
- func (x *HttpStreamedTraceSegment) GetRequestTrailers() *core.HeaderMap
- func (x *HttpStreamedTraceSegment) GetResponseBodyChunk() *Body
- func (x *HttpStreamedTraceSegment) GetResponseHeaders() *core.HeaderMap
- func (x *HttpStreamedTraceSegment) GetResponseTrailers() *core.HeaderMap
- func (x *HttpStreamedTraceSegment) GetTraceId() uint64
- func (*HttpStreamedTraceSegment) ProtoMessage()
- func (x *HttpStreamedTraceSegment) ProtoReflect() protoreflect.Message
- func (x *HttpStreamedTraceSegment) Reset()
- func (x *HttpStreamedTraceSegment) String() string
- func (m *HttpStreamedTraceSegment) Validate() error
- func (m *HttpStreamedTraceSegment) ValidateAll() error
- type HttpStreamedTraceSegmentMultiError
- type HttpStreamedTraceSegmentValidationError
- func (e HttpStreamedTraceSegmentValidationError) Cause() error
- func (e HttpStreamedTraceSegmentValidationError) Error() string
- func (e HttpStreamedTraceSegmentValidationError) ErrorName() string
- func (e HttpStreamedTraceSegmentValidationError) Field() string
- func (e HttpStreamedTraceSegmentValidationError) Key() bool
- func (e HttpStreamedTraceSegmentValidationError) Reason() string
- type HttpStreamedTraceSegment_RequestBodyChunk
- type HttpStreamedTraceSegment_RequestHeaders
- type HttpStreamedTraceSegment_RequestTrailers
- type HttpStreamedTraceSegment_ResponseBodyChunk
- type HttpStreamedTraceSegment_ResponseHeaders
- type HttpStreamedTraceSegment_ResponseTrailers
- type SocketBufferedTrace
- func (*SocketBufferedTrace) Descriptor() ([]byte, []int)deprecated
- func (x *SocketBufferedTrace) GetConnection() *Connection
- func (x *SocketBufferedTrace) GetEvents() []*SocketEvent
- func (x *SocketBufferedTrace) GetReadTruncated() bool
- func (x *SocketBufferedTrace) GetTraceId() uint64
- func (x *SocketBufferedTrace) GetWriteTruncated() bool
- func (*SocketBufferedTrace) ProtoMessage()
- func (x *SocketBufferedTrace) ProtoReflect() protoreflect.Message
- func (x *SocketBufferedTrace) Reset()
- func (x *SocketBufferedTrace) String() string
- func (m *SocketBufferedTrace) Validate() error
- func (m *SocketBufferedTrace) ValidateAll() error
- type SocketBufferedTraceMultiError
- type SocketBufferedTraceValidationError
- func (e SocketBufferedTraceValidationError) Cause() error
- func (e SocketBufferedTraceValidationError) Error() string
- func (e SocketBufferedTraceValidationError) ErrorName() string
- func (e SocketBufferedTraceValidationError) Field() string
- func (e SocketBufferedTraceValidationError) Key() bool
- func (e SocketBufferedTraceValidationError) Reason() string
- type SocketEvent
- func (*SocketEvent) Descriptor() ([]byte, []int)deprecated
- func (x *SocketEvent) GetClosed() *SocketEvent_Closed
- func (m *SocketEvent) GetEventSelector() isSocketEvent_EventSelector
- func (x *SocketEvent) GetRead() *SocketEvent_Read
- func (x *SocketEvent) GetTimestamp() *timestamppb.Timestamp
- func (x *SocketEvent) GetWrite() *SocketEvent_Write
- func (*SocketEvent) ProtoMessage()
- func (x *SocketEvent) ProtoReflect() protoreflect.Message
- func (x *SocketEvent) Reset()
- func (x *SocketEvent) String() string
- func (m *SocketEvent) Validate() error
- func (m *SocketEvent) ValidateAll() error
- type SocketEventMultiError
- type SocketEventValidationError
- func (e SocketEventValidationError) Cause() error
- func (e SocketEventValidationError) Error() string
- func (e SocketEventValidationError) ErrorName() string
- func (e SocketEventValidationError) Field() string
- func (e SocketEventValidationError) Key() bool
- func (e SocketEventValidationError) Reason() string
- type SocketEvent_Closed
- func (*SocketEvent_Closed) Descriptor() ([]byte, []int)deprecated
- func (*SocketEvent_Closed) ProtoMessage()
- func (x *SocketEvent_Closed) ProtoReflect() protoreflect.Message
- func (x *SocketEvent_Closed) Reset()
- func (x *SocketEvent_Closed) String() string
- func (m *SocketEvent_Closed) Validate() error
- func (m *SocketEvent_Closed) ValidateAll() error
- type SocketEvent_ClosedMultiError
- type SocketEvent_ClosedValidationError
- func (e SocketEvent_ClosedValidationError) Cause() error
- func (e SocketEvent_ClosedValidationError) Error() string
- func (e SocketEvent_ClosedValidationError) ErrorName() string
- func (e SocketEvent_ClosedValidationError) Field() string
- func (e SocketEvent_ClosedValidationError) Key() bool
- func (e SocketEvent_ClosedValidationError) Reason() string
- type SocketEvent_Closed_
- type SocketEvent_Read
- func (*SocketEvent_Read) Descriptor() ([]byte, []int)deprecated
- func (x *SocketEvent_Read) GetData() *Body
- func (*SocketEvent_Read) ProtoMessage()
- func (x *SocketEvent_Read) ProtoReflect() protoreflect.Message
- func (x *SocketEvent_Read) Reset()
- func (x *SocketEvent_Read) String() string
- func (m *SocketEvent_Read) Validate() error
- func (m *SocketEvent_Read) ValidateAll() error
- type SocketEvent_ReadMultiError
- type SocketEvent_ReadValidationError
- func (e SocketEvent_ReadValidationError) Cause() error
- func (e SocketEvent_ReadValidationError) Error() string
- func (e SocketEvent_ReadValidationError) ErrorName() string
- func (e SocketEvent_ReadValidationError) Field() string
- func (e SocketEvent_ReadValidationError) Key() bool
- func (e SocketEvent_ReadValidationError) Reason() string
- type SocketEvent_Read_
- type SocketEvent_Write
- func (*SocketEvent_Write) Descriptor() ([]byte, []int)deprecated
- func (x *SocketEvent_Write) GetData() *Body
- func (x *SocketEvent_Write) GetEndStream() bool
- func (*SocketEvent_Write) ProtoMessage()
- func (x *SocketEvent_Write) ProtoReflect() protoreflect.Message
- func (x *SocketEvent_Write) Reset()
- func (x *SocketEvent_Write) String() string
- func (m *SocketEvent_Write) Validate() error
- func (m *SocketEvent_Write) ValidateAll() error
- type SocketEvent_WriteMultiError
- type SocketEvent_WriteValidationError
- func (e SocketEvent_WriteValidationError) Cause() error
- func (e SocketEvent_WriteValidationError) Error() string
- func (e SocketEvent_WriteValidationError) ErrorName() string
- func (e SocketEvent_WriteValidationError) Field() string
- func (e SocketEvent_WriteValidationError) Key() bool
- func (e SocketEvent_WriteValidationError) Reason() string
- type SocketEvent_Write_
- type SocketStreamedTraceSegment
- func (*SocketStreamedTraceSegment) Descriptor() ([]byte, []int)deprecated
- func (x *SocketStreamedTraceSegment) GetConnection() *Connection
- func (x *SocketStreamedTraceSegment) GetEvent() *SocketEvent
- func (m *SocketStreamedTraceSegment) GetMessagePiece() isSocketStreamedTraceSegment_MessagePiece
- func (x *SocketStreamedTraceSegment) GetTraceId() uint64
- func (*SocketStreamedTraceSegment) ProtoMessage()
- func (x *SocketStreamedTraceSegment) ProtoReflect() protoreflect.Message
- func (x *SocketStreamedTraceSegment) Reset()
- func (x *SocketStreamedTraceSegment) String() string
- func (m *SocketStreamedTraceSegment) Validate() error
- func (m *SocketStreamedTraceSegment) ValidateAll() error
- type SocketStreamedTraceSegmentMultiError
- type SocketStreamedTraceSegmentValidationError
- func (e SocketStreamedTraceSegmentValidationError) Cause() error
- func (e SocketStreamedTraceSegmentValidationError) Error() string
- func (e SocketStreamedTraceSegmentValidationError) ErrorName() string
- func (e SocketStreamedTraceSegmentValidationError) Field() string
- func (e SocketStreamedTraceSegmentValidationError) Key() bool
- func (e SocketStreamedTraceSegmentValidationError) Reason() string
- type SocketStreamedTraceSegment_Connection
- type SocketStreamedTraceSegment_Event
- type TraceWrapper
- func (*TraceWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *TraceWrapper) GetHttpBufferedTrace() *HttpBufferedTrace
- func (x *TraceWrapper) GetHttpStreamedTraceSegment() *HttpStreamedTraceSegment
- func (x *TraceWrapper) GetSocketBufferedTrace() *SocketBufferedTrace
- func (x *TraceWrapper) GetSocketStreamedTraceSegment() *SocketStreamedTraceSegment
- func (m *TraceWrapper) GetTrace() isTraceWrapper_Trace
- func (*TraceWrapper) ProtoMessage()
- func (x *TraceWrapper) ProtoReflect() protoreflect.Message
- func (x *TraceWrapper) Reset()
- func (x *TraceWrapper) String() string
- func (m *TraceWrapper) Validate() error
- func (m *TraceWrapper) ValidateAll() error
- type TraceWrapperMultiError
- type TraceWrapperValidationError
- func (e TraceWrapperValidationError) Cause() error
- func (e TraceWrapperValidationError) Error() string
- func (e TraceWrapperValidationError) ErrorName() string
- func (e TraceWrapperValidationError) Field() string
- func (e TraceWrapperValidationError) Key() bool
- func (e TraceWrapperValidationError) Reason() string
- type TraceWrapper_HttpBufferedTrace
- type TraceWrapper_HttpStreamedTraceSegment
- type TraceWrapper_SocketBufferedTrace
- type TraceWrapper_SocketStreamedTraceSegment
Constants ¶
This section is empty.
Variables ¶
var File_envoy_data_tap_v2alpha_common_proto protoreflect.FileDescriptor
var File_envoy_data_tap_v2alpha_http_proto protoreflect.FileDescriptor
var File_envoy_data_tap_v2alpha_transport_proto protoreflect.FileDescriptor
var File_envoy_data_tap_v2alpha_wrapper_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Body ¶ added in v0.6.8
type Body struct { // Types that are assignable to BodyType: // // *Body_AsBytes // *Body_AsString BodyType isBody_BodyType `protobuf_oneof:"body_type"` // Specifies whether body data has been truncated to fit within the specified // :ref:`max_buffered_rx_bytes // <envoy_api_field_service.tap.v2alpha.OutputConfig.max_buffered_rx_bytes>` and // :ref:`max_buffered_tx_bytes // <envoy_api_field_service.tap.v2alpha.OutputConfig.max_buffered_tx_bytes>` settings. Truncated bool `protobuf:"varint,3,opt,name=truncated,proto3" json:"truncated,omitempty"` // contains filtered or unexported fields }
Wrapper for tapped body data. This includes HTTP request/response body, transport socket received and transmitted data, etc.
func (*Body) Descriptor
deprecated
added in
v0.6.8
func (*Body) GetAsBytes ¶ added in v0.6.8
func (*Body) GetAsString ¶ added in v0.6.8
func (*Body) GetBodyType ¶ added in v0.6.8
func (m *Body) GetBodyType() isBody_BodyType
func (*Body) GetTruncated ¶ added in v0.6.8
func (*Body) ProtoMessage ¶ added in v0.6.8
func (*Body) ProtoMessage()
func (*Body) ProtoReflect ¶ added in v0.9.6
func (x *Body) ProtoReflect() protoreflect.Message
func (*Body) Validate ¶ added in v0.6.8
Validate checks the field values on Body 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 (*Body) ValidateAll ¶ added in v0.10.0
ValidateAll checks the field values on Body 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 BodyMultiError, or nil if none found.
type BodyMultiError ¶ added in v0.10.0
type BodyMultiError []error
BodyMultiError is an error wrapping multiple validation errors returned by Body.ValidateAll() if the designated constraints aren't met.
func (BodyMultiError) AllErrors ¶ added in v0.10.0
func (m BodyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BodyMultiError) Error ¶ added in v0.10.0
func (m BodyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BodyValidationError ¶ added in v0.6.8
type BodyValidationError struct {
// contains filtered or unexported fields
}
BodyValidationError is the validation error returned by Body.Validate if the designated constraints aren't met.
func (BodyValidationError) Cause ¶ added in v0.6.8
func (e BodyValidationError) Cause() error
Cause function returns cause value.
func (BodyValidationError) Error ¶ added in v0.6.8
func (e BodyValidationError) Error() string
Error satisfies the builtin error interface
func (BodyValidationError) ErrorName ¶ added in v0.7.0
func (e BodyValidationError) ErrorName() string
ErrorName returns error name.
func (BodyValidationError) Field ¶ added in v0.6.8
func (e BodyValidationError) Field() string
Field function returns field value.
func (BodyValidationError) Key ¶ added in v0.6.8
func (e BodyValidationError) Key() bool
Key function returns key value.
func (BodyValidationError) Reason ¶ added in v0.6.8
func (e BodyValidationError) Reason() string
Reason function returns reason value.
type Body_AsBytes ¶ added in v0.6.8
type Body_AsBytes struct { // Body data as bytes. By default, tap body data will be present in this field, as the proto // `bytes` type can contain any valid byte. AsBytes []byte `protobuf:"bytes,1,opt,name=as_bytes,json=asBytes,proto3,oneof"` }
type Body_AsString ¶ added in v0.6.8
type Body_AsString struct { // Body data as string. This field is only used when the :ref:`JSON_BODY_AS_STRING // <envoy_api_enum_value_service.tap.v2alpha.OutputSink.Format.JSON_BODY_AS_STRING>` sink // format type is selected. See the documentation for that option for why this is useful. AsString string `protobuf:"bytes,2,opt,name=as_string,json=asString,proto3,oneof"` }
type Connection ¶
type Connection struct { // Local address. LocalAddress *core.Address `protobuf:"bytes,2,opt,name=local_address,json=localAddress,proto3" json:"local_address,omitempty"` // Remote address. RemoteAddress *core.Address `protobuf:"bytes,3,opt,name=remote_address,json=remoteAddress,proto3" json:"remote_address,omitempty"` // contains filtered or unexported fields }
Connection properties.
func (*Connection) Descriptor
deprecated
func (*Connection) Descriptor() ([]byte, []int)
Deprecated: Use Connection.ProtoReflect.Descriptor instead.
func (*Connection) GetLocalAddress ¶
func (x *Connection) GetLocalAddress() *core.Address
func (*Connection) GetRemoteAddress ¶
func (x *Connection) GetRemoteAddress() *core.Address
func (*Connection) ProtoMessage ¶
func (*Connection) ProtoMessage()
func (*Connection) ProtoReflect ¶ added in v0.9.6
func (x *Connection) ProtoReflect() protoreflect.Message
func (*Connection) Reset ¶
func (x *Connection) Reset()
func (*Connection) String ¶
func (x *Connection) String() string
func (*Connection) Validate ¶
func (m *Connection) Validate() error
Validate checks the field values on Connection 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 (*Connection) ValidateAll ¶ added in v0.10.0
func (m *Connection) ValidateAll() error
ValidateAll checks the field values on Connection 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 ConnectionMultiError, or nil if none found.
type ConnectionMultiError ¶ added in v0.10.0
type ConnectionMultiError []error
ConnectionMultiError is an error wrapping multiple validation errors returned by Connection.ValidateAll() if the designated constraints aren't met.
func (ConnectionMultiError) AllErrors ¶ added in v0.10.0
func (m ConnectionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConnectionMultiError) Error ¶ added in v0.10.0
func (m ConnectionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConnectionValidationError ¶
type ConnectionValidationError struct {
// contains filtered or unexported fields
}
ConnectionValidationError is the validation error returned by Connection.Validate if the designated constraints aren't met.
func (ConnectionValidationError) Cause ¶
func (e ConnectionValidationError) Cause() error
Cause function returns cause value.
func (ConnectionValidationError) Error ¶
func (e ConnectionValidationError) Error() string
Error satisfies the builtin error interface
func (ConnectionValidationError) ErrorName ¶ added in v0.7.0
func (e ConnectionValidationError) ErrorName() string
ErrorName returns error name.
func (ConnectionValidationError) Field ¶
func (e ConnectionValidationError) Field() string
Field function returns field value.
func (ConnectionValidationError) Key ¶
func (e ConnectionValidationError) Key() bool
Key function returns key value.
func (ConnectionValidationError) Reason ¶
func (e ConnectionValidationError) Reason() string
Reason function returns reason value.
type HttpBufferedTrace ¶ added in v0.6.8
type HttpBufferedTrace struct { // Request message. Request *HttpBufferedTrace_Message `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // Response message. Response *HttpBufferedTrace_Message `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
A fully buffered HTTP trace message.
func (*HttpBufferedTrace) Descriptor
deprecated
added in
v0.6.8
func (*HttpBufferedTrace) Descriptor() ([]byte, []int)
Deprecated: Use HttpBufferedTrace.ProtoReflect.Descriptor instead.
func (*HttpBufferedTrace) GetRequest ¶ added in v0.6.8
func (x *HttpBufferedTrace) GetRequest() *HttpBufferedTrace_Message
func (*HttpBufferedTrace) GetResponse ¶ added in v0.6.8
func (x *HttpBufferedTrace) GetResponse() *HttpBufferedTrace_Message
func (*HttpBufferedTrace) ProtoMessage ¶ added in v0.6.8
func (*HttpBufferedTrace) ProtoMessage()
func (*HttpBufferedTrace) ProtoReflect ¶ added in v0.9.6
func (x *HttpBufferedTrace) ProtoReflect() protoreflect.Message
func (*HttpBufferedTrace) Reset ¶ added in v0.6.8
func (x *HttpBufferedTrace) Reset()
func (*HttpBufferedTrace) String ¶ added in v0.6.8
func (x *HttpBufferedTrace) String() string
func (*HttpBufferedTrace) Validate ¶ added in v0.6.8
func (m *HttpBufferedTrace) Validate() error
Validate checks the field values on HttpBufferedTrace 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 (*HttpBufferedTrace) ValidateAll ¶ added in v0.10.0
func (m *HttpBufferedTrace) ValidateAll() error
ValidateAll checks the field values on HttpBufferedTrace 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 HttpBufferedTraceMultiError, or nil if none found.
type HttpBufferedTraceMultiError ¶ added in v0.10.0
type HttpBufferedTraceMultiError []error
HttpBufferedTraceMultiError is an error wrapping multiple validation errors returned by HttpBufferedTrace.ValidateAll() if the designated constraints aren't met.
func (HttpBufferedTraceMultiError) AllErrors ¶ added in v0.10.0
func (m HttpBufferedTraceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HttpBufferedTraceMultiError) Error ¶ added in v0.10.0
func (m HttpBufferedTraceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HttpBufferedTraceValidationError ¶ added in v0.6.8
type HttpBufferedTraceValidationError struct {
// contains filtered or unexported fields
}
HttpBufferedTraceValidationError is the validation error returned by HttpBufferedTrace.Validate if the designated constraints aren't met.
func (HttpBufferedTraceValidationError) Cause ¶ added in v0.6.8
func (e HttpBufferedTraceValidationError) Cause() error
Cause function returns cause value.
func (HttpBufferedTraceValidationError) Error ¶ added in v0.6.8
func (e HttpBufferedTraceValidationError) Error() string
Error satisfies the builtin error interface
func (HttpBufferedTraceValidationError) ErrorName ¶ added in v0.7.0
func (e HttpBufferedTraceValidationError) ErrorName() string
ErrorName returns error name.
func (HttpBufferedTraceValidationError) Field ¶ added in v0.6.8
func (e HttpBufferedTraceValidationError) Field() string
Field function returns field value.
func (HttpBufferedTraceValidationError) Key ¶ added in v0.6.8
func (e HttpBufferedTraceValidationError) Key() bool
Key function returns key value.
func (HttpBufferedTraceValidationError) Reason ¶ added in v0.6.8
func (e HttpBufferedTraceValidationError) Reason() string
Reason function returns reason value.
type HttpBufferedTrace_Message ¶ added in v0.6.8
type HttpBufferedTrace_Message struct { // Message headers. Headers []*core.HeaderValue `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` // Message body. Body *Body `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` // Message trailers. Trailers []*core.HeaderValue `protobuf:"bytes,3,rep,name=trailers,proto3" json:"trailers,omitempty"` // contains filtered or unexported fields }
HTTP message wrapper.
func (*HttpBufferedTrace_Message) Descriptor
deprecated
added in
v0.6.8
func (*HttpBufferedTrace_Message) Descriptor() ([]byte, []int)
Deprecated: Use HttpBufferedTrace_Message.ProtoReflect.Descriptor instead.
func (*HttpBufferedTrace_Message) GetBody ¶ added in v0.6.8
func (x *HttpBufferedTrace_Message) GetBody() *Body
func (*HttpBufferedTrace_Message) GetHeaders ¶ added in v0.6.8
func (x *HttpBufferedTrace_Message) GetHeaders() []*core.HeaderValue
func (*HttpBufferedTrace_Message) GetTrailers ¶ added in v0.6.8
func (x *HttpBufferedTrace_Message) GetTrailers() []*core.HeaderValue
func (*HttpBufferedTrace_Message) ProtoMessage ¶ added in v0.6.8
func (*HttpBufferedTrace_Message) ProtoMessage()
func (*HttpBufferedTrace_Message) ProtoReflect ¶ added in v0.9.6
func (x *HttpBufferedTrace_Message) ProtoReflect() protoreflect.Message
func (*HttpBufferedTrace_Message) Reset ¶ added in v0.6.8
func (x *HttpBufferedTrace_Message) Reset()
func (*HttpBufferedTrace_Message) String ¶ added in v0.6.8
func (x *HttpBufferedTrace_Message) String() string
func (*HttpBufferedTrace_Message) Validate ¶ added in v0.6.8
func (m *HttpBufferedTrace_Message) Validate() error
Validate checks the field values on HttpBufferedTrace_Message 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 (*HttpBufferedTrace_Message) ValidateAll ¶ added in v0.10.0
func (m *HttpBufferedTrace_Message) ValidateAll() error
ValidateAll checks the field values on HttpBufferedTrace_Message 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 HttpBufferedTrace_MessageMultiError, or nil if none found.
type HttpBufferedTrace_MessageMultiError ¶ added in v0.10.0
type HttpBufferedTrace_MessageMultiError []error
HttpBufferedTrace_MessageMultiError is an error wrapping multiple validation errors returned by HttpBufferedTrace_Message.ValidateAll() if the designated constraints aren't met.
func (HttpBufferedTrace_MessageMultiError) AllErrors ¶ added in v0.10.0
func (m HttpBufferedTrace_MessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HttpBufferedTrace_MessageMultiError) Error ¶ added in v0.10.0
func (m HttpBufferedTrace_MessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HttpBufferedTrace_MessageValidationError ¶ added in v0.6.8
type HttpBufferedTrace_MessageValidationError struct {
// contains filtered or unexported fields
}
HttpBufferedTrace_MessageValidationError is the validation error returned by HttpBufferedTrace_Message.Validate if the designated constraints aren't met.
func (HttpBufferedTrace_MessageValidationError) Cause ¶ added in v0.6.8
func (e HttpBufferedTrace_MessageValidationError) Cause() error
Cause function returns cause value.
func (HttpBufferedTrace_MessageValidationError) Error ¶ added in v0.6.8
func (e HttpBufferedTrace_MessageValidationError) Error() string
Error satisfies the builtin error interface
func (HttpBufferedTrace_MessageValidationError) ErrorName ¶ added in v0.7.0
func (e HttpBufferedTrace_MessageValidationError) ErrorName() string
ErrorName returns error name.
func (HttpBufferedTrace_MessageValidationError) Field ¶ added in v0.6.8
func (e HttpBufferedTrace_MessageValidationError) Field() string
Field function returns field value.
func (HttpBufferedTrace_MessageValidationError) Key ¶ added in v0.6.8
func (e HttpBufferedTrace_MessageValidationError) Key() bool
Key function returns key value.
func (HttpBufferedTrace_MessageValidationError) Reason ¶ added in v0.6.8
func (e HttpBufferedTrace_MessageValidationError) Reason() string
Reason function returns reason value.
type HttpStreamedTraceSegment ¶ added in v0.6.9
type HttpStreamedTraceSegment struct { // Trace ID unique to the originating Envoy only. Trace IDs can repeat and should not be used // for long term stable uniqueness. TraceId uint64 `protobuf:"varint,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` // Types that are assignable to MessagePiece: // // *HttpStreamedTraceSegment_RequestHeaders // *HttpStreamedTraceSegment_RequestBodyChunk // *HttpStreamedTraceSegment_RequestTrailers // *HttpStreamedTraceSegment_ResponseHeaders // *HttpStreamedTraceSegment_ResponseBodyChunk // *HttpStreamedTraceSegment_ResponseTrailers MessagePiece isHttpStreamedTraceSegment_MessagePiece `protobuf_oneof:"message_piece"` // contains filtered or unexported fields }
A streamed HTTP trace segment. Multiple segments make up a full trace. [#next-free-field: 8]
func (*HttpStreamedTraceSegment) Descriptor
deprecated
added in
v0.6.9
func (*HttpStreamedTraceSegment) Descriptor() ([]byte, []int)
Deprecated: Use HttpStreamedTraceSegment.ProtoReflect.Descriptor instead.
func (*HttpStreamedTraceSegment) GetMessagePiece ¶ added in v0.6.9
func (m *HttpStreamedTraceSegment) GetMessagePiece() isHttpStreamedTraceSegment_MessagePiece
func (*HttpStreamedTraceSegment) GetRequestBodyChunk ¶ added in v0.6.9
func (x *HttpStreamedTraceSegment) GetRequestBodyChunk() *Body
func (*HttpStreamedTraceSegment) GetRequestHeaders ¶ added in v0.6.9
func (x *HttpStreamedTraceSegment) GetRequestHeaders() *core.HeaderMap
func (*HttpStreamedTraceSegment) GetRequestTrailers ¶ added in v0.6.9
func (x *HttpStreamedTraceSegment) GetRequestTrailers() *core.HeaderMap
func (*HttpStreamedTraceSegment) GetResponseBodyChunk ¶ added in v0.6.9
func (x *HttpStreamedTraceSegment) GetResponseBodyChunk() *Body
func (*HttpStreamedTraceSegment) GetResponseHeaders ¶ added in v0.6.9
func (x *HttpStreamedTraceSegment) GetResponseHeaders() *core.HeaderMap
func (*HttpStreamedTraceSegment) GetResponseTrailers ¶ added in v0.6.9
func (x *HttpStreamedTraceSegment) GetResponseTrailers() *core.HeaderMap
func (*HttpStreamedTraceSegment) GetTraceId ¶ added in v0.6.9
func (x *HttpStreamedTraceSegment) GetTraceId() uint64
func (*HttpStreamedTraceSegment) ProtoMessage ¶ added in v0.6.9
func (*HttpStreamedTraceSegment) ProtoMessage()
func (*HttpStreamedTraceSegment) ProtoReflect ¶ added in v0.9.6
func (x *HttpStreamedTraceSegment) ProtoReflect() protoreflect.Message
func (*HttpStreamedTraceSegment) Reset ¶ added in v0.6.9
func (x *HttpStreamedTraceSegment) Reset()
func (*HttpStreamedTraceSegment) String ¶ added in v0.6.9
func (x *HttpStreamedTraceSegment) String() string
func (*HttpStreamedTraceSegment) Validate ¶ added in v0.6.9
func (m *HttpStreamedTraceSegment) Validate() error
Validate checks the field values on HttpStreamedTraceSegment 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 (*HttpStreamedTraceSegment) ValidateAll ¶ added in v0.10.0
func (m *HttpStreamedTraceSegment) ValidateAll() error
ValidateAll checks the field values on HttpStreamedTraceSegment 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 HttpStreamedTraceSegmentMultiError, or nil if none found.
type HttpStreamedTraceSegmentMultiError ¶ added in v0.10.0
type HttpStreamedTraceSegmentMultiError []error
HttpStreamedTraceSegmentMultiError is an error wrapping multiple validation errors returned by HttpStreamedTraceSegment.ValidateAll() if the designated constraints aren't met.
func (HttpStreamedTraceSegmentMultiError) AllErrors ¶ added in v0.10.0
func (m HttpStreamedTraceSegmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HttpStreamedTraceSegmentMultiError) Error ¶ added in v0.10.0
func (m HttpStreamedTraceSegmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HttpStreamedTraceSegmentValidationError ¶ added in v0.6.9
type HttpStreamedTraceSegmentValidationError struct {
// contains filtered or unexported fields
}
HttpStreamedTraceSegmentValidationError is the validation error returned by HttpStreamedTraceSegment.Validate if the designated constraints aren't met.
func (HttpStreamedTraceSegmentValidationError) Cause ¶ added in v0.6.9
func (e HttpStreamedTraceSegmentValidationError) Cause() error
Cause function returns cause value.
func (HttpStreamedTraceSegmentValidationError) Error ¶ added in v0.6.9
func (e HttpStreamedTraceSegmentValidationError) Error() string
Error satisfies the builtin error interface
func (HttpStreamedTraceSegmentValidationError) ErrorName ¶ added in v0.7.0
func (e HttpStreamedTraceSegmentValidationError) ErrorName() string
ErrorName returns error name.
func (HttpStreamedTraceSegmentValidationError) Field ¶ added in v0.6.9
func (e HttpStreamedTraceSegmentValidationError) Field() string
Field function returns field value.
func (HttpStreamedTraceSegmentValidationError) Key ¶ added in v0.6.9
func (e HttpStreamedTraceSegmentValidationError) Key() bool
Key function returns key value.
func (HttpStreamedTraceSegmentValidationError) Reason ¶ added in v0.6.9
func (e HttpStreamedTraceSegmentValidationError) Reason() string
Reason function returns reason value.
type HttpStreamedTraceSegment_RequestBodyChunk ¶ added in v0.6.9
type HttpStreamedTraceSegment_RequestBodyChunk struct { // Request body chunk. RequestBodyChunk *Body `protobuf:"bytes,3,opt,name=request_body_chunk,json=requestBodyChunk,proto3,oneof"` }
type HttpStreamedTraceSegment_RequestHeaders ¶ added in v0.6.9
type HttpStreamedTraceSegment_RequestTrailers ¶ added in v0.6.9
type HttpStreamedTraceSegment_ResponseBodyChunk ¶ added in v0.6.9
type HttpStreamedTraceSegment_ResponseBodyChunk struct { // Response body chunk. ResponseBodyChunk *Body `protobuf:"bytes,6,opt,name=response_body_chunk,json=responseBodyChunk,proto3,oneof"` }
type HttpStreamedTraceSegment_ResponseHeaders ¶ added in v0.6.9
type HttpStreamedTraceSegment_ResponseTrailers ¶ added in v0.6.9
type SocketBufferedTrace ¶ added in v0.6.9
type SocketBufferedTrace struct { // Trace ID unique to the originating Envoy only. Trace IDs can repeat and should not be used // for long term stable uniqueness. Matches connection IDs used in Envoy logs. TraceId uint64 `protobuf:"varint,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` // Connection properties. Connection *Connection `protobuf:"bytes,2,opt,name=connection,proto3" json:"connection,omitempty"` // Sequence of observed events. Events []*SocketEvent `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` // Set to true if read events were truncated due to the :ref:`max_buffered_rx_bytes // <envoy_api_field_service.tap.v2alpha.OutputConfig.max_buffered_rx_bytes>` setting. ReadTruncated bool `protobuf:"varint,4,opt,name=read_truncated,json=readTruncated,proto3" json:"read_truncated,omitempty"` // Set to true if write events were truncated due to the :ref:`max_buffered_tx_bytes // <envoy_api_field_service.tap.v2alpha.OutputConfig.max_buffered_tx_bytes>` setting. WriteTruncated bool `protobuf:"varint,5,opt,name=write_truncated,json=writeTruncated,proto3" json:"write_truncated,omitempty"` // contains filtered or unexported fields }
Sequence of read/write events that constitute a buffered trace on a socket. [#next-free-field: 6]
func (*SocketBufferedTrace) Descriptor
deprecated
added in
v0.6.9
func (*SocketBufferedTrace) Descriptor() ([]byte, []int)
Deprecated: Use SocketBufferedTrace.ProtoReflect.Descriptor instead.
func (*SocketBufferedTrace) GetConnection ¶ added in v0.6.9
func (x *SocketBufferedTrace) GetConnection() *Connection
func (*SocketBufferedTrace) GetEvents ¶ added in v0.6.9
func (x *SocketBufferedTrace) GetEvents() []*SocketEvent
func (*SocketBufferedTrace) GetReadTruncated ¶ added in v0.6.9
func (x *SocketBufferedTrace) GetReadTruncated() bool
func (*SocketBufferedTrace) GetTraceId ¶ added in v0.6.9
func (x *SocketBufferedTrace) GetTraceId() uint64
func (*SocketBufferedTrace) GetWriteTruncated ¶ added in v0.6.9
func (x *SocketBufferedTrace) GetWriteTruncated() bool
func (*SocketBufferedTrace) ProtoMessage ¶ added in v0.6.9
func (*SocketBufferedTrace) ProtoMessage()
func (*SocketBufferedTrace) ProtoReflect ¶ added in v0.9.6
func (x *SocketBufferedTrace) ProtoReflect() protoreflect.Message
func (*SocketBufferedTrace) Reset ¶ added in v0.6.9
func (x *SocketBufferedTrace) Reset()
func (*SocketBufferedTrace) String ¶ added in v0.6.9
func (x *SocketBufferedTrace) String() string
func (*SocketBufferedTrace) Validate ¶ added in v0.6.9
func (m *SocketBufferedTrace) Validate() error
Validate checks the field values on SocketBufferedTrace 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 (*SocketBufferedTrace) ValidateAll ¶ added in v0.10.0
func (m *SocketBufferedTrace) ValidateAll() error
ValidateAll checks the field values on SocketBufferedTrace 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 SocketBufferedTraceMultiError, or nil if none found.
type SocketBufferedTraceMultiError ¶ added in v0.10.0
type SocketBufferedTraceMultiError []error
SocketBufferedTraceMultiError is an error wrapping multiple validation errors returned by SocketBufferedTrace.ValidateAll() if the designated constraints aren't met.
func (SocketBufferedTraceMultiError) AllErrors ¶ added in v0.10.0
func (m SocketBufferedTraceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SocketBufferedTraceMultiError) Error ¶ added in v0.10.0
func (m SocketBufferedTraceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SocketBufferedTraceValidationError ¶ added in v0.6.9
type SocketBufferedTraceValidationError struct {
// contains filtered or unexported fields
}
SocketBufferedTraceValidationError is the validation error returned by SocketBufferedTrace.Validate if the designated constraints aren't met.
func (SocketBufferedTraceValidationError) Cause ¶ added in v0.6.9
func (e SocketBufferedTraceValidationError) Cause() error
Cause function returns cause value.
func (SocketBufferedTraceValidationError) Error ¶ added in v0.6.9
func (e SocketBufferedTraceValidationError) Error() string
Error satisfies the builtin error interface
func (SocketBufferedTraceValidationError) ErrorName ¶ added in v0.7.0
func (e SocketBufferedTraceValidationError) ErrorName() string
ErrorName returns error name.
func (SocketBufferedTraceValidationError) Field ¶ added in v0.6.9
func (e SocketBufferedTraceValidationError) Field() string
Field function returns field value.
func (SocketBufferedTraceValidationError) Key ¶ added in v0.6.9
func (e SocketBufferedTraceValidationError) Key() bool
Key function returns key value.
func (SocketBufferedTraceValidationError) Reason ¶ added in v0.6.9
func (e SocketBufferedTraceValidationError) Reason() string
Reason function returns reason value.
type SocketEvent ¶ added in v0.6.8
type SocketEvent struct { // Timestamp for event. Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Read or write with content as bytes string. // // Types that are assignable to EventSelector: // // *SocketEvent_Read_ // *SocketEvent_Write_ // *SocketEvent_Closed_ EventSelector isSocketEvent_EventSelector `protobuf_oneof:"event_selector"` // contains filtered or unexported fields }
Event in a socket trace.
func (*SocketEvent) Descriptor
deprecated
added in
v0.6.8
func (*SocketEvent) Descriptor() ([]byte, []int)
Deprecated: Use SocketEvent.ProtoReflect.Descriptor instead.
func (*SocketEvent) GetClosed ¶ added in v0.6.9
func (x *SocketEvent) GetClosed() *SocketEvent_Closed
func (*SocketEvent) GetEventSelector ¶ added in v0.6.8
func (m *SocketEvent) GetEventSelector() isSocketEvent_EventSelector
func (*SocketEvent) GetRead ¶ added in v0.6.8
func (x *SocketEvent) GetRead() *SocketEvent_Read
func (*SocketEvent) GetTimestamp ¶ added in v0.6.8
func (x *SocketEvent) GetTimestamp() *timestamppb.Timestamp
func (*SocketEvent) GetWrite ¶ added in v0.6.8
func (x *SocketEvent) GetWrite() *SocketEvent_Write
func (*SocketEvent) ProtoMessage ¶ added in v0.6.8
func (*SocketEvent) ProtoMessage()
func (*SocketEvent) ProtoReflect ¶ added in v0.9.6
func (x *SocketEvent) ProtoReflect() protoreflect.Message
func (*SocketEvent) Reset ¶ added in v0.6.8
func (x *SocketEvent) Reset()
func (*SocketEvent) String ¶ added in v0.6.8
func (x *SocketEvent) String() string
func (*SocketEvent) Validate ¶ added in v0.6.8
func (m *SocketEvent) Validate() error
Validate checks the field values on SocketEvent 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 (*SocketEvent) ValidateAll ¶ added in v0.10.0
func (m *SocketEvent) ValidateAll() error
ValidateAll checks the field values on SocketEvent 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 SocketEventMultiError, or nil if none found.
type SocketEventMultiError ¶ added in v0.10.0
type SocketEventMultiError []error
SocketEventMultiError is an error wrapping multiple validation errors returned by SocketEvent.ValidateAll() if the designated constraints aren't met.
func (SocketEventMultiError) AllErrors ¶ added in v0.10.0
func (m SocketEventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SocketEventMultiError) Error ¶ added in v0.10.0
func (m SocketEventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SocketEventValidationError ¶ added in v0.6.8
type SocketEventValidationError struct {
// contains filtered or unexported fields
}
SocketEventValidationError is the validation error returned by SocketEvent.Validate if the designated constraints aren't met.
func (SocketEventValidationError) Cause ¶ added in v0.6.8
func (e SocketEventValidationError) Cause() error
Cause function returns cause value.
func (SocketEventValidationError) Error ¶ added in v0.6.8
func (e SocketEventValidationError) Error() string
Error satisfies the builtin error interface
func (SocketEventValidationError) ErrorName ¶ added in v0.7.0
func (e SocketEventValidationError) ErrorName() string
ErrorName returns error name.
func (SocketEventValidationError) Field ¶ added in v0.6.8
func (e SocketEventValidationError) Field() string
Field function returns field value.
func (SocketEventValidationError) Key ¶ added in v0.6.8
func (e SocketEventValidationError) Key() bool
Key function returns key value.
func (SocketEventValidationError) Reason ¶ added in v0.6.8
func (e SocketEventValidationError) Reason() string
Reason function returns reason value.
type SocketEvent_Closed ¶ added in v0.6.9
type SocketEvent_Closed struct {
// contains filtered or unexported fields
}
The connection was closed.
func (*SocketEvent_Closed) Descriptor
deprecated
added in
v0.6.9
func (*SocketEvent_Closed) Descriptor() ([]byte, []int)
Deprecated: Use SocketEvent_Closed.ProtoReflect.Descriptor instead.
func (*SocketEvent_Closed) ProtoMessage ¶ added in v0.6.9
func (*SocketEvent_Closed) ProtoMessage()
func (*SocketEvent_Closed) ProtoReflect ¶ added in v0.9.6
func (x *SocketEvent_Closed) ProtoReflect() protoreflect.Message
func (*SocketEvent_Closed) Reset ¶ added in v0.6.9
func (x *SocketEvent_Closed) Reset()
func (*SocketEvent_Closed) String ¶ added in v0.6.9
func (x *SocketEvent_Closed) String() string
func (*SocketEvent_Closed) Validate ¶ added in v0.6.9
func (m *SocketEvent_Closed) Validate() error
Validate checks the field values on SocketEvent_Closed 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 (*SocketEvent_Closed) ValidateAll ¶ added in v0.10.0
func (m *SocketEvent_Closed) ValidateAll() error
ValidateAll checks the field values on SocketEvent_Closed 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 SocketEvent_ClosedMultiError, or nil if none found.
type SocketEvent_ClosedMultiError ¶ added in v0.10.0
type SocketEvent_ClosedMultiError []error
SocketEvent_ClosedMultiError is an error wrapping multiple validation errors returned by SocketEvent_Closed.ValidateAll() if the designated constraints aren't met.
func (SocketEvent_ClosedMultiError) AllErrors ¶ added in v0.10.0
func (m SocketEvent_ClosedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SocketEvent_ClosedMultiError) Error ¶ added in v0.10.0
func (m SocketEvent_ClosedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SocketEvent_ClosedValidationError ¶ added in v0.6.9
type SocketEvent_ClosedValidationError struct {
// contains filtered or unexported fields
}
SocketEvent_ClosedValidationError is the validation error returned by SocketEvent_Closed.Validate if the designated constraints aren't met.
func (SocketEvent_ClosedValidationError) Cause ¶ added in v0.6.9
func (e SocketEvent_ClosedValidationError) Cause() error
Cause function returns cause value.
func (SocketEvent_ClosedValidationError) Error ¶ added in v0.6.9
func (e SocketEvent_ClosedValidationError) Error() string
Error satisfies the builtin error interface
func (SocketEvent_ClosedValidationError) ErrorName ¶ added in v0.7.0
func (e SocketEvent_ClosedValidationError) ErrorName() string
ErrorName returns error name.
func (SocketEvent_ClosedValidationError) Field ¶ added in v0.6.9
func (e SocketEvent_ClosedValidationError) Field() string
Field function returns field value.
func (SocketEvent_ClosedValidationError) Key ¶ added in v0.6.9
func (e SocketEvent_ClosedValidationError) Key() bool
Key function returns key value.
func (SocketEvent_ClosedValidationError) Reason ¶ added in v0.6.9
func (e SocketEvent_ClosedValidationError) Reason() string
Reason function returns reason value.
type SocketEvent_Closed_ ¶ added in v0.6.9
type SocketEvent_Closed_ struct {
Closed *SocketEvent_Closed `protobuf:"bytes,4,opt,name=closed,proto3,oneof"`
}
type SocketEvent_Read ¶ added in v0.6.8
type SocketEvent_Read struct { // Binary data read. Data *Body `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
Data read by Envoy from the transport socket.
func (*SocketEvent_Read) Descriptor
deprecated
added in
v0.6.8
func (*SocketEvent_Read) Descriptor() ([]byte, []int)
Deprecated: Use SocketEvent_Read.ProtoReflect.Descriptor instead.
func (*SocketEvent_Read) GetData ¶ added in v0.6.8
func (x *SocketEvent_Read) GetData() *Body
func (*SocketEvent_Read) ProtoMessage ¶ added in v0.6.8
func (*SocketEvent_Read) ProtoMessage()
func (*SocketEvent_Read) ProtoReflect ¶ added in v0.9.6
func (x *SocketEvent_Read) ProtoReflect() protoreflect.Message
func (*SocketEvent_Read) Reset ¶ added in v0.6.8
func (x *SocketEvent_Read) Reset()
func (*SocketEvent_Read) String ¶ added in v0.6.8
func (x *SocketEvent_Read) String() string
func (*SocketEvent_Read) Validate ¶ added in v0.6.8
func (m *SocketEvent_Read) Validate() error
Validate checks the field values on SocketEvent_Read 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 (*SocketEvent_Read) ValidateAll ¶ added in v0.10.0
func (m *SocketEvent_Read) ValidateAll() error
ValidateAll checks the field values on SocketEvent_Read 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 SocketEvent_ReadMultiError, or nil if none found.
type SocketEvent_ReadMultiError ¶ added in v0.10.0
type SocketEvent_ReadMultiError []error
SocketEvent_ReadMultiError is an error wrapping multiple validation errors returned by SocketEvent_Read.ValidateAll() if the designated constraints aren't met.
func (SocketEvent_ReadMultiError) AllErrors ¶ added in v0.10.0
func (m SocketEvent_ReadMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SocketEvent_ReadMultiError) Error ¶ added in v0.10.0
func (m SocketEvent_ReadMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SocketEvent_ReadValidationError ¶ added in v0.6.8
type SocketEvent_ReadValidationError struct {
// contains filtered or unexported fields
}
SocketEvent_ReadValidationError is the validation error returned by SocketEvent_Read.Validate if the designated constraints aren't met.
func (SocketEvent_ReadValidationError) Cause ¶ added in v0.6.8
func (e SocketEvent_ReadValidationError) Cause() error
Cause function returns cause value.
func (SocketEvent_ReadValidationError) Error ¶ added in v0.6.8
func (e SocketEvent_ReadValidationError) Error() string
Error satisfies the builtin error interface
func (SocketEvent_ReadValidationError) ErrorName ¶ added in v0.7.0
func (e SocketEvent_ReadValidationError) ErrorName() string
ErrorName returns error name.
func (SocketEvent_ReadValidationError) Field ¶ added in v0.6.8
func (e SocketEvent_ReadValidationError) Field() string
Field function returns field value.
func (SocketEvent_ReadValidationError) Key ¶ added in v0.6.8
func (e SocketEvent_ReadValidationError) Key() bool
Key function returns key value.
func (SocketEvent_ReadValidationError) Reason ¶ added in v0.6.8
func (e SocketEvent_ReadValidationError) Reason() string
Reason function returns reason value.
type SocketEvent_Read_ ¶ added in v0.6.8
type SocketEvent_Read_ struct {
Read *SocketEvent_Read `protobuf:"bytes,2,opt,name=read,proto3,oneof"`
}
type SocketEvent_Write ¶ added in v0.6.8
type SocketEvent_Write struct { // Binary data written. Data *Body `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Stream was half closed after this write. EndStream bool `protobuf:"varint,2,opt,name=end_stream,json=endStream,proto3" json:"end_stream,omitempty"` // contains filtered or unexported fields }
Data written by Envoy to the transport socket.
func (*SocketEvent_Write) Descriptor
deprecated
added in
v0.6.8
func (*SocketEvent_Write) Descriptor() ([]byte, []int)
Deprecated: Use SocketEvent_Write.ProtoReflect.Descriptor instead.
func (*SocketEvent_Write) GetData ¶ added in v0.6.8
func (x *SocketEvent_Write) GetData() *Body
func (*SocketEvent_Write) GetEndStream ¶ added in v0.6.8
func (x *SocketEvent_Write) GetEndStream() bool
func (*SocketEvent_Write) ProtoMessage ¶ added in v0.6.8
func (*SocketEvent_Write) ProtoMessage()
func (*SocketEvent_Write) ProtoReflect ¶ added in v0.9.6
func (x *SocketEvent_Write) ProtoReflect() protoreflect.Message
func (*SocketEvent_Write) Reset ¶ added in v0.6.8
func (x *SocketEvent_Write) Reset()
func (*SocketEvent_Write) String ¶ added in v0.6.8
func (x *SocketEvent_Write) String() string
func (*SocketEvent_Write) Validate ¶ added in v0.6.8
func (m *SocketEvent_Write) Validate() error
Validate checks the field values on SocketEvent_Write 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 (*SocketEvent_Write) ValidateAll ¶ added in v0.10.0
func (m *SocketEvent_Write) ValidateAll() error
ValidateAll checks the field values on SocketEvent_Write 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 SocketEvent_WriteMultiError, or nil if none found.
type SocketEvent_WriteMultiError ¶ added in v0.10.0
type SocketEvent_WriteMultiError []error
SocketEvent_WriteMultiError is an error wrapping multiple validation errors returned by SocketEvent_Write.ValidateAll() if the designated constraints aren't met.
func (SocketEvent_WriteMultiError) AllErrors ¶ added in v0.10.0
func (m SocketEvent_WriteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SocketEvent_WriteMultiError) Error ¶ added in v0.10.0
func (m SocketEvent_WriteMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SocketEvent_WriteValidationError ¶ added in v0.6.8
type SocketEvent_WriteValidationError struct {
// contains filtered or unexported fields
}
SocketEvent_WriteValidationError is the validation error returned by SocketEvent_Write.Validate if the designated constraints aren't met.
func (SocketEvent_WriteValidationError) Cause ¶ added in v0.6.8
func (e SocketEvent_WriteValidationError) Cause() error
Cause function returns cause value.
func (SocketEvent_WriteValidationError) Error ¶ added in v0.6.8
func (e SocketEvent_WriteValidationError) Error() string
Error satisfies the builtin error interface
func (SocketEvent_WriteValidationError) ErrorName ¶ added in v0.7.0
func (e SocketEvent_WriteValidationError) ErrorName() string
ErrorName returns error name.
func (SocketEvent_WriteValidationError) Field ¶ added in v0.6.8
func (e SocketEvent_WriteValidationError) Field() string
Field function returns field value.
func (SocketEvent_WriteValidationError) Key ¶ added in v0.6.8
func (e SocketEvent_WriteValidationError) Key() bool
Key function returns key value.
func (SocketEvent_WriteValidationError) Reason ¶ added in v0.6.8
func (e SocketEvent_WriteValidationError) Reason() string
Reason function returns reason value.
type SocketEvent_Write_ ¶ added in v0.6.8
type SocketEvent_Write_ struct {
Write *SocketEvent_Write `protobuf:"bytes,3,opt,name=write,proto3,oneof"`
}
type SocketStreamedTraceSegment ¶ added in v0.6.9
type SocketStreamedTraceSegment struct { // Trace ID unique to the originating Envoy only. Trace IDs can repeat and should not be used // for long term stable uniqueness. Matches connection IDs used in Envoy logs. TraceId uint64 `protobuf:"varint,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` // Types that are assignable to MessagePiece: // // *SocketStreamedTraceSegment_Connection // *SocketStreamedTraceSegment_Event MessagePiece isSocketStreamedTraceSegment_MessagePiece `protobuf_oneof:"message_piece"` // contains filtered or unexported fields }
A streamed socket trace segment. Multiple segments make up a full trace.
func (*SocketStreamedTraceSegment) Descriptor
deprecated
added in
v0.6.9
func (*SocketStreamedTraceSegment) Descriptor() ([]byte, []int)
Deprecated: Use SocketStreamedTraceSegment.ProtoReflect.Descriptor instead.
func (*SocketStreamedTraceSegment) GetConnection ¶ added in v0.6.9
func (x *SocketStreamedTraceSegment) GetConnection() *Connection
func (*SocketStreamedTraceSegment) GetEvent ¶ added in v0.6.9
func (x *SocketStreamedTraceSegment) GetEvent() *SocketEvent
func (*SocketStreamedTraceSegment) GetMessagePiece ¶ added in v0.6.9
func (m *SocketStreamedTraceSegment) GetMessagePiece() isSocketStreamedTraceSegment_MessagePiece
func (*SocketStreamedTraceSegment) GetTraceId ¶ added in v0.6.9
func (x *SocketStreamedTraceSegment) GetTraceId() uint64
func (*SocketStreamedTraceSegment) ProtoMessage ¶ added in v0.6.9
func (*SocketStreamedTraceSegment) ProtoMessage()
func (*SocketStreamedTraceSegment) ProtoReflect ¶ added in v0.9.6
func (x *SocketStreamedTraceSegment) ProtoReflect() protoreflect.Message
func (*SocketStreamedTraceSegment) Reset ¶ added in v0.6.9
func (x *SocketStreamedTraceSegment) Reset()
func (*SocketStreamedTraceSegment) String ¶ added in v0.6.9
func (x *SocketStreamedTraceSegment) String() string
func (*SocketStreamedTraceSegment) Validate ¶ added in v0.6.9
func (m *SocketStreamedTraceSegment) Validate() error
Validate checks the field values on SocketStreamedTraceSegment 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 (*SocketStreamedTraceSegment) ValidateAll ¶ added in v0.10.0
func (m *SocketStreamedTraceSegment) ValidateAll() error
ValidateAll checks the field values on SocketStreamedTraceSegment 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 SocketStreamedTraceSegmentMultiError, or nil if none found.
type SocketStreamedTraceSegmentMultiError ¶ added in v0.10.0
type SocketStreamedTraceSegmentMultiError []error
SocketStreamedTraceSegmentMultiError is an error wrapping multiple validation errors returned by SocketStreamedTraceSegment.ValidateAll() if the designated constraints aren't met.
func (SocketStreamedTraceSegmentMultiError) AllErrors ¶ added in v0.10.0
func (m SocketStreamedTraceSegmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SocketStreamedTraceSegmentMultiError) Error ¶ added in v0.10.0
func (m SocketStreamedTraceSegmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SocketStreamedTraceSegmentValidationError ¶ added in v0.6.9
type SocketStreamedTraceSegmentValidationError struct {
// contains filtered or unexported fields
}
SocketStreamedTraceSegmentValidationError is the validation error returned by SocketStreamedTraceSegment.Validate if the designated constraints aren't met.
func (SocketStreamedTraceSegmentValidationError) Cause ¶ added in v0.6.9
func (e SocketStreamedTraceSegmentValidationError) Cause() error
Cause function returns cause value.
func (SocketStreamedTraceSegmentValidationError) Error ¶ added in v0.6.9
func (e SocketStreamedTraceSegmentValidationError) Error() string
Error satisfies the builtin error interface
func (SocketStreamedTraceSegmentValidationError) ErrorName ¶ added in v0.7.0
func (e SocketStreamedTraceSegmentValidationError) ErrorName() string
ErrorName returns error name.
func (SocketStreamedTraceSegmentValidationError) Field ¶ added in v0.6.9
func (e SocketStreamedTraceSegmentValidationError) Field() string
Field function returns field value.
func (SocketStreamedTraceSegmentValidationError) Key ¶ added in v0.6.9
func (e SocketStreamedTraceSegmentValidationError) Key() bool
Key function returns key value.
func (SocketStreamedTraceSegmentValidationError) Reason ¶ added in v0.6.9
func (e SocketStreamedTraceSegmentValidationError) Reason() string
Reason function returns reason value.
type SocketStreamedTraceSegment_Connection ¶ added in v0.6.9
type SocketStreamedTraceSegment_Connection struct { // Connection properties. Connection *Connection `protobuf:"bytes,2,opt,name=connection,proto3,oneof"` }
type SocketStreamedTraceSegment_Event ¶ added in v0.6.9
type SocketStreamedTraceSegment_Event struct { // Socket event. Event *SocketEvent `protobuf:"bytes,3,opt,name=event,proto3,oneof"` }
type TraceWrapper ¶ added in v0.6.9
type TraceWrapper struct { // Types that are assignable to Trace: // // *TraceWrapper_HttpBufferedTrace // *TraceWrapper_HttpStreamedTraceSegment // *TraceWrapper_SocketBufferedTrace // *TraceWrapper_SocketStreamedTraceSegment Trace isTraceWrapper_Trace `protobuf_oneof:"trace"` // contains filtered or unexported fields }
Wrapper for all fully buffered and streamed tap traces that Envoy emits. This is required for sending traces over gRPC APIs or more easily persisting binary messages to files.
func (*TraceWrapper) Descriptor
deprecated
added in
v0.6.9
func (*TraceWrapper) Descriptor() ([]byte, []int)
Deprecated: Use TraceWrapper.ProtoReflect.Descriptor instead.
func (*TraceWrapper) GetHttpBufferedTrace ¶ added in v0.6.9
func (x *TraceWrapper) GetHttpBufferedTrace() *HttpBufferedTrace
func (*TraceWrapper) GetHttpStreamedTraceSegment ¶ added in v0.6.9
func (x *TraceWrapper) GetHttpStreamedTraceSegment() *HttpStreamedTraceSegment
func (*TraceWrapper) GetSocketBufferedTrace ¶ added in v0.6.9
func (x *TraceWrapper) GetSocketBufferedTrace() *SocketBufferedTrace
func (*TraceWrapper) GetSocketStreamedTraceSegment ¶ added in v0.6.9
func (x *TraceWrapper) GetSocketStreamedTraceSegment() *SocketStreamedTraceSegment
func (*TraceWrapper) GetTrace ¶ added in v0.6.9
func (m *TraceWrapper) GetTrace() isTraceWrapper_Trace
func (*TraceWrapper) ProtoMessage ¶ added in v0.6.9
func (*TraceWrapper) ProtoMessage()
func (*TraceWrapper) ProtoReflect ¶ added in v0.9.6
func (x *TraceWrapper) ProtoReflect() protoreflect.Message
func (*TraceWrapper) Reset ¶ added in v0.6.9
func (x *TraceWrapper) Reset()
func (*TraceWrapper) String ¶ added in v0.6.9
func (x *TraceWrapper) String() string
func (*TraceWrapper) Validate ¶ added in v0.6.9
func (m *TraceWrapper) Validate() error
Validate checks the field values on TraceWrapper 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 (*TraceWrapper) ValidateAll ¶ added in v0.10.0
func (m *TraceWrapper) ValidateAll() error
ValidateAll checks the field values on TraceWrapper 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 TraceWrapperMultiError, or nil if none found.
type TraceWrapperMultiError ¶ added in v0.10.0
type TraceWrapperMultiError []error
TraceWrapperMultiError is an error wrapping multiple validation errors returned by TraceWrapper.ValidateAll() if the designated constraints aren't met.
func (TraceWrapperMultiError) AllErrors ¶ added in v0.10.0
func (m TraceWrapperMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TraceWrapperMultiError) Error ¶ added in v0.10.0
func (m TraceWrapperMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TraceWrapperValidationError ¶ added in v0.6.9
type TraceWrapperValidationError struct {
// contains filtered or unexported fields
}
TraceWrapperValidationError is the validation error returned by TraceWrapper.Validate if the designated constraints aren't met.
func (TraceWrapperValidationError) Cause ¶ added in v0.6.9
func (e TraceWrapperValidationError) Cause() error
Cause function returns cause value.
func (TraceWrapperValidationError) Error ¶ added in v0.6.9
func (e TraceWrapperValidationError) Error() string
Error satisfies the builtin error interface
func (TraceWrapperValidationError) ErrorName ¶ added in v0.7.0
func (e TraceWrapperValidationError) ErrorName() string
ErrorName returns error name.
func (TraceWrapperValidationError) Field ¶ added in v0.6.9
func (e TraceWrapperValidationError) Field() string
Field function returns field value.
func (TraceWrapperValidationError) Key ¶ added in v0.6.9
func (e TraceWrapperValidationError) Key() bool
Key function returns key value.
func (TraceWrapperValidationError) Reason ¶ added in v0.6.9
func (e TraceWrapperValidationError) Reason() string
Reason function returns reason value.
type TraceWrapper_HttpBufferedTrace ¶ added in v0.6.9
type TraceWrapper_HttpBufferedTrace struct { // An HTTP buffered tap trace. HttpBufferedTrace *HttpBufferedTrace `protobuf:"bytes,1,opt,name=http_buffered_trace,json=httpBufferedTrace,proto3,oneof"` }
type TraceWrapper_HttpStreamedTraceSegment ¶ added in v0.6.9
type TraceWrapper_HttpStreamedTraceSegment struct { // An HTTP streamed tap trace segment. HttpStreamedTraceSegment *HttpStreamedTraceSegment `protobuf:"bytes,2,opt,name=http_streamed_trace_segment,json=httpStreamedTraceSegment,proto3,oneof"` }
type TraceWrapper_SocketBufferedTrace ¶ added in v0.6.9
type TraceWrapper_SocketBufferedTrace struct { // A socket buffered tap trace. SocketBufferedTrace *SocketBufferedTrace `protobuf:"bytes,3,opt,name=socket_buffered_trace,json=socketBufferedTrace,proto3,oneof"` }
type TraceWrapper_SocketStreamedTraceSegment ¶ added in v0.6.9
type TraceWrapper_SocketStreamedTraceSegment struct { // A socket streamed tap trace segment. SocketStreamedTraceSegment *SocketStreamedTraceSegment `protobuf:"bytes,4,opt,name=socket_streamed_trace_segment,json=socketStreamedTraceSegment,proto3,oneof"` }