package v2

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

Index

Variables

var (
	ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCommon   = fmt.Errorf("proto: integer overflow")
)
var (
	ErrInvalidLengthHttp = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHttp   = fmt.Errorf("proto: integer overflow")
)
var (
	ErrInvalidLengthTransport = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTransport   = fmt.Errorf("proto: integer overflow")
)
var (
	ErrInvalidLengthWrapper = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowWrapper   = fmt.Errorf("proto: integer overflow")
)

Types

type Body

type Body struct {
	// Types that are valid to be assigned 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Wrapper for tapped body data. This includes HTTP request/response body, transport socket received and transmitted data, etc.

func (*Body) Descriptor

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

func (*Body) GetAsBytes

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

func (*Body) GetAsString

func (m *Body) GetAsString() string

func (*Body) GetBodyType

func (m *Body) GetBodyType() isBody_BodyType

func (*Body) GetTruncated

func (m *Body) GetTruncated() bool

func (*Body) Marshal

func (m *Body) Marshal() (dAtA []byte, err error)

func (*Body) MarshalTo

func (m *Body) MarshalTo(dAtA []byte) (int, error)

func (*Body) ProtoMessage

func (*Body) ProtoMessage()

func (*Body) Reset

func (m *Body) Reset()

func (*Body) Size

func (m *Body) Size() (n int)

func (*Body) String

func (m *Body) String() string

func (*Body) Unmarshal

func (m *Body) Unmarshal(dAtA []byte) error

func (*Body) Validate

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.

func (*Body) XXX_DiscardUnknown

func (m *Body) XXX_DiscardUnknown()

func (*Body) XXX_Marshal

func (m *Body) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Body) XXX_Merge

func (m *Body) XXX_Merge(src proto.Message)

func (*Body) XXX_OneofFuncs

func (*Body) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Body) XXX_Size

func (m *Body) XXX_Size() int

func (*Body) XXX_Unmarshal

func (m *Body) XXX_Unmarshal(b []byte) error

type BodyValidationError

type BodyValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

BodyValidationError is the validation error returned by Body.Validate if the designated constraints aren't met.

func (BodyValidationError) Error

func (e BodyValidationError) Error() string

Error satisfies the builtin error interface

type Body_AsBytes

type Body_AsBytes struct {
	AsBytes []byte `protobuf:"bytes,1,opt,name=as_bytes,json=asBytes,proto3,oneof"`
}

func (*Body_AsBytes) MarshalTo

func (m *Body_AsBytes) MarshalTo(dAtA []byte) (int, error)

func (*Body_AsBytes) Size

func (m *Body_AsBytes) Size() (n int)

type Body_AsString

type Body_AsString struct {
	AsString string `protobuf:"bytes,2,opt,name=as_string,json=asString,proto3,oneof"`
}

func (*Body_AsString) MarshalTo

func (m *Body_AsString) MarshalTo(dAtA []byte) (int, error)

func (*Body_AsString) Size

func (m *Body_AsString) Size() (n int)

type BufferedTraceWrapper

