go-control-plane: github.com/envoyproxy/go-control-plane/envoy/data/tap/v3 Index | Files

package envoy_data_tap_v3

import "github.com/envoyproxy/go-control-plane/envoy/data/tap/v3"

Index

Package Files

common.pb.go common.pb.validate.go http.pb.go http.pb.validate.go transport.pb.go transport.pb.validate.go wrapper.pb.go wrapper.pb.validate.go

Variables

var File_envoy_data_tap_v3_common_proto protoreflect.FileDescriptor
var File_envoy_data_tap_v3_http_proto protoreflect.FileDescriptor
var File_envoy_data_tap_v3_transport_proto protoreflect.FileDescriptor
var File_envoy_data_tap_v3_wrapper_proto protoreflect.FileDescriptor

type Body Uses

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_config.tap.v3.OutputConfig.max_buffered_rx_bytes>` and
    // :ref:`max_buffered_tx_bytes
    // <envoy_api_field_config.tap.v3.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 Uses

func (*Body) Descriptor() ([]byte, []int)

Deprecated: Use Body.ProtoReflect.Descriptor instead.

func (*Body) GetAsBytes Uses

func (x *Body) GetAsBytes() []byte

func (*Body) GetAsString Uses

func (x *Body) GetAsString() string

func (*Body) GetBodyType Uses

func (m *Body) GetBodyType() isBody_BodyType

func (*Body) GetTruncated Uses

func (x *Body) GetTruncated() bool

func (*Body) ProtoMessage Uses

func (*Body) ProtoMessage()

func (*Body) ProtoReflect Uses

func (x *Body) ProtoReflect() protoreflect.Message

func (*Body) Reset Uses

func (x *Body) Reset()

func (*Body) String Uses

func (x *Body) String() string

func (*Body) Validate Uses

func (m *Body) Validate() error

Validate checks the field values on Body with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type BodyValidationError Uses

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 Uses

func (e BodyValidationError) Cause() error

Cause function returns cause value.

func (BodyValidationError) Error Uses

func (e BodyValidationError) Error() string

Error satisfies the builtin error interface

func (BodyValidationError) ErrorName Uses

func (e BodyValidationError) ErrorName() string

ErrorName returns error name.

func (BodyValidationError) Field Uses

func (e BodyValidationError) Field() string

Field function returns field value.

func (BodyValidationError) Key Uses

func (e BodyValidationError) Key() bool

Key function returns key value.

func (BodyValidationError) Reason Uses

func (e BodyValidationError) Reason() string

Reason function returns reason value.

type Body_AsBytes Uses

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 Uses

