Documentation ¶
Index ¶
- Variables
- type Body
- func (*Body) Descriptor() ([]byte, []int)
- func (m *Body) GetAsBytes() []byte
- func (m *Body) GetAsString() string
- func (m *Body) GetBodyType() isBody_BodyType
- func (m *Body) GetTruncated() bool
- func (m *Body) Marshal() (dAtA []byte, err error)
- func (m *Body) MarshalTo(dAtA []byte) (int, error)
- func (*Body) ProtoMessage()
- func (m *Body) Reset()
- func (m *Body) Size() (n int)
- func (m *Body) String() string
- func (m *Body) Unmarshal(dAtA []byte) error
- func (m *Body) Validate() error
- func (m *Body) XXX_DiscardUnknown()
- func (m *Body) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Body) XXX_Merge(src proto.Message)
- func (*Body) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Body) XXX_Size() int
- func (m *Body) XXX_Unmarshal(b []byte) error
- type BodyValidationError
- type Body_AsBytes
- type Body_AsString
- type BufferedTraceWrapper
- func (*BufferedTraceWrapper) Descriptor() ([]byte, []int)
- func (m *BufferedTraceWrapper) GetHttpBufferedTrace() *HttpBufferedTrace
- func (m *BufferedTraceWrapper) GetSocketBufferedTrace() *SocketTrace
- func (m *BufferedTraceWrapper) GetTrace() isBufferedTraceWrapper_Trace
- func (m *BufferedTraceWrapper) Marshal() (dAtA []byte, err error)
- func (m *BufferedTraceWrapper) MarshalTo(dAtA []byte) (int, error)
- func (*BufferedTraceWrapper) ProtoMessage()
- func (m *BufferedTraceWrapper) Reset()
- func (m *BufferedTraceWrapper) Size() (n int)
- func (m *BufferedTraceWrapper) String() string
- func (m *BufferedTraceWrapper) Unmarshal(dAtA []byte) error
- func (m *BufferedTraceWrapper) Validate() error
- func (m *BufferedTraceWrapper) XXX_DiscardUnknown()
- func (m *BufferedTraceWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BufferedTraceWrapper) XXX_Merge(src proto.Message)
- func (*BufferedTraceWrapper) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *BufferedTraceWrapper) XXX_Size() int
- func (m *BufferedTraceWrapper) XXX_Unmarshal(b []byte) error
- type BufferedTraceWrapperValidationError
- type BufferedTraceWrapper_HttpBufferedTrace
- type BufferedTraceWrapper_SocketBufferedTrace
- type Connection
- func (*Connection) Descriptor() ([]byte, []int)
- func (m *Connection) GetId() uint64
- func (m *Connection) GetLocalAddress() *core.Address
- func (m *Connection) GetRemoteAddress() *core.Address
- func (m *Connection) Marshal() (dAtA []byte, err error)
- func (m *Connection) MarshalTo(dAtA []byte) (int, error)
- func (*Connection) ProtoMessage()
- func (m *Connection) Reset()
- func (m *Connection) Size() (n int)
- func (m *Connection) String() string
- func (m *Connection) Unmarshal(dAtA []byte) error
- func (m *Connection) Validate() error
- func (m *Connection) XXX_DiscardUnknown()
- func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Connection) XXX_Merge(src proto.Message)
- func (m *Connection) XXX_Size() int
- func (m *Connection) XXX_Unmarshal(b []byte) error
- type ConnectionValidationError
- type HttpBufferedTrace
- func (*HttpBufferedTrace) Descriptor() ([]byte, []int)
- func (m *HttpBufferedTrace) GetRequest() *HttpBufferedTrace_Message
- func (m *HttpBufferedTrace) GetResponse() *HttpBufferedTrace_Message
- func (m *HttpBufferedTrace) Marshal() (dAtA []byte, err error)
- func (m *HttpBufferedTrace) MarshalTo(dAtA []byte) (int, error)
- func (*HttpBufferedTrace) ProtoMessage()
- func (m *HttpBufferedTrace) Reset()
- func (m *HttpBufferedTrace) Size() (n int)
- func (m *HttpBufferedTrace) String() string
- func (m *HttpBufferedTrace) Unmarshal(dAtA []byte) error
- func (m *HttpBufferedTrace) Validate() error
- func (m *HttpBufferedTrace) XXX_DiscardUnknown()
- func (m *HttpBufferedTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HttpBufferedTrace) XXX_Merge(src proto.Message)
- func (m *HttpBufferedTrace) XXX_Size() int
- func (m *HttpBufferedTrace) XXX_Unmarshal(b []byte) error
- type HttpBufferedTraceValidationError
- type HttpBufferedTrace_Message
- func (*HttpBufferedTrace_Message) Descriptor() ([]byte, []int)
- func (m *HttpBufferedTrace_Message) GetBody() *Body
- func (m *HttpBufferedTrace_Message) GetHeaders() []*core.HeaderValue
- func (m *HttpBufferedTrace_Message) GetTrailers() []*core.HeaderValue
- func (m *HttpBufferedTrace_Message) Marshal() (dAtA []byte, err error)
- func (m *HttpBufferedTrace_Message) MarshalTo(dAtA []byte) (int, error)
- func (*HttpBufferedTrace_Message) ProtoMessage()
- func (m *HttpBufferedTrace_Message) Reset()
- func (m *HttpBufferedTrace_Message) Size() (n int)
- func (m *HttpBufferedTrace_Message) String() string
- func (m *HttpBufferedTrace_Message) Unmarshal(dAtA []byte) error
- func (m *HttpBufferedTrace_Message) Validate() error
- func (m *HttpBufferedTrace_Message) XXX_DiscardUnknown()
- func (m *HttpBufferedTrace_Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HttpBufferedTrace_Message) XXX_Merge(src proto.Message)
- func (m *HttpBufferedTrace_Message) XXX_Size() int
- func (m *HttpBufferedTrace_Message) XXX_Unmarshal(b []byte) error
- type HttpBufferedTrace_MessageValidationError
- type SocketEvent
- func (*SocketEvent) Descriptor() ([]byte, []int)
- func (m *SocketEvent) GetEventSelector() isSocketEvent_EventSelector
- func (m *SocketEvent) GetRead() *SocketEvent_Read
- func (m *SocketEvent) GetTimestamp() *types.Timestamp
- func (m *SocketEvent) GetWrite() *SocketEvent_Write
- func (m *SocketEvent) Marshal() (dAtA []byte, err error)
- func (m *SocketEvent) MarshalTo(dAtA []byte) (int, error)
- func (*SocketEvent) ProtoMessage()
- func (m *SocketEvent) Reset()
- func (m *SocketEvent) Size() (n int)
- func (m *SocketEvent) String() string
- func (m *SocketEvent) Unmarshal(dAtA []byte) error
- func (m *SocketEvent) Validate() error
- func (m *SocketEvent) XXX_DiscardUnknown()
- func (m *SocketEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SocketEvent) XXX_Merge(src proto.Message)
- func (*SocketEvent) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *SocketEvent) XXX_Size() int
- func (m *SocketEvent) XXX_Unmarshal(b []byte) error
- type SocketEventValidationError
- type SocketEvent_Read
- func (*SocketEvent_Read) Descriptor() ([]byte, []int)
- func (m *SocketEvent_Read) GetData() *Body
- func (m *SocketEvent_Read) Marshal() (dAtA []byte, err error)
- func (m *SocketEvent_Read) MarshalTo(dAtA []byte) (int, error)
- func (*SocketEvent_Read) ProtoMessage()
- func (m *SocketEvent_Read) Reset()
- func (m *SocketEvent_Read) Size() (n int)
- func (m *SocketEvent_Read) String() string
- func (m *SocketEvent_Read) Unmarshal(dAtA []byte) error
- func (m *SocketEvent_Read) Validate() error
- func (m *SocketEvent_Read) XXX_DiscardUnknown()
- func (m *SocketEvent_Read) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SocketEvent_Read) XXX_Merge(src proto.Message)
- func (m *SocketEvent_Read) XXX_Size() int
- func (m *SocketEvent_Read) XXX_Unmarshal(b []byte) error
- type SocketEvent_ReadValidationError
- type SocketEvent_Read_
- type SocketEvent_Write
- func (*SocketEvent_Write) Descriptor() ([]byte, []int)
- func (m *SocketEvent_Write) GetData() *Body
- func (m *SocketEvent_Write) GetEndStream() bool
- func (m *SocketEvent_Write) Marshal() (dAtA []byte, err error)
- func (m *SocketEvent_Write) MarshalTo(dAtA []byte) (int, error)
- func (*SocketEvent_Write) ProtoMessage()
- func (m *SocketEvent_Write) Reset()
- func (m *SocketEvent_Write) Size() (n int)
- func (m *SocketEvent_Write) String() string
- func (m *SocketEvent_Write) Unmarshal(dAtA []byte) error
- func (m *SocketEvent_Write) Validate() error
- func (m *SocketEvent_Write) XXX_DiscardUnknown()
- func (m *SocketEvent_Write) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SocketEvent_Write) XXX_Merge(src proto.Message)
- func (m *SocketEvent_Write) XXX_Size() int
- func (m *SocketEvent_Write) XXX_Unmarshal(b []byte) error
- type SocketEvent_WriteValidationError
- type SocketEvent_Write_
- type SocketTrace
- func (*SocketTrace) Descriptor() ([]byte, []int)
- func (m *SocketTrace) GetConnection() *Connection
- func (m *SocketTrace) GetEvents() []*SocketEvent
- func (m *SocketTrace) GetReadTruncated() bool
- func (m *SocketTrace) GetWriteTruncated() bool
- func (m *SocketTrace) Marshal() (dAtA []byte, err error)
- func (m *SocketTrace) MarshalTo(dAtA []byte) (int, error)
- func (*SocketTrace) ProtoMessage()
- func (m *SocketTrace) Reset()
- func (m *SocketTrace) Size() (n int)
- func (m *SocketTrace) String() string
- func (m *SocketTrace) Unmarshal(dAtA []byte) error
- func (m *SocketTrace) Validate() error
- func (m *SocketTrace) XXX_DiscardUnknown()
- func (m *SocketTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SocketTrace) XXX_Merge(src proto.Message)
- func (m *SocketTrace) XXX_Size() int
- func (m *SocketTrace) XXX_Unmarshal(b []byte) error
- type SocketTraceValidationError
Constants ¶
This section is empty.
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") )
Functions ¶
This section is empty.
Types ¶
type Body ¶ added in v0.6.8
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 ¶ 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) 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, an error is returned.
func (*Body) XXX_DiscardUnknown ¶ added in v0.6.8
func (m *Body) XXX_DiscardUnknown()
func (*Body) XXX_Marshal ¶ added in v0.6.8
func (*Body) XXX_OneofFuncs ¶ added in v0.6.8
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_Unmarshal ¶ added in v0.6.8
type BodyValidationError ¶ added in v0.6.8
BodyValidationError is the validation error returned by Body.Validate if the designated constraints aren't met.
func (BodyValidationError) Error ¶ added in v0.6.8
func (e BodyValidationError) Error() string
Error satisfies the builtin error interface
type Body_AsBytes ¶ added in v0.6.8
type Body_AsBytes struct {
AsBytes []byte `protobuf:"bytes,1,opt,name=as_bytes,json=asBytes,proto3,oneof"`
}
func (*Body_AsBytes) MarshalTo ¶ added in v0.6.8
func (m *Body_AsBytes) MarshalTo(dAtA []byte) (int, error)
func (*Body_AsBytes) Size ¶ added in v0.6.8
func (m *Body_AsBytes) Size() (n int)
type Body_AsString ¶ added in v0.6.8
type Body_AsString struct {
AsString string `protobuf:"bytes,2,opt,name=as_string,json=asString,proto3,oneof"`
}
func (*Body_AsString) MarshalTo ¶ added in v0.6.8
func (m *Body_AsString) MarshalTo(dAtA []byte) (int, error)
func (*Body_AsString) Size ¶ added in v0.6.8
func (m *Body_AsString) Size() (n int)
type BufferedTraceWrapper ¶ added in v0.6.8
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 ¶ added in v0.6.8
func (*BufferedTraceWrapper) Descriptor() ([]byte, []int)
func (*BufferedTraceWrapper) GetHttpBufferedTrace ¶ added in v0.6.8
func (m *BufferedTraceWrapper) GetHttpBufferedTrace() *HttpBufferedTrace
func (*BufferedTraceWrapper) GetSocketBufferedTrace ¶ added in v0.6.8
func (m *BufferedTraceWrapper) GetSocketBufferedTrace() *SocketTrace
func (*BufferedTraceWrapper) GetTrace ¶ added in v0.6.8
func (m *BufferedTraceWrapper) GetTrace() isBufferedTraceWrapper_Trace
func (*BufferedTraceWrapper) Marshal ¶ added in v0.6.8
func (m *BufferedTraceWrapper) Marshal() (dAtA []byte, err error)
func (*BufferedTraceWrapper) MarshalTo ¶ added in v0.6.8
func (m *BufferedTraceWrapper) MarshalTo(dAtA []byte) (int, error)
func (*BufferedTraceWrapper) ProtoMessage ¶ added in v0.6.8
func (*BufferedTraceWrapper) ProtoMessage()
func (*BufferedTraceWrapper) Reset ¶ added in v0.6.8
func (m *BufferedTraceWrapper) Reset()
func (*BufferedTraceWrapper) Size ¶ added in v0.6.8
func (m *BufferedTraceWrapper) Size() (n int)
func (*BufferedTraceWrapper) String ¶ added in v0.6.8
func (m *BufferedTraceWrapper) String() string
func (*BufferedTraceWrapper) Unmarshal ¶ added in v0.6.8
func (m *BufferedTraceWrapper) Unmarshal(dAtA []byte) error
func (*BufferedTraceWrapper) Validate ¶ added in v0.6.8
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 ¶ added in v0.6.8
func (m *BufferedTraceWrapper) XXX_DiscardUnknown()
func (*BufferedTraceWrapper) XXX_Marshal ¶ added in v0.6.8
func (m *BufferedTraceWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BufferedTraceWrapper) XXX_Merge ¶ added in v0.6.8
func (m *BufferedTraceWrapper) XXX_Merge(src proto.Message)
func (*BufferedTraceWrapper) XXX_OneofFuncs ¶ added in v0.6.8
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 ¶ added in v0.6.8
func (m *BufferedTraceWrapper) XXX_Size() int
func (*BufferedTraceWrapper) XXX_Unmarshal ¶ added in v0.6.8
func (m *BufferedTraceWrapper) XXX_Unmarshal(b []byte) error
type BufferedTraceWrapperValidationError ¶ added in v0.6.8
BufferedTraceWrapperValidationError is the validation error returned by BufferedTraceWrapper.Validate if the designated constraints aren't met.
func (BufferedTraceWrapperValidationError) Error ¶ added in v0.6.8
func (e BufferedTraceWrapperValidationError) Error() string
Error satisfies the builtin error interface
type BufferedTraceWrapper_HttpBufferedTrace ¶ added in v0.6.8
type BufferedTraceWrapper_HttpBufferedTrace struct {
HttpBufferedTrace *HttpBufferedTrace `protobuf:"bytes,1,opt,name=http_buffered_trace,json=httpBufferedTrace,proto3,oneof"`
}
func (*BufferedTraceWrapper_HttpBufferedTrace) MarshalTo ¶ added in v0.6.8
func (m *BufferedTraceWrapper_HttpBufferedTrace) MarshalTo(dAtA []byte) (int, error)
func (*BufferedTraceWrapper_HttpBufferedTrace) Size ¶ added in v0.6.8
func (m *BufferedTraceWrapper_HttpBufferedTrace) Size() (n int)
type BufferedTraceWrapper_SocketBufferedTrace ¶ added in v0.6.8
type BufferedTraceWrapper_SocketBufferedTrace struct {
SocketBufferedTrace *SocketTrace `protobuf:"bytes,2,opt,name=socket_buffered_trace,json=socketBufferedTrace,proto3,oneof"`
}
func (*BufferedTraceWrapper_SocketBufferedTrace) MarshalTo ¶ added in v0.6.8
func (m *BufferedTraceWrapper_SocketBufferedTrace) MarshalTo(dAtA []byte) (int, error)
func (*BufferedTraceWrapper_SocketBufferedTrace) Size ¶ added in v0.6.8
func (m *BufferedTraceWrapper_SocketBufferedTrace) Size() (n int)
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) 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 ¶
ConnectionValidationError is the validation error returned by Connection.Validate if the designated constraints aren't met.
func (ConnectionValidationError) Error ¶
func (e ConnectionValidationError) Error() string
Error satisfies the builtin error interface
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A fully buffered HTTP trace message.
func (*HttpBufferedTrace) Descriptor ¶ added in v0.6.8
func (*HttpBufferedTrace) Descriptor() ([]byte, []int)
func (*HttpBufferedTrace) GetRequest ¶ added in v0.6.8
func (m *HttpBufferedTrace) GetRequest() *HttpBufferedTrace_Message
func (*HttpBufferedTrace) GetResponse ¶ added in v0.6.8
func (m *HttpBufferedTrace) GetResponse() *HttpBufferedTrace_Message
func (*HttpBufferedTrace) Marshal ¶ added in v0.6.8
func (m *HttpBufferedTrace) Marshal() (dAtA []byte, err error)
func (*HttpBufferedTrace) MarshalTo ¶ added in v0.6.8
func (m *HttpBufferedTrace) MarshalTo(dAtA []byte) (int, error)
func (*HttpBufferedTrace) ProtoMessage ¶ added in v0.6.8
func (*HttpBufferedTrace) ProtoMessage()
func (*HttpBufferedTrace) Reset ¶ added in v0.6.8
func (m *HttpBufferedTrace) Reset()
func (*HttpBufferedTrace) Size ¶ added in v0.6.8
func (m *HttpBufferedTrace) Size() (n int)
func (*HttpBufferedTrace) String ¶ added in v0.6.8
func (m *HttpBufferedTrace) String() string
func (*HttpBufferedTrace) Unmarshal ¶ added in v0.6.8
func (m *HttpBufferedTrace) Unmarshal(dAtA []byte) error
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, an error is returned.
func (*HttpBufferedTrace) XXX_DiscardUnknown ¶ added in v0.6.8
func (m *HttpBufferedTrace) XXX_DiscardUnknown()
func (*HttpBufferedTrace) XXX_Marshal ¶ added in v0.6.8
func (m *HttpBufferedTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpBufferedTrace) XXX_Merge ¶ added in v0.6.8
func (m *HttpBufferedTrace) XXX_Merge(src proto.Message)
func (*HttpBufferedTrace) XXX_Size ¶ added in v0.6.8
func (m *HttpBufferedTrace) XXX_Size() int
func (*HttpBufferedTrace) XXX_Unmarshal ¶ added in v0.6.8
func (m *HttpBufferedTrace) XXX_Unmarshal(b []byte) error
type HttpBufferedTraceValidationError ¶ added in v0.6.8
HttpBufferedTraceValidationError is the validation error returned by HttpBufferedTrace.Validate if the designated constraints aren't met.
func (HttpBufferedTraceValidationError) Error ¶ added in v0.6.8
func (e HttpBufferedTraceValidationError) Error() string
Error satisfies the builtin error interface
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
HTTP message wrapper.
func (*HttpBufferedTrace_Message) Descriptor ¶ added in v0.6.8
func (*HttpBufferedTrace_Message) Descriptor() ([]byte, []int)
func (*HttpBufferedTrace_Message) GetBody ¶ added in v0.6.8
func (m *HttpBufferedTrace_Message) GetBody() *Body
func (*HttpBufferedTrace_Message) GetHeaders ¶ added in v0.6.8
func (m *HttpBufferedTrace_Message) GetHeaders() []*core.HeaderValue
func (*HttpBufferedTrace_Message) GetTrailers ¶ added in v0.6.8
func (m *HttpBufferedTrace_Message) GetTrailers() []*core.HeaderValue
func (*HttpBufferedTrace_Message) Marshal ¶ added in v0.6.8
func (m *HttpBufferedTrace_Message) Marshal() (dAtA []byte, err error)
func (*HttpBufferedTrace_Message) MarshalTo ¶ added in v0.6.8
func (m *HttpBufferedTrace_Message) MarshalTo(dAtA []byte) (int, error)
func (*HttpBufferedTrace_Message) ProtoMessage ¶ added in v0.6.8
func (*HttpBufferedTrace_Message) ProtoMessage()
func (*HttpBufferedTrace_Message) Reset ¶ added in v0.6.8
func (m *HttpBufferedTrace_Message) Reset()
func (*HttpBufferedTrace_Message) Size ¶ added in v0.6.8
func (m *HttpBufferedTrace_Message) Size() (n int)
func (*HttpBufferedTrace_Message) String ¶ added in v0.6.8
func (m *HttpBufferedTrace_Message) String() string
func (*HttpBufferedTrace_Message) Unmarshal ¶ added in v0.6.8
func (m *HttpBufferedTrace_Message) Unmarshal(dAtA []byte) error
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, an error is returned.
func (*HttpBufferedTrace_Message) XXX_DiscardUnknown ¶ added in v0.6.8
func (m *HttpBufferedTrace_Message) XXX_DiscardUnknown()
func (*HttpBufferedTrace_Message) XXX_Marshal ¶ added in v0.6.8
func (m *HttpBufferedTrace_Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpBufferedTrace_Message) XXX_Merge ¶ added in v0.6.8
func (m *HttpBufferedTrace_Message) XXX_Merge(src proto.Message)
func (*HttpBufferedTrace_Message) XXX_Size ¶ added in v0.6.8
func (m *HttpBufferedTrace_Message) XXX_Size() int
func (*HttpBufferedTrace_Message) XXX_Unmarshal ¶ added in v0.6.8
func (m *HttpBufferedTrace_Message) XXX_Unmarshal(b []byte) error
type HttpBufferedTrace_MessageValidationError ¶ added in v0.6.8
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 ¶ added in v0.6.8
func (e HttpBufferedTrace_MessageValidationError) Error() string
Error satisfies the builtin error interface
type SocketEvent ¶ added in v0.6.8
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 ¶ added in v0.6.8
func (*SocketEvent) Descriptor() ([]byte, []int)
func (*SocketEvent) GetEventSelector ¶ added in v0.6.8
func (m *SocketEvent) GetEventSelector() isSocketEvent_EventSelector
func (*SocketEvent) GetRead ¶ added in v0.6.8
func (m *SocketEvent) GetRead() *SocketEvent_Read
func (*SocketEvent) GetTimestamp ¶ added in v0.6.8
func (m *SocketEvent) GetTimestamp() *types.Timestamp
func (*SocketEvent) GetWrite ¶ added in v0.6.8
func (m *SocketEvent) GetWrite() *SocketEvent_Write
func (*SocketEvent) Marshal ¶ added in v0.6.8
func (m *SocketEvent) Marshal() (dAtA []byte, err error)
func (*SocketEvent) MarshalTo ¶ added in v0.6.8
func (m *SocketEvent) MarshalTo(dAtA []byte) (int, error)
func (*SocketEvent) ProtoMessage ¶ added in v0.6.8
func (*SocketEvent) ProtoMessage()
func (*SocketEvent) Reset ¶ added in v0.6.8
func (m *SocketEvent) Reset()
func (*SocketEvent) Size ¶ added in v0.6.8
func (m *SocketEvent) Size() (n int)
func (*SocketEvent) String ¶ added in v0.6.8
func (m *SocketEvent) String() string
func (*SocketEvent) Unmarshal ¶ added in v0.6.8
func (m *SocketEvent) Unmarshal(dAtA []byte) error
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, an error is returned.
func (*SocketEvent) XXX_DiscardUnknown ¶ added in v0.6.8
func (m *SocketEvent) XXX_DiscardUnknown()
func (*SocketEvent) XXX_Marshal ¶ added in v0.6.8
func (m *SocketEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SocketEvent) XXX_Merge ¶ added in v0.6.8
func (m *SocketEvent) XXX_Merge(src proto.Message)
func (*SocketEvent) XXX_OneofFuncs ¶ added in v0.6.8
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 ¶ added in v0.6.8
func (m *SocketEvent) XXX_Size() int
func (*SocketEvent) XXX_Unmarshal ¶ added in v0.6.8
func (m *SocketEvent) XXX_Unmarshal(b []byte) error
type SocketEventValidationError ¶ added in v0.6.8
SocketEventValidationError is the validation error returned by SocketEvent.Validate if the designated constraints aren't met.
func (SocketEventValidationError) Error ¶ added in v0.6.8
func (e SocketEventValidationError) Error() string
Error satisfies the builtin error interface
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Data read by Envoy from the transport socket.
func (*SocketEvent_Read) Descriptor ¶ added in v0.6.8
func (*SocketEvent_Read) Descriptor() ([]byte, []int)
func (*SocketEvent_Read) GetData ¶ added in v0.6.8
func (m *SocketEvent_Read) GetData() *Body
func (*SocketEvent_Read) Marshal ¶ added in v0.6.8
func (m *SocketEvent_Read) Marshal() (dAtA []byte, err error)
func (*SocketEvent_Read) MarshalTo ¶ added in v0.6.8
func (m *SocketEvent_Read) MarshalTo(dAtA []byte) (int, error)
func (*SocketEvent_Read) ProtoMessage ¶ added in v0.6.8
func (*SocketEvent_Read) ProtoMessage()
func (*SocketEvent_Read) Reset ¶ added in v0.6.8
func (m *SocketEvent_Read) Reset()
func (*SocketEvent_Read) Size ¶ added in v0.6.8
func (m *SocketEvent_Read) Size() (n int)
func (*SocketEvent_Read) String ¶ added in v0.6.8
func (m *SocketEvent_Read) String() string
func (*SocketEvent_Read) Unmarshal ¶ added in v0.6.8
func (m *SocketEvent_Read) Unmarshal(dAtA []byte) error
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, an error is returned.
func (*SocketEvent_Read) XXX_DiscardUnknown ¶ added in v0.6.8
func (m *SocketEvent_Read) XXX_DiscardUnknown()
func (*SocketEvent_Read) XXX_Marshal ¶ added in v0.6.8
func (m *SocketEvent_Read) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SocketEvent_Read) XXX_Merge ¶ added in v0.6.8
func (m *SocketEvent_Read) XXX_Merge(src proto.Message)
func (*SocketEvent_Read) XXX_Size ¶ added in v0.6.8
func (m *SocketEvent_Read) XXX_Size() int
func (*SocketEvent_Read) XXX_Unmarshal ¶ added in v0.6.8
func (m *SocketEvent_Read) XXX_Unmarshal(b []byte) error
type SocketEvent_ReadValidationError ¶ added in v0.6.8
SocketEvent_ReadValidationError is the validation error returned by SocketEvent_Read.Validate if the designated constraints aren't met.
func (SocketEvent_ReadValidationError) Error ¶ added in v0.6.8
func (e SocketEvent_ReadValidationError) Error() string
Error satisfies the builtin error interface
type SocketEvent_Read_ ¶ added in v0.6.8
type SocketEvent_Read_ struct {
Read *SocketEvent_Read `protobuf:"bytes,2,opt,name=read,proto3,oneof"`
}
func (*SocketEvent_Read_) MarshalTo ¶ added in v0.6.8
func (m *SocketEvent_Read_) MarshalTo(dAtA []byte) (int, error)
func (*SocketEvent_Read_) Size ¶ added in v0.6.8
func (m *SocketEvent_Read_) Size() (n int)
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Data written by Envoy to the transport socket.
func (*SocketEvent_Write) Descriptor ¶ added in v0.6.8
func (*SocketEvent_Write) Descriptor() ([]byte, []int)
func (*SocketEvent_Write) GetData ¶ added in v0.6.8
func (m *SocketEvent_Write) GetData() *Body
func (*SocketEvent_Write) GetEndStream ¶ added in v0.6.8
func (m *SocketEvent_Write) GetEndStream() bool
func (*SocketEvent_Write) Marshal ¶ added in v0.6.8
func (m *SocketEvent_Write) Marshal() (dAtA []byte, err error)
func (*SocketEvent_Write) MarshalTo ¶ added in v0.6.8
func (m *SocketEvent_Write) MarshalTo(dAtA []byte) (int, error)
func (*SocketEvent_Write) ProtoMessage ¶ added in v0.6.8
func (*SocketEvent_Write) ProtoMessage()
func (*SocketEvent_Write) Reset ¶ added in v0.6.8
func (m *SocketEvent_Write) Reset()
func (*SocketEvent_Write) Size ¶ added in v0.6.8
func (m *SocketEvent_Write) Size() (n int)
func (*SocketEvent_Write) String ¶ added in v0.6.8
func (m *SocketEvent_Write) String() string
func (*SocketEvent_Write) Unmarshal ¶ added in v0.6.8
func (m *SocketEvent_Write) Unmarshal(dAtA []byte) error
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, an error is returned.
func (*SocketEvent_Write) XXX_DiscardUnknown ¶ added in v0.6.8
func (m *SocketEvent_Write) XXX_DiscardUnknown()
func (*SocketEvent_Write) XXX_Marshal ¶ added in v0.6.8
func (m *SocketEvent_Write) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SocketEvent_Write) XXX_Merge ¶ added in v0.6.8
func (m *SocketEvent_Write) XXX_Merge(src proto.Message)
func (*SocketEvent_Write) XXX_Size ¶ added in v0.6.8
func (m *SocketEvent_Write) XXX_Size() int
func (*SocketEvent_Write) XXX_Unmarshal ¶ added in v0.6.8
func (m *SocketEvent_Write) XXX_Unmarshal(b []byte) error
type SocketEvent_WriteValidationError ¶ added in v0.6.8
SocketEvent_WriteValidationError is the validation error returned by SocketEvent_Write.Validate if the designated constraints aren't met.
func (SocketEvent_WriteValidationError) Error ¶ added in v0.6.8
func (e SocketEvent_WriteValidationError) Error() string
Error satisfies the builtin error interface
type SocketEvent_Write_ ¶ added in v0.6.8
type SocketEvent_Write_ struct {
Write *SocketEvent_Write `protobuf:"bytes,3,opt,name=write,proto3,oneof"`
}
func (*SocketEvent_Write_) MarshalTo ¶ added in v0.6.8
func (m *SocketEvent_Write_) MarshalTo(dAtA []byte) (int, error)
func (*SocketEvent_Write_) Size ¶ added in v0.6.8
func (m *SocketEvent_Write_) Size() (n int)
type SocketTrace ¶ added in v0.6.8
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 ¶ added in v0.6.8
func (*SocketTrace) Descriptor() ([]byte, []int)
func (*SocketTrace) GetConnection ¶ added in v0.6.8
func (m *SocketTrace) GetConnection() *Connection
func (*SocketTrace) GetEvents ¶ added in v0.6.8
func (m *SocketTrace) GetEvents() []*SocketEvent
func (*SocketTrace) GetReadTruncated ¶ added in v0.6.8
func (m *SocketTrace) GetReadTruncated() bool
func (*SocketTrace) GetWriteTruncated ¶ added in v0.6.8
func (m *SocketTrace) GetWriteTruncated() bool
func (*SocketTrace) Marshal ¶ added in v0.6.8
func (m *SocketTrace) Marshal() (dAtA []byte, err error)
func (*SocketTrace) MarshalTo ¶ added in v0.6.8
func (m *SocketTrace) MarshalTo(dAtA []byte) (int, error)
func (*SocketTrace) ProtoMessage ¶ added in v0.6.8
func (*SocketTrace) ProtoMessage()
func (*SocketTrace) Reset ¶ added in v0.6.8
func (m *SocketTrace) Reset()
func (*SocketTrace) Size ¶ added in v0.6.8
func (m *SocketTrace) Size() (n int)
func (*SocketTrace) String ¶ added in v0.6.8
func (m *SocketTrace) String() string
func (*SocketTrace) Unmarshal ¶ added in v0.6.8
func (m *SocketTrace) Unmarshal(dAtA []byte) error
func (*SocketTrace) Validate ¶ added in v0.6.8
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 ¶ added in v0.6.8
func (m *SocketTrace) XXX_DiscardUnknown()
func (*SocketTrace) XXX_Marshal ¶ added in v0.6.8
func (m *SocketTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SocketTrace) XXX_Merge ¶ added in v0.6.8
func (m *SocketTrace) XXX_Merge(src proto.Message)
func (*SocketTrace) XXX_Size ¶ added in v0.6.8
func (m *SocketTrace) XXX_Size() int
func (*SocketTrace) XXX_Unmarshal ¶ added in v0.6.8
func (m *SocketTrace) XXX_Unmarshal(b []byte) error
type SocketTraceValidationError ¶ added in v0.6.8
SocketTraceValidationError is the validation error returned by SocketTrace.Validate if the designated constraints aren't met.
func (SocketTraceValidationError) Error ¶ added in v0.6.8
func (e SocketTraceValidationError) Error() string
Error satisfies the builtin error interface