type BufferedTraceWrapper struct {
	// Types that are valid to be assigned to Trace:
	//	*BufferedTraceWrapper_HttpBufferedTrace
	//	*BufferedTraceWrapper_SocketBufferedTrace
	Trace                isBufferedTraceWrapper_Trace `protobuf_oneof:"trace"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

Wrapper for all fully buffered tap traces that Envoy emits. This is required for sending traces over gRPC APIs or more easily persisting binary messages to files.

func (*BufferedTraceWrapper) Descriptor

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

func (*BufferedTraceWrapper) GetHttpBufferedTrace

func (m *BufferedTraceWrapper) GetHttpBufferedTrace() *HttpBufferedTrace

func (*BufferedTraceWrapper) GetSocketBufferedTrace

func (m *BufferedTraceWrapper) GetSocketBufferedTrace() *SocketTrace

func (*BufferedTraceWrapper) GetTrace

func (m *BufferedTraceWrapper) GetTrace() isBufferedTraceWrapper_Trace

func (*BufferedTraceWrapper) Marshal

func (m *BufferedTraceWrapper) Marshal() (dAtA []byte, err error)

func (*BufferedTraceWrapper) MarshalTo

func (m *BufferedTraceWrapper) MarshalTo(dAtA []byte) (int, error)

func (*BufferedTraceWrapper) ProtoMessage

func (*BufferedTraceWrapper) ProtoMessage()

func (*BufferedTraceWrapper) Reset

func (m *BufferedTraceWrapper) Reset()

func (*BufferedTraceWrapper) Size

func (m *BufferedTraceWrapper) Size() (n int)

func (*BufferedTraceWrapper) String

func (m *BufferedTraceWrapper) String() string

func (*BufferedTraceWrapper) Unmarshal

func (m *BufferedTraceWrapper) Unmarshal(dAtA []byte) error

func (*BufferedTraceWrapper) Validate

func (m *BufferedTraceWrapper) Validate() error

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

func (*BufferedTraceWrapper) XXX_DiscardUnknown

func (m *BufferedTraceWrapper) XXX_DiscardUnknown()

func (*BufferedTraceWrapper) XXX_Marshal

func (m *BufferedTraceWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BufferedTraceWrapper) XXX_Merge

func (m *BufferedTraceWrapper) XXX_Merge(src proto.Message)

func (*BufferedTraceWrapper) XXX_OneofFuncs

func (*BufferedTraceWrapper) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*BufferedTraceWrapper) XXX_Size

func (m *BufferedTraceWrapper) XXX_Size() int

func (*BufferedTraceWrapper) XXX_Unmarshal

func (m *BufferedTraceWrapper) XXX_Unmarshal(b []byte) error

type BufferedTraceWrapperValidationError

type BufferedTraceWrapperValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

BufferedTraceWrapperValidationError is the validation error returned by BufferedTraceWrapper.Validate if the designated constraints aren't met.

func (BufferedTraceWrapperValidationError) Error

Error satisfies the builtin error interface

type BufferedTraceWrapper_HttpBufferedTrace

type BufferedTraceWrapper_HttpBufferedTrace struct {
	HttpBufferedTrace *HttpBufferedTrace `protobuf:"bytes,1,opt,name=http_buffered_trace,json=httpBufferedTrace,proto3,oneof"`
}

func (*BufferedTraceWrapper_HttpBufferedTrace) MarshalTo

func (m *BufferedTraceWrapper_HttpBufferedTrace) MarshalTo(dAtA []byte) (int, error)

func (*BufferedTraceWrapper_HttpBufferedTrace) Size

type BufferedTraceWrapper_SocketBufferedTrace

type BufferedTraceWrapper_SocketBufferedTrace struct {
	SocketBufferedTrace *SocketTrace `protobuf:"bytes,2,opt,name=socket_buffered_trace,json=socketBufferedTrace,proto3,oneof"`
}

func (*BufferedTraceWrapper_SocketBufferedTrace) MarshalTo

func (m *BufferedTraceWrapper_SocketBufferedTrace) MarshalTo(dAtA []byte) (int, error)

func (*BufferedTraceWrapper_SocketBufferedTrace) Size

type Connection

type Connection struct {
	// Global unique connection ID for Envoy session. Matches connection IDs used
	// in Envoy logs.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 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"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

Connection properties.

func (*Connection) Descriptor

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

func (*Connection) GetId

func (m *Connection) GetId() uint64

func (*Connection) GetLocalAddress

func (m *Connection) GetLocalAddress() *core.Address

func (*Connection) GetRemoteAddress

func (m *Connection) GetRemoteAddress() *core.Address

func (*Connection) Marshal

func (m *Connection) Marshal() (dAtA []byte, err error)

func (*Connection) MarshalTo

func (m *Connection) MarshalTo(dAtA []byte) (int, error)

func (*Connection) ProtoMessage

func (*Connection) ProtoMessage()

func (*Connection) Reset

func (m *Connection) Reset()

func (*Connection) Size

func (m *Connection) Size() (n int)

func (*Connection) String

func (m *Connection) String() string

func (*Connection) Unmarshal

func (m *Connection) Unmarshal(dAtA []byte) error

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

func (*Connection) XXX_DiscardUnknown

func (m *Connection) XXX_DiscardUnknown()

func (*Connection) XXX_Marshal

func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Connection) XXX_Merge

func (m *Connection) XXX_Merge(src proto.Message)

func (*Connection) XXX_Size

func (m *Connection) XXX_Size() int

func (*Connection) XXX_Unmarshal

func (m *Connection) XXX_Unmarshal(b []byte) error

type ConnectionValidationError

type ConnectionValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ConnectionValidationError is the validation error returned by Connection.Validate if the designated constraints aren't met.

func (ConnectionValidationError) Error

Error satisfies the builtin error interface

type HttpBufferedTrace

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"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

A fully buffered HTTP trace message.

func (*HttpBufferedTrace) Descriptor

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

func (*HttpBufferedTrace) GetRequest

func (*HttpBufferedTrace) GetResponse

func (m *HttpBufferedTrace) GetResponse() *HttpBufferedTrace_Message

func (*HttpBufferedTrace) Marshal

func (m *HttpBufferedTrace) Marshal() (dAtA []byte, err error)

func (*HttpBufferedTrace) MarshalTo

func (m *HttpBufferedTrace) MarshalTo(dAtA []byte) (int, error)

func (*HttpBufferedTrace) ProtoMessage

func (*HttpBufferedTrace) ProtoMessage()

func (*HttpBufferedTrace) Reset

func (m *HttpBufferedTrace) Reset()

func (*HttpBufferedTrace) Size

func (m *HttpBufferedTrace) Size() (n int)

func (*HttpBufferedTrace) String

func (m *HttpBufferedTrace) String() string

func (*HttpBufferedTrace) Unmarshal

func (m *HttpBufferedTrace) Unmarshal(dAtA []byte) error

func (*HttpBufferedTrace) Validate

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.

func (*HttpBufferedTrace) XXX_DiscardUnknown

func (m *HttpBufferedTrace) XXX_DiscardUnknown()

func (*HttpBufferedTrace) XXX_Marshal

func (m *HttpBufferedTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HttpBufferedTrace) XXX_Merge

func (m *HttpBufferedTrace) XXX_Merge(src proto.Message)

func (*HttpBufferedTrace) XXX_Size

func (m *HttpBufferedTrace) XXX_Size() int

func (*HttpBufferedTrace) XXX_Unmarshal

func (m *HttpBufferedTrace) XXX_Unmarshal(b []byte) error

type HttpBufferedTraceValidationError

type HttpBufferedTraceValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

HttpBufferedTraceValidationError is the validation error returned by HttpBufferedTrace.Validate if the designated constraints aren't met.

func (HttpBufferedTraceValidationError) Error

Error satisfies the builtin error interface

type HttpBufferedTrace_Message

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"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

HTTP message wrapper.

func (*HttpBufferedTrace_Message) Descriptor

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

func (*HttpBufferedTrace_Message) GetBody

func (m *HttpBufferedTrace_Message) GetBody() *Body

func (*HttpBufferedTrace_Message) GetHeaders

func (m *HttpBufferedTrace_Message) GetHeaders() []*core.HeaderValue

func (*HttpBufferedTrace_Message) GetTrailers

func (m *HttpBufferedTrace_Message) GetTrailers() []*core.HeaderValue

func (*HttpBufferedTrace_Message) Marshal

func (m *HttpBufferedTrace_Message) Marshal() (dAtA []byte, err error)

func (*HttpBufferedTrace_Message) MarshalTo

func (m *HttpBufferedTrace_Message) MarshalTo(dAtA []byte) (int, error)

func (*HttpBufferedTrace_Message) ProtoMessage

func (*HttpBufferedTrace_Message) ProtoMessage()

func (*HttpBufferedTrace_Message) Reset

func (m *HttpBufferedTrace_Message) Reset()

func (*HttpBufferedTrace_Message) Size

func (m *HttpBufferedTrace_Message) Size() (n int)

func (*HttpBufferedTrace_Message) String

func (m *HttpBufferedTrace_Message) String() string

func (*HttpBufferedTrace_Message) Unmarshal

func (m *HttpBufferedTrace_Message) Unmarshal(dAtA []byte) error

func (*HttpBufferedTrace_Message) Validate

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.

func (*HttpBufferedTrace_Message) XXX_DiscardUnknown

func (m *HttpBufferedTrace_Message) XXX_DiscardUnknown()

func (*HttpBufferedTrace_Message) XXX_Marshal

func (m *HttpBufferedTrace_Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HttpBufferedTrace_Message) XXX_Merge

func (m *HttpBufferedTrace_Message) XXX_Merge(src proto.Message)

func (*HttpBufferedTrace_Message) XXX_Size

func (m *HttpBufferedTrace_Message) XXX_Size() int

func (*HttpBufferedTrace_Message) XXX_Unmarshal

func (m *HttpBufferedTrace_Message) XXX_Unmarshal(b []byte) error

type HttpBufferedTrace_MessageValidationError

type HttpBufferedTrace_MessageValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

HttpBufferedTrace_MessageValidationError is the validation error returned by HttpBufferedTrace_Message.Validate if the designated constraints aren't met.

func (HttpBufferedTrace_MessageValidationError) Error

Error satisfies the builtin error interface

type SocketEvent

type SocketEvent struct {
	// Timestamp for event.
	Timestamp *types.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Read or write with content as bytes string.
	//
	// Types that are valid to be assigned to EventSelector:
	//	*SocketEvent_Read_
	//	*SocketEvent_Write_
	EventSelector        isSocketEvent_EventSelector `protobuf_oneof:"event_selector"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Event in a socket trace.

func (*SocketEvent) Descriptor

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

func (*SocketEvent) GetEventSelector

func (m *SocketEvent) GetEventSelector() isSocketEvent_EventSelector

func (*SocketEvent) GetRead

func (m *SocketEvent) GetRead() *SocketEvent_Read

func (*SocketEvent) GetTimestamp

func (m *SocketEvent) GetTimestamp() *types.Timestamp

func (*SocketEvent) GetWrite

func (m *SocketEvent) GetWrite() *SocketEvent_Write

func (*SocketEvent) Marshal

func (m *SocketEvent) Marshal() (dAtA []byte, err error)

func (*SocketEvent) MarshalTo

func (m *SocketEvent) MarshalTo(dAtA []byte) (int, error)

func (*SocketEvent) ProtoMessage

func (*SocketEvent) ProtoMessage()

func (*SocketEvent) Reset

func (m *SocketEvent) Reset()

func (*SocketEvent) Size

func (m *SocketEvent) Size() (n int)

func (*SocketEvent) String

func (m *SocketEvent) String() string

func (*SocketEvent) Unmarshal

func (m *SocketEvent) Unmarshal(dAtA []byte) error

func (*SocketEvent) Validate

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.

func (*SocketEvent) XXX_DiscardUnknown

func (m *SocketEvent) XXX_DiscardUnknown()

func (*SocketEvent) XXX_Marshal

func (m *SocketEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SocketEvent) XXX_Merge

func (m *SocketEvent) XXX_Merge(src proto.Message)

func (*SocketEvent) XXX_OneofFuncs

func (*SocketEvent) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*SocketEvent) XXX_Size