type Body_AsString struct {
    // Body data as string. This field is only used when the :ref:`JSON_BODY_AS_STRING
    // <envoy_api_enum_value_config.tap.v3.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 Uses

type Connection struct {

    // Local address.
    LocalAddress *v3.Address `protobuf:"bytes,2,opt,name=local_address,json=localAddress,proto3" json:"local_address,omitempty"`
    // Remote address.
    RemoteAddress *v3.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 Uses

func (*Connection) Descriptor() ([]byte, []int)

Deprecated: Use Connection.ProtoReflect.Descriptor instead.

func (*Connection) GetLocalAddress Uses

func (x *Connection) GetLocalAddress() *v3.Address

func (*Connection) GetRemoteAddress Uses

func (x *Connection) GetRemoteAddress() *v3.Address

func (*Connection) ProtoMessage Uses

func (*Connection) ProtoMessage()

func (*Connection) ProtoReflect Uses

func (x *Connection) ProtoReflect() protoreflect.Message

func (*Connection) Reset Uses

func (x *Connection) Reset()

func (*Connection) String Uses

func (x *Connection) String() string

func (*Connection) Validate Uses

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, an error is returned.

type ConnectionValidationError Uses

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 Uses

func (e ConnectionValidationError) Cause() error

Cause function returns cause value.

func (ConnectionValidationError) Error Uses

func (e ConnectionValidationError) Error() string

Error satisfies the builtin error interface

func (ConnectionValidationError) ErrorName Uses

func (e ConnectionValidationError) ErrorName() string

ErrorName returns error name.

func (ConnectionValidationError) Field Uses

func (e ConnectionValidationError) Field() string

Field function returns field value.

func (ConnectionValidationError) Key Uses

func (e ConnectionValidationError) Key() bool

Key function returns key value.

func (ConnectionValidationError) Reason Uses

func (e ConnectionValidationError) Reason() string

Reason function returns reason value.

type HttpBufferedTrace Uses

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 Uses

func (*HttpBufferedTrace) Descriptor() ([]byte, []int)

Deprecated: Use HttpBufferedTrace.ProtoReflect.Descriptor instead.

func (*HttpBufferedTrace) GetRequest Uses

func (x *HttpBufferedTrace) GetRequest() *HttpBufferedTrace_Message

func (*HttpBufferedTrace) GetResponse Uses

func (x *HttpBufferedTrace) GetResponse() *HttpBufferedTrace_Message

func (*HttpBufferedTrace) ProtoMessage Uses

func (*HttpBufferedTrace) ProtoMessage()

func (*HttpBufferedTrace) ProtoReflect Uses

func (x *HttpBufferedTrace) ProtoReflect() protoreflect.Message

func (*HttpBufferedTrace) Reset Uses

func (x *HttpBufferedTrace) Reset()

func (*HttpBufferedTrace) String Uses

func (x *HttpBufferedTrace) String() string

func (*HttpBufferedTrace) Validate Uses

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, an error is returned.

type HttpBufferedTraceValidationError Uses

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 Uses

func (e HttpBufferedTraceValidationError) Cause() error

Cause function returns cause value.

func (HttpBufferedTraceValidationError) Error Uses

func (e HttpBufferedTraceValidationError) Error() string

Error satisfies the builtin error interface

func (HttpBufferedTraceValidationError) ErrorName Uses

func (e HttpBufferedTraceValidationError) ErrorName() string

ErrorName returns error name.

func (HttpBufferedTraceValidationError) Field Uses

func (e HttpBufferedTraceValidationError) Field() string

Field function returns field value.

func (HttpBufferedTraceValidationError) Key Uses

func (e HttpBufferedTraceValidationError) Key() bool

Key function returns key value.

func (HttpBufferedTraceValidationError) Reason Uses

func (e HttpBufferedTraceValidationError) Reason() string

Reason function returns reason value.

type HttpBufferedTrace_Message Uses

type HttpBufferedTrace_Message struct {

    // Message headers.
    Headers []*v3.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 []*v3.HeaderValue `protobuf:"bytes,3,rep,name=trailers,proto3" json:"trailers,omitempty"`
    // contains filtered or unexported fields
}

HTTP message wrapper.

func (*HttpBufferedTrace_Message) Descriptor Uses

func (*HttpBufferedTrace_Message) Descriptor() ([]byte, []int)

Deprecated: Use HttpBufferedTrace_Message.ProtoReflect.Descriptor instead.

func (*HttpBufferedTrace_Message) GetBody Uses

func (x *HttpBufferedTrace_Message) GetBody() *Body

func (*HttpBufferedTrace_Message) GetHeaders Uses

func (x *HttpBufferedTrace_Message) GetHeaders() []*v3.HeaderValue

func (*HttpBufferedTrace_Message) GetTrailers Uses

func (x *HttpBufferedTrace_Message) GetTrailers() []*v3.HeaderValue

func (*HttpBufferedTrace_Message) ProtoMessage Uses

func (*HttpBufferedTrace_Message) ProtoMessage()

func (*HttpBufferedTrace_Message) ProtoReflect Uses

func (x *HttpBufferedTrace_Message) ProtoReflect() protoreflect.Message

func (*HttpBufferedTrace_Message) Reset Uses

func (x *HttpBufferedTrace_Message) Reset()

func (*HttpBufferedTrace_Message) String Uses

func (x *HttpBufferedTrace_Message) String() string

func (*HttpBufferedTrace_Message) Validate Uses

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, an error is returned.

type HttpBufferedTrace_MessageValidationError Uses

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 Uses

func (e HttpBufferedTrace_MessageValidationError) Cause() error

Cause function returns cause value.

func (HttpBufferedTrace_MessageValidationError) Error Uses

func (e HttpBufferedTrace_MessageValidationError) Error() string

Error satisfies the builtin error interface

func (HttpBufferedTrace_MessageValidationError) ErrorName Uses

func (e HttpBufferedTrace_MessageValidationError) ErrorName() string

ErrorName returns error name.

func (HttpBufferedTrace_MessageValidationError) Field Uses

func (e HttpBufferedTrace_MessageValidationError) Field() string

Field function returns field value.

func (HttpBufferedTrace_MessageValidationError) Key Uses

func (e HttpBufferedTrace_MessageValidationError) Key() bool

Key function returns key value.

func (HttpBufferedTrace_MessageValidationError) Reason Uses

func (e HttpBufferedTrace_MessageValidationError) Reason() string

Reason function returns reason value.

type HttpStreamedTraceSegment Uses

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 Uses

func (*HttpStreamedTraceSegment) Descriptor() ([]byte, []int)

Deprecated: Use HttpStreamedTraceSegment.ProtoReflect.Descriptor instead.

func (*HttpStreamedTraceSegment) GetMessagePiece Uses

func (m *HttpStreamedTraceSegment) GetMessagePiece() isHttpStreamedTraceSegment_MessagePiece

func (*HttpStreamedTraceSegment) GetRequestBodyChunk Uses

func (x *HttpStreamedTraceSegment) GetRequestBodyChunk() *Body

func (*HttpStreamedTraceSegment) GetRequestHeaders Uses

func (x *HttpStreamedTraceSegment) GetRequestHeaders() *v3.HeaderMap

func (*HttpStreamedTraceSegment) GetRequestTrailers Uses

func (x *HttpStreamedTraceSegment) GetRequestTrailers() *v3.HeaderMap

func (*HttpStreamedTraceSegment) GetResponseBodyChunk Uses

func (x *HttpStreamedTraceSegment) GetResponseBodyChunk() *Body

func (*HttpStreamedTraceSegment) GetResponseHeaders Uses

func (x *HttpStreamedTraceSegment) GetResponseHeaders() *v3.HeaderMap

func (*HttpStreamedTraceSegment) GetResponseTrailers Uses

func (x *HttpStreamedTraceSegment) GetResponseTrailers() *v3.HeaderMap

func (*HttpStreamedTraceSegment) GetTraceId Uses

func (x *HttpStreamedTraceSegment) GetTraceId() uint64

func (*HttpStreamedTraceSegment) ProtoMessage Uses

func (*HttpStreamedTraceSegment) ProtoMessage()

func (*HttpStreamedTraceSegment) ProtoReflect Uses

func (x *HttpStreamedTraceSegment) ProtoReflect() protoreflect.Message

func (*HttpStreamedTraceSegment) Reset Uses

func (x *HttpStreamedTraceSegment) Reset()

func (*HttpStreamedTraceSegment) String Uses

func (x *HttpStreamedTraceSegment) String() string

func (*HttpStreamedTraceSegment) Validate Uses

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, an error is returned.

type HttpStreamedTraceSegmentValidationError Uses

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 Uses

func (e HttpStreamedTraceSegmentValidationError) Cause() error

Cause function returns cause value.

func (HttpStreamedTraceSegmentValidationError) Error Uses

func (e HttpStreamedTraceSegmentValidationError) Error() string

Error satisfies the builtin error interface

func (HttpStreamedTraceSegmentValidationError) ErrorName Uses

func (e HttpStreamedTraceSegmentValidationError) ErrorName() string

ErrorName returns error name.

func (HttpStreamedTraceSegmentValidationError) Field Uses

func (e HttpStreamedTraceSegmentValidationError) Field() string

Field function returns field value.

func (HttpStreamedTraceSegmentValidationError) Key Uses

func (e HttpStreamedTraceSegmentValidationError) Key() bool

Key function returns key value.

func (HttpStreamedTraceSegmentValidationError) Reason Uses

func (e HttpStreamedTraceSegmentValidationError) Reason() string

Reason function returns reason value.

type HttpStreamedTraceSegment_RequestBodyChunk Uses

type HttpStreamedTraceSegment_RequestBodyChunk struct {
    // Request body chunk.
    RequestBodyChunk *Body `protobuf:"bytes,3,opt,name=request_body_chunk,json=requestBodyChunk,proto3,oneof"`
}

type HttpStreamedTraceSegment_RequestHeaders Uses

type HttpStreamedTraceSegment_RequestHeaders struct {
    // Request headers.
    RequestHeaders *v3.HeaderMap `protobuf:"bytes,2,opt,name=request_headers,json=requestHeaders,proto3,oneof"`
}

type HttpStreamedTraceSegment_RequestTrailers Uses

type HttpStreamedTraceSegment_RequestTrailers struct {
    // Request trailers.
    RequestTrailers *v3.HeaderMap `protobuf:"bytes,4,opt,name=request_trailers,json=requestTrailers,proto3,oneof"`
}

type HttpStreamedTraceSegment_ResponseBodyChunk Uses

type HttpStreamedTraceSegment_ResponseBodyChunk struct {
    // Response body chunk.
    ResponseBodyChunk *Body `protobuf:"bytes,6,opt,name=response_body_chunk,json=responseBodyChunk,proto3,oneof"`
}

type HttpStreamedTraceSegment_ResponseHeaders Uses

type HttpStreamedTraceSegment_ResponseHeaders struct {
    // Response headers.
    ResponseHeaders *v3.HeaderMap `protobuf:"bytes,5,opt,name=response_headers,json=responseHeaders,proto3,oneof"`
}

type HttpStreamedTraceSegment_ResponseTrailers Uses

type HttpStreamedTraceSegment_ResponseTrailers struct {
    // Response trailers.
    ResponseTrailers *v3.HeaderMap `protobuf:"bytes,7,opt,name=response_trailers,json=responseTrailers,proto3,oneof"`
}

type SocketBufferedTrace Uses

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_config.tap.v3.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_config.tap.v3.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 Uses

func (*SocketBufferedTrace) Descriptor() ([]byte, []int)

Deprecated: Use SocketBufferedTrace.ProtoReflect.Descriptor instead.

func (*SocketBufferedTrace) GetConnection Uses

func (x *SocketBufferedTrace) GetConnection() *Connection

func (*SocketBufferedTrace) GetEvents Uses

func (x *SocketBufferedTrace) GetEvents() []*SocketEvent

func (*SocketBufferedTrace) GetReadTruncated Uses

func (x *SocketBufferedTrace) GetReadTruncated() bool

func (*SocketBufferedTrace) GetTraceId Uses

func (x *SocketBufferedTrace) GetTraceId() uint64

func (*SocketBufferedTrace) GetWriteTruncated Uses

func (x *SocketBufferedTrace) GetWriteTruncated() bool

func (*SocketBufferedTrace) ProtoMessage Uses

func (*SocketBufferedTrace) ProtoMessage()

func (*SocketBufferedTrace) ProtoReflect Uses

func (x *SocketBufferedTrace) ProtoReflect() protoreflect.Message

func (*SocketBufferedTrace) Reset Uses

func (x *SocketBufferedTrace) Reset()

func (*SocketBufferedTrace) String Uses

func (x *SocketBufferedTrace) String() string

func (*SocketBufferedTrace) Validate Uses

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, an error is returned.

type SocketBufferedTraceValidationError Uses

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 Uses

func (e SocketBufferedTraceValidationError) Cause() error

Cause function returns cause value.

func (SocketBufferedTraceValidationError) Error Uses

func (e SocketBufferedTraceValidationError) Error() string

Error satisfies the builtin error interface

func (SocketBufferedTraceValidationError) ErrorName Uses

func (e SocketBufferedTraceValidationError) ErrorName() string

ErrorName returns error name.

func (SocketBufferedTraceValidationError) Field Uses

func (e SocketBufferedTraceValidationError) Field() string

Field function returns field value.

func (SocketBufferedTraceValidationError) Key Uses

func (e SocketBufferedTraceValidationError) Key() bool

Key function returns key value.

func (SocketBufferedTraceValidationError) Reason Uses

func (e SocketBufferedTraceValidationError) Reason() string

Reason function returns reason value.

type SocketEvent Uses

type SocketEvent struct {

    // Timestamp for event.
    Timestamp *timestamp.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 Uses

func (*SocketEvent) Descriptor() ([]byte, []int)

Deprecated: Use SocketEvent.ProtoReflect.Descriptor instead.

func (*SocketEvent) GetClosed Uses

func (x *SocketEvent) GetClosed() *SocketEvent_Closed

func (*SocketEvent) GetEventSelector Uses

func (m *SocketEvent) GetEventSelector() isSocketEvent_EventSelector

func (*SocketEvent) GetRead Uses

func (x *SocketEvent) GetRead() *SocketEvent_Read

func (*SocketEvent) GetTimestamp Uses

func (x *SocketEvent) GetTimestamp() *timestamp.Timestamp

func (*SocketEvent) GetWrite Uses

func (x *SocketEvent) GetWrite() *SocketEvent_Write

func (*SocketEvent) ProtoMessage Uses

func (*SocketEvent) ProtoMessage()

func (*SocketEvent) ProtoReflect Uses

func (x *SocketEvent) ProtoReflect() protoreflect.Message

func (*SocketEvent) Reset Uses

func (x *SocketEvent) Reset()

func (*SocketEvent) String Uses

func (x *SocketEvent) String() string

func (*SocketEvent) Validate Uses

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, an error is returned.

type SocketEventValidationError Uses

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 Uses

func (e SocketEventValidationError) Cause() error

Cause function returns cause value.

func (SocketEventValidationError) Error Uses

func (e SocketEventValidationError) Error() string

Error satisfies the builtin error interface

func (SocketEventValidationError) ErrorName Uses

func (e SocketEventValidationError) ErrorName() string

ErrorName returns error name.

func (SocketEventValidationError) Field Uses

func (e SocketEventValidationError) Field() string

Field function returns field value.

func (SocketEventValidationError) Key Uses

func (e SocketEventValidationError) Key() bool

Key function returns key value.

func (SocketEventValidationError) Reason Uses

func (e SocketEventValidationError) Reason() string

Reason function returns reason value.

type SocketEvent_Closed Uses

type SocketEvent_Closed struct {
    // contains filtered or unexported fields
}

The connection was closed.

func (*SocketEvent_Closed) Descriptor Uses

func (*SocketEvent_Closed) Descriptor() ([]byte, []int)

Deprecated: Use SocketEvent_Closed.ProtoReflect.Descriptor instead.

func (*SocketEvent_Closed) ProtoMessage Uses

func (*SocketEvent_Closed) ProtoMessage()

func (*SocketEvent_Closed) ProtoReflect Uses

func (x *SocketEvent_Closed) ProtoReflect() protoreflect.Message

func (*SocketEvent_Closed) Reset Uses

func (x *SocketEvent_Closed) Reset()

func (*SocketEvent_Closed) String Uses

func (x *SocketEvent_Closed) String() string

func (*SocketEvent_Closed) Validate Uses

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, an error is returned.

type SocketEvent_ClosedValidationError Uses

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 Uses

func (e SocketEvent_ClosedValidationError) Cause() error

Cause function returns cause value.

func (SocketEvent_ClosedValidationError) Error Uses

func (e SocketEvent_ClosedValidationError) Error() string

Error satisfies the builtin error interface

func (SocketEvent_ClosedValidationError) ErrorName Uses

func (e SocketEvent_ClosedValidationError) ErrorName() string

ErrorName returns error name.

func (SocketEvent_ClosedValidationError) Field Uses

func (e SocketEvent_ClosedValidationError) Field() string

Field function returns field value.

func (SocketEvent_ClosedValidationError) Key Uses

func (e SocketEvent_ClosedValidationError) Key() bool

Key function returns key value.

func (SocketEvent_ClosedValidationError) Reason Uses

func (e SocketEvent_ClosedValidationError) Reason() string

Reason function returns reason value.

type SocketEvent_Closed_ Uses

type SocketEvent_Closed_ struct {
    Closed *SocketEvent_Closed `protobuf:"bytes,4,opt,name=closed,proto3,oneof"`
}

type SocketEvent_Read Uses

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 Uses

func (*SocketEvent_Read) Descriptor() ([]byte, []int)

Deprecated: Use SocketEvent_Read.ProtoReflect.Descriptor instead.

func (*SocketEvent_Read) GetData Uses

func (x *SocketEvent_Read) GetData() *Body

func (*SocketEvent_Read) ProtoMessage Uses

func (*SocketEvent_Read) ProtoMessage()

func (*SocketEvent_Read) ProtoReflect Uses

func (x *SocketEvent_Read) ProtoReflect() protoreflect.Message

func (*SocketEvent_Read) Reset Uses

func (x *SocketEvent_Read) Reset()

func (*SocketEvent_Read) String Uses

func (x *SocketEvent_Read) String() string

func (*SocketEvent_Read) Validate Uses

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, an error is returned.

type SocketEvent_ReadValidationError Uses

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 Uses

func (e SocketEvent_ReadValidationError) Cause() error

Cause function returns cause value.

func (SocketEvent_ReadValidationError) Error Uses

func (e SocketEvent_ReadValidationError) Error() string

Error satisfies the builtin error interface

func (SocketEvent_ReadValidationError) ErrorName Uses

func (e SocketEvent_ReadValidationError) ErrorName() string

ErrorName returns error name.

func (SocketEvent_ReadValidationError) Field Uses

func (e SocketEvent_ReadValidationError) Field() string

Field function returns field value.

func (SocketEvent_ReadValidationError) Key Uses

func (e SocketEvent_ReadValidationError) Key() bool

Key function returns key value.

func (SocketEvent_ReadValidationError) Reason Uses

func (e SocketEvent_ReadValidationError) Reason() string

Reason function returns reason value.

type SocketEvent_Read_ Uses

type SocketEvent_Read_ struct {
    Read *SocketEvent_Read `protobuf:"bytes,2,opt,name=read,proto3,oneof"`
}

type SocketEvent_Write Uses

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 Uses

func (*SocketEvent_Write) Descriptor() ([]byte, []int)

Deprecated: Use SocketEvent_Write.ProtoReflect.Descriptor instead.

func (*SocketEvent_Write) GetData Uses

func (x *SocketEvent_Write) GetData() *Body

func (*SocketEvent_Write) GetEndStream Uses

func (x *SocketEvent_Write) GetEndStream() bool

func (*SocketEvent_Write) ProtoMessage Uses

func (*SocketEvent_Write) ProtoMessage()

func (*SocketEvent_Write) ProtoReflect Uses

func (x *SocketEvent_Write) ProtoReflect() protoreflect.Message

func (*SocketEvent_Write) Reset Uses

func (x *SocketEvent_Write) Reset()

func (*SocketEvent_Write) String Uses

func (x *SocketEvent_Write) String() string

func (*SocketEvent_Write) Validate Uses

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, an error is returned.

type SocketEvent_WriteValidationError Uses

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 Uses

func (e SocketEvent_WriteValidationError) Cause() error

Cause function returns cause value.

func (SocketEvent_WriteValidationError) Error Uses

func (e SocketEvent_WriteValidationError) Error() string

Error satisfies the builtin error interface

func (SocketEvent_WriteValidationError) ErrorName Uses

func (e SocketEvent_WriteValidationError) ErrorName() string

ErrorName returns error name.

func (SocketEvent_WriteValidationError) Field Uses

func (e SocketEvent_WriteValidationError) Field() string

Field function returns field value.

func (SocketEvent_WriteValidationError) Key Uses

func (e SocketEvent_WriteValidationError) Key() bool

Key function returns key value.

func (SocketEvent_WriteValidationError) Reason Uses

func (e SocketEvent_WriteValidationError) Reason() string

Reason function returns reason value.

type SocketEvent_Write_ Uses

type SocketEvent_Write_ struct {
    Write *SocketEvent_Write `protobuf:"bytes,3,opt,name=write,proto3,oneof"`
}

type SocketStreamedTraceSegment Uses

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 Uses

func (*SocketStreamedTraceSegment) Descriptor() ([]byte, []int)

Deprecated: Use SocketStreamedTraceSegment.ProtoReflect.Descriptor instead.

func (*SocketStreamedTraceSegment) GetConnection Uses

func (x *SocketStreamedTraceSegment) GetConnection() *Connection

func (*SocketStreamedTraceSegment) GetEvent Uses

func (x *SocketStreamedTraceSegment) GetEvent() *SocketEvent

func (*SocketStreamedTraceSegment) GetMessagePiece Uses

func (m *SocketStreamedTraceSegment) GetMessagePiece() isSocketStreamedTraceSegment_MessagePiece

func (*SocketStreamedTraceSegment) GetTraceId Uses

func (x *SocketStreamedTraceSegment) GetTraceId() uint64

func (*SocketStreamedTraceSegment) ProtoMessage Uses

func (*SocketStreamedTraceSegment) ProtoMessage()

func (*SocketStreamedTraceSegment) ProtoReflect Uses

func (x *SocketStreamedTraceSegment) ProtoReflect() protoreflect.Message

func (*SocketStreamedTraceSegment) Reset Uses

func (x *SocketStreamedTraceSegment) Reset()

func (*SocketStreamedTraceSegment) String Uses

func (x *SocketStreamedTraceSegment) String() string

func (*SocketStreamedTraceSegment) Validate Uses

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, an error is returned.

type SocketStreamedTraceSegmentValidationError Uses

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 Uses

func (e SocketStreamedTraceSegmentValidationError) Cause() error

Cause function returns cause value.

func (SocketStreamedTraceSegmentValidationError) Error Uses

func (e SocketStreamedTraceSegmentValidationError) Error() string

Error satisfies the builtin error interface

func (SocketStreamedTraceSegmentValidationError) ErrorName Uses

func (e SocketStreamedTraceSegmentValidationError) ErrorName() string

ErrorName returns error name.

func (SocketStreamedTraceSegmentValidationError) Field Uses

func (e SocketStreamedTraceSegmentValidationError) Field() string

Field function returns field value.

func (SocketStreamedTraceSegmentValidationError) Key Uses

func (e SocketStreamedTraceSegmentValidationError) Key() bool

Key function returns key value.

func (SocketStreamedTraceSegmentValidationError) Reason Uses

func (e SocketStreamedTraceSegmentValidationError) Reason() string

Reason function returns reason value.

type SocketStreamedTraceSegment_Connection Uses

type SocketStreamedTraceSegment_Connection struct {
    // Connection properties.
    Connection *Connection `protobuf:"bytes,2,opt,name=connection,proto3,oneof"`
}

type SocketStreamedTraceSegment_Event Uses

type SocketStreamedTraceSegment_Event struct {
    // Socket event.
    Event *SocketEvent `protobuf:"bytes,3,opt,name=event,proto3,oneof"`
}

type TraceWrapper Uses

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 Uses

func (*TraceWrapper) Descriptor() ([]byte, []int)

Deprecated: Use TraceWrapper.ProtoReflect.Descriptor instead.

func (*TraceWrapper) GetHttpBufferedTrace Uses

func (x *TraceWrapper) GetHttpBufferedTrace() *HttpBufferedTrace

func (*TraceWrapper) GetHttpStreamedTraceSegment Uses

func (x *TraceWrapper) GetHttpStreamedTraceSegment() *HttpStreamedTraceSegment

func (*TraceWrapper) GetSocketBufferedTrace Uses

func (x *TraceWrapper) GetSocketBufferedTrace() *SocketBufferedTrace

func (*TraceWrapper) GetSocketStreamedTraceSegment Uses

func (x *TraceWrapper) GetSocketStreamedTraceSegment() *SocketStreamedTraceSegment

func (*TraceWrapper) GetTrace Uses

func (m *TraceWrapper) GetTrace() isTraceWrapper_Trace

func (*TraceWrapper) ProtoMessage Uses

func (*TraceWrapper) ProtoMessage()

func (*TraceWrapper) ProtoReflect Uses

func (x *TraceWrapper) ProtoReflect() protoreflect.Message

func (*TraceWrapper) Reset Uses

func (x *TraceWrapper) Reset()

func (*TraceWrapper) String Uses

func (x *TraceWrapper) String() string

func (*TraceWrapper) Validate Uses

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, an error is returned.

type TraceWrapperValidationError Uses

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 Uses

func (e TraceWrapperValidationError) Cause() error

Cause function returns cause value.

func (TraceWrapperValidationError) Error Uses

func (e TraceWrapperValidationError) Error() string

Error satisfies the builtin error interface

func (TraceWrapperValidationError) ErrorName Uses

func (e TraceWrapperValidationError) ErrorName() string

ErrorName returns error name.

func (TraceWrapperValidationError) Field Uses

func (e TraceWrapperValidationError) Field() string

Field function returns field value.

func (TraceWrapperValidationError) Key Uses

func (e TraceWrapperValidationError) Key() bool

Key function returns key value.

func (TraceWrapperValidationError) Reason Uses

func (e TraceWrapperValidationError) Reason() string

Reason function returns reason value.

type TraceWrapper_HttpBufferedTrace Uses

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 Uses

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 Uses

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 Uses

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"`
}

Package envoy_data_tap_v3 imports 20 packages (graph) and is imported by 8 packages. Updated 2021-01-08. Refresh now. Tools for package owners.