func (m *SocketEvent) XXX_Size() int

func (*SocketEvent) XXX_Unmarshal

func (m *SocketEvent) XXX_Unmarshal(b []byte) error

type SocketEventValidationError

type SocketEventValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

SocketEventValidationError is the validation error returned by SocketEvent.Validate if the designated constraints aren't met.

func (SocketEventValidationError) Error

Error satisfies the builtin error interface

type SocketEvent_Read

type SocketEvent_Read struct {
	// Binary data read.
	Data                 *Body    `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Data read by Envoy from the transport socket.

func (*SocketEvent_Read) Descriptor

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

func (*SocketEvent_Read) GetData

func (m *SocketEvent_Read) GetData() *Body

func (*SocketEvent_Read) Marshal

func (m *SocketEvent_Read) Marshal() (dAtA []byte, err error)

func (*SocketEvent_Read) MarshalTo

func (m *SocketEvent_Read) MarshalTo(dAtA []byte) (int, error)

func (*SocketEvent_Read) ProtoMessage

func (*SocketEvent_Read) ProtoMessage()

func (*SocketEvent_Read) Reset

func (m *SocketEvent_Read) Reset()

func (*SocketEvent_Read) Size

func (m *SocketEvent_Read) Size() (n int)

func (*SocketEvent_Read) String

func (m *SocketEvent_Read) String() string

func (*SocketEvent_Read) Unmarshal

func (m *SocketEvent_Read) Unmarshal(dAtA []byte) error

func (*SocketEvent_Read) Validate

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.

func (*SocketEvent_Read) XXX_DiscardUnknown

func (m *SocketEvent_Read) XXX_DiscardUnknown()

func (*SocketEvent_Read) XXX_Marshal

func (m *SocketEvent_Read) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SocketEvent_Read) XXX_Merge

func (m *SocketEvent_Read) XXX_Merge(src proto.Message)

func (*SocketEvent_Read) XXX_Size

func (m *SocketEvent_Read) XXX_Size() int

func (*SocketEvent_Read) XXX_Unmarshal

func (m *SocketEvent_Read) XXX_Unmarshal(b []byte) error

type SocketEvent_ReadValidationError

type SocketEvent_ReadValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

SocketEvent_ReadValidationError is the validation error returned by SocketEvent_Read.Validate if the designated constraints aren't met.

func (SocketEvent_ReadValidationError) Error

Error satisfies the builtin error interface

type SocketEvent_Read_

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

func (*SocketEvent_Read_) MarshalTo

func (m *SocketEvent_Read_) MarshalTo(dAtA []byte) (int, error)

func (*SocketEvent_Read_) Size

func (m *SocketEvent_Read_) Size() (n int)

type SocketEvent_Write

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Data written by Envoy to the transport socket.

func (*SocketEvent_Write) Descriptor

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

func (*SocketEvent_Write) GetData

func (m *SocketEvent_Write) GetData() *Body

func (*SocketEvent_Write) GetEndStream

func (m *SocketEvent_Write) GetEndStream() bool

func (*SocketEvent_Write) Marshal

func (m *SocketEvent_Write) Marshal() (dAtA []byte, err error)

func (*SocketEvent_Write) MarshalTo

func (m *SocketEvent_Write) MarshalTo(dAtA []byte) (int, error)

func (*SocketEvent_Write) ProtoMessage

func (*SocketEvent_Write) ProtoMessage()

func (*SocketEvent_Write) Reset

func (m *SocketEvent_Write) Reset()

func (*SocketEvent_Write) Size

func (m *SocketEvent_Write) Size() (n int)

func (*SocketEvent_Write) String

func (m *SocketEvent_Write) String() string

func (*SocketEvent_Write) Unmarshal

func (m *SocketEvent_Write) Unmarshal(dAtA []byte) error

func (*SocketEvent_Write) Validate

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.

func (*SocketEvent_Write) XXX_DiscardUnknown

func (m *SocketEvent_Write) XXX_DiscardUnknown()

func (*SocketEvent_Write) XXX_Marshal

func (m *SocketEvent_Write) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SocketEvent_Write) XXX_Merge

func (m *SocketEvent_Write) XXX_Merge(src proto.Message)

func (*SocketEvent_Write) XXX_Size

func (m *SocketEvent_Write) XXX_Size() int

func (*SocketEvent_Write) XXX_Unmarshal

func (m *SocketEvent_Write) XXX_Unmarshal(b []byte) error

type SocketEvent_WriteValidationError

type SocketEvent_WriteValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

SocketEvent_WriteValidationError is the validation error returned by SocketEvent_Write.Validate if the designated constraints aren't met.

func (SocketEvent_WriteValidationError) Error

Error satisfies the builtin error interface

type SocketEvent_Write_

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

func (*SocketEvent_Write_) MarshalTo

func (m *SocketEvent_Write_) MarshalTo(dAtA []byte) (int, error)

func (*SocketEvent_Write_) Size

func (m *SocketEvent_Write_) Size() (n int)

type SocketTrace

type SocketTrace struct {
	// Connection properties.
	Connection *Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
	// Sequence of observed events.
	Events []*SocketEvent `protobuf:"bytes,2,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,3,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,4,opt,name=write_truncated,json=writeTruncated,proto3" json:"write_truncated,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Sequence of read/write events that constitute a trace on a socket. Multiple Trace messages might be emitted for a given connection ID, with the sink (e.g. file set, network) responsible for later reassembly.

func (*SocketTrace) Descriptor

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

func (*SocketTrace) GetConnection

func (m *SocketTrace) GetConnection() *Connection

func (*SocketTrace) GetEvents

func (m *SocketTrace) GetEvents() []*SocketEvent

func (*SocketTrace) GetReadTruncated

func (m *SocketTrace) GetReadTruncated() bool

func (*SocketTrace) GetWriteTruncated

func (m *SocketTrace) GetWriteTruncated() bool

func (*SocketTrace) Marshal

func (m *SocketTrace) Marshal() (dAtA []byte, err error)

func (*SocketTrace) MarshalTo

func (m *SocketTrace) MarshalTo(dAtA []byte) (int, error)

func (*SocketTrace) ProtoMessage

func (*SocketTrace) ProtoMessage()

func (*SocketTrace) Reset

func (m *SocketTrace) Reset()

func (*SocketTrace) Size

func (m *SocketTrace) Size() (n int)

func (*SocketTrace) String

func (m *SocketTrace) String() string

func (*SocketTrace) Unmarshal

func (m *SocketTrace) Unmarshal(dAtA []byte) error

func (*SocketTrace) Validate

func (m *SocketTrace) Validate() error

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

func (*SocketTrace) XXX_DiscardUnknown

func (m *SocketTrace) XXX_DiscardUnknown()

func (*SocketTrace) XXX_Marshal

func (m *SocketTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SocketTrace) XXX_Merge

func (m *SocketTrace) XXX_Merge(src proto.Message)

func (*SocketTrace) XXX_Size

func (m *SocketTrace) XXX_Size() int

func (*SocketTrace) XXX_Unmarshal

func (m *SocketTrace) XXX_Unmarshal(b []byte) error

type SocketTraceValidationError

type SocketTraceValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

SocketTraceValidationError is the validation error returned by SocketTrace.Validate if the designated constraints aren't met.

func (SocketTraceValidationError) Error

Error satisfies the builtin error interface

Source 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

Version
v0.6.8
Published
Mar 1, 2019
Platform
windows/amd64
Imports
16 packages
Last checked
17 minutes ago

Tools for package owners.