Documentation ¶
Index ¶
- Variables
- func RegisterTraceServiceServer(s *grpc.Server, srv TraceServiceServer)
- type StreamTracesMessage
- func (*StreamTracesMessage) Descriptor() ([]byte, []int)
- func (m *StreamTracesMessage) GetIdentifier() *StreamTracesMessage_Identifier
- func (m *StreamTracesMessage) GetSpans() []*v1.Span
- func (m *StreamTracesMessage) Marshal() (dAtA []byte, err error)
- func (m *StreamTracesMessage) MarshalTo(dAtA []byte) (int, error)
- func (*StreamTracesMessage) ProtoMessage()
- func (m *StreamTracesMessage) Reset()
- func (m *StreamTracesMessage) Size() (n int)
- func (m *StreamTracesMessage) String() string
- func (m *StreamTracesMessage) Unmarshal(dAtA []byte) error
- func (m *StreamTracesMessage) Validate() error
- func (m *StreamTracesMessage) XXX_DiscardUnknown()
- func (m *StreamTracesMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamTracesMessage) XXX_Merge(src proto.Message)
- func (m *StreamTracesMessage) XXX_Size() int
- func (m *StreamTracesMessage) XXX_Unmarshal(b []byte) error
- type StreamTracesMessageValidationError
- func (e StreamTracesMessageValidationError) Cause() error
- func (e StreamTracesMessageValidationError) Error() string
- func (e StreamTracesMessageValidationError) ErrorName() string
- func (e StreamTracesMessageValidationError) Field() string
- func (e StreamTracesMessageValidationError) Key() bool
- func (e StreamTracesMessageValidationError) Reason() string
- type StreamTracesMessage_Identifier
- func (*StreamTracesMessage_Identifier) Descriptor() ([]byte, []int)
- func (m *StreamTracesMessage_Identifier) GetNode() *core.Node
- func (m *StreamTracesMessage_Identifier) Marshal() (dAtA []byte, err error)
- func (m *StreamTracesMessage_Identifier) MarshalTo(dAtA []byte) (int, error)
- func (*StreamTracesMessage_Identifier) ProtoMessage()
- func (m *StreamTracesMessage_Identifier) Reset()
- func (m *StreamTracesMessage_Identifier) Size() (n int)
- func (m *StreamTracesMessage_Identifier) String() string
- func (m *StreamTracesMessage_Identifier) Unmarshal(dAtA []byte) error
- func (m *StreamTracesMessage_Identifier) Validate() error
- func (m *StreamTracesMessage_Identifier) XXX_DiscardUnknown()
- func (m *StreamTracesMessage_Identifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamTracesMessage_Identifier) XXX_Merge(src proto.Message)
- func (m *StreamTracesMessage_Identifier) XXX_Size() int
- func (m *StreamTracesMessage_Identifier) XXX_Unmarshal(b []byte) error
- type StreamTracesMessage_IdentifierValidationError
- func (e StreamTracesMessage_IdentifierValidationError) Cause() error
- func (e StreamTracesMessage_IdentifierValidationError) Error() string
- func (e StreamTracesMessage_IdentifierValidationError) ErrorName() string
- func (e StreamTracesMessage_IdentifierValidationError) Field() string
- func (e StreamTracesMessage_IdentifierValidationError) Key() bool
- func (e StreamTracesMessage_IdentifierValidationError) Reason() string
- type StreamTracesResponse
- func (*StreamTracesResponse) Descriptor() ([]byte, []int)
- func (m *StreamTracesResponse) Marshal() (dAtA []byte, err error)
- func (m *StreamTracesResponse) MarshalTo(dAtA []byte) (int, error)
- func (*StreamTracesResponse) ProtoMessage()
- func (m *StreamTracesResponse) Reset()
- func (m *StreamTracesResponse) Size() (n int)
- func (m *StreamTracesResponse) String() string
- func (m *StreamTracesResponse) Unmarshal(dAtA []byte) error
- func (m *StreamTracesResponse) Validate() error
- func (m *StreamTracesResponse) XXX_DiscardUnknown()
- func (m *StreamTracesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamTracesResponse) XXX_Merge(src proto.Message)
- func (m *StreamTracesResponse) XXX_Size() int
- func (m *StreamTracesResponse) XXX_Unmarshal(b []byte) error
- type StreamTracesResponseValidationError
- func (e StreamTracesResponseValidationError) Cause() error
- func (e StreamTracesResponseValidationError) Error() string
- func (e StreamTracesResponseValidationError) ErrorName() string
- func (e StreamTracesResponseValidationError) Field() string
- func (e StreamTracesResponseValidationError) Key() bool
- func (e StreamTracesResponseValidationError) Reason() string
- type TraceServiceClient
- type TraceServiceServer
- type TraceService_StreamTracesClient
- type TraceService_StreamTracesServer
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthTraceService = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTraceService = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterTraceServiceServer ¶
func RegisterTraceServiceServer(s *grpc.Server, srv TraceServiceServer)
Types ¶
type StreamTracesMessage ¶
type StreamTracesMessage struct { // Identifier data effectively is a structured metadata. // As a performance optimization this will only be sent in the first message // on the stream. Identifier *StreamTracesMessage_Identifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` // A list of Span entries Spans []*v1.Span `protobuf:"bytes,2,rep,name=spans,proto3" json:"spans,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StreamTracesMessage) Descriptor ¶
func (*StreamTracesMessage) Descriptor() ([]byte, []int)
func (*StreamTracesMessage) GetIdentifier ¶
func (m *StreamTracesMessage) GetIdentifier() *StreamTracesMessage_Identifier
func (*StreamTracesMessage) GetSpans ¶
func (m *StreamTracesMessage) GetSpans() []*v1.Span
func (*StreamTracesMessage) Marshal ¶ added in v0.5.0
func (m *StreamTracesMessage) Marshal() (dAtA []byte, err error)
func (*StreamTracesMessage) MarshalTo ¶ added in v0.5.0
func (m *StreamTracesMessage) MarshalTo(dAtA []byte) (int, error)
func (*StreamTracesMessage) ProtoMessage ¶
func (*StreamTracesMessage) ProtoMessage()
func (*StreamTracesMessage) Reset ¶
func (m *StreamTracesMessage) Reset()
func (*StreamTracesMessage) Size ¶ added in v0.5.0
func (m *StreamTracesMessage) Size() (n int)
func (*StreamTracesMessage) String ¶
func (m *StreamTracesMessage) String() string
func (*StreamTracesMessage) Unmarshal ¶ added in v0.5.0
func (m *StreamTracesMessage) Unmarshal(dAtA []byte) error
func (*StreamTracesMessage) Validate ¶
func (m *StreamTracesMessage) Validate() error
Validate checks the field values on StreamTracesMessage with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*StreamTracesMessage) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *StreamTracesMessage) XXX_DiscardUnknown()
func (*StreamTracesMessage) XXX_Marshal ¶ added in v0.5.0
func (m *StreamTracesMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamTracesMessage) XXX_Merge ¶ added in v0.5.0
func (m *StreamTracesMessage) XXX_Merge(src proto.Message)
func (*StreamTracesMessage) XXX_Size ¶ added in v0.5.0
func (m *StreamTracesMessage) XXX_Size() int
func (*StreamTracesMessage) XXX_Unmarshal ¶ added in v0.5.0
func (m *StreamTracesMessage) XXX_Unmarshal(b []byte) error
type StreamTracesMessageValidationError ¶
type StreamTracesMessageValidationError struct {
// contains filtered or unexported fields
}
StreamTracesMessageValidationError is the validation error returned by StreamTracesMessage.Validate if the designated constraints aren't met.
func (StreamTracesMessageValidationError) Cause ¶
func (e StreamTracesMessageValidationError) Cause() error
Cause function returns cause value.
func (StreamTracesMessageValidationError) Error ¶
func (e StreamTracesMessageValidationError) Error() string
Error satisfies the builtin error interface
func (StreamTracesMessageValidationError) ErrorName ¶
func (e StreamTracesMessageValidationError) ErrorName() string
ErrorName returns error name.
func (StreamTracesMessageValidationError) Field ¶
func (e StreamTracesMessageValidationError) Field() string
Field function returns field value.
func (StreamTracesMessageValidationError) Key ¶
func (e StreamTracesMessageValidationError) Key() bool
Key function returns key value.
func (StreamTracesMessageValidationError) Reason ¶
func (e StreamTracesMessageValidationError) Reason() string
Reason function returns reason value.
type StreamTracesMessage_Identifier ¶
type StreamTracesMessage_Identifier struct { // The node sending the access log messages over the stream. Node *core.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StreamTracesMessage_Identifier) Descriptor ¶
func (*StreamTracesMessage_Identifier) Descriptor() ([]byte, []int)
func (*StreamTracesMessage_Identifier) GetNode ¶
func (m *StreamTracesMessage_Identifier) GetNode() *core.Node
func (*StreamTracesMessage_Identifier) Marshal ¶ added in v0.5.0
func (m *StreamTracesMessage_Identifier) Marshal() (dAtA []byte, err error)
func (*StreamTracesMessage_Identifier) MarshalTo ¶ added in v0.5.0
func (m *StreamTracesMessage_Identifier) MarshalTo(dAtA []byte) (int, error)
func (*StreamTracesMessage_Identifier) ProtoMessage ¶
func (*StreamTracesMessage_Identifier) ProtoMessage()
func (*StreamTracesMessage_Identifier) Reset ¶
func (m *StreamTracesMessage_Identifier) Reset()
func (*StreamTracesMessage_Identifier) Size ¶ added in v0.5.0
func (m *StreamTracesMessage_Identifier) Size() (n int)
func (*StreamTracesMessage_Identifier) String ¶
func (m *StreamTracesMessage_Identifier) String() string
func (*StreamTracesMessage_Identifier) Unmarshal ¶ added in v0.5.0
func (m *StreamTracesMessage_Identifier) Unmarshal(dAtA []byte) error
func (*StreamTracesMessage_Identifier) Validate ¶
func (m *StreamTracesMessage_Identifier) Validate() error
Validate checks the field values on StreamTracesMessage_Identifier with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*StreamTracesMessage_Identifier) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *StreamTracesMessage_Identifier) XXX_DiscardUnknown()
func (*StreamTracesMessage_Identifier) XXX_Marshal ¶ added in v0.5.0
func (m *StreamTracesMessage_Identifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamTracesMessage_Identifier) XXX_Merge ¶ added in v0.5.0
func (m *StreamTracesMessage_Identifier) XXX_Merge(src proto.Message)
func (*StreamTracesMessage_Identifier) XXX_Size ¶ added in v0.5.0
func (m *StreamTracesMessage_Identifier) XXX_Size() int
func (*StreamTracesMessage_Identifier) XXX_Unmarshal ¶ added in v0.5.0
func (m *StreamTracesMessage_Identifier) XXX_Unmarshal(b []byte) error
type StreamTracesMessage_IdentifierValidationError ¶
type StreamTracesMessage_IdentifierValidationError struct {
// contains filtered or unexported fields
}
StreamTracesMessage_IdentifierValidationError is the validation error returned by StreamTracesMessage_Identifier.Validate if the designated constraints aren't met.
func (StreamTracesMessage_IdentifierValidationError) Cause ¶
func (e StreamTracesMessage_IdentifierValidationError) Cause() error
Cause function returns cause value.
func (StreamTracesMessage_IdentifierValidationError) Error ¶
func (e StreamTracesMessage_IdentifierValidationError) Error() string
Error satisfies the builtin error interface
func (StreamTracesMessage_IdentifierValidationError) ErrorName ¶
func (e StreamTracesMessage_IdentifierValidationError) ErrorName() string
ErrorName returns error name.
func (StreamTracesMessage_IdentifierValidationError) Field ¶
func (e StreamTracesMessage_IdentifierValidationError) Field() string
Field function returns field value.
func (StreamTracesMessage_IdentifierValidationError) Key ¶
func (e StreamTracesMessage_IdentifierValidationError) Key() bool
Key function returns key value.
func (StreamTracesMessage_IdentifierValidationError) Reason ¶
func (e StreamTracesMessage_IdentifierValidationError) Reason() string
Reason function returns reason value.
type StreamTracesResponse ¶
type StreamTracesResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StreamTracesResponse) Descriptor ¶
func (*StreamTracesResponse) Descriptor() ([]byte, []int)
func (*StreamTracesResponse) Marshal ¶ added in v0.5.0
func (m *StreamTracesResponse) Marshal() (dAtA []byte, err error)
func (*StreamTracesResponse) MarshalTo ¶ added in v0.5.0
func (m *StreamTracesResponse) MarshalTo(dAtA []byte) (int, error)
func (*StreamTracesResponse) ProtoMessage ¶
func (*StreamTracesResponse) ProtoMessage()
func (*StreamTracesResponse) Reset ¶
func (m *StreamTracesResponse) Reset()
func (*StreamTracesResponse) Size ¶ added in v0.5.0
func (m *StreamTracesResponse) Size() (n int)
func (*StreamTracesResponse) String ¶
func (m *StreamTracesResponse) String() string
func (*StreamTracesResponse) Unmarshal ¶ added in v0.5.0
func (m *StreamTracesResponse) Unmarshal(dAtA []byte) error
func (*StreamTracesResponse) Validate ¶
func (m *StreamTracesResponse) Validate() error
Validate checks the field values on StreamTracesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*StreamTracesResponse) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *StreamTracesResponse) XXX_DiscardUnknown()
func (*StreamTracesResponse) XXX_Marshal ¶ added in v0.5.0
func (m *StreamTracesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamTracesResponse) XXX_Merge ¶ added in v0.5.0
func (m *StreamTracesResponse) XXX_Merge(src proto.Message)
func (*StreamTracesResponse) XXX_Size ¶ added in v0.5.0
func (m *StreamTracesResponse) XXX_Size() int
func (*StreamTracesResponse) XXX_Unmarshal ¶ added in v0.5.0
func (m *StreamTracesResponse) XXX_Unmarshal(b []byte) error
type StreamTracesResponseValidationError ¶
type StreamTracesResponseValidationError struct {
// contains filtered or unexported fields
}
StreamTracesResponseValidationError is the validation error returned by StreamTracesResponse.Validate if the designated constraints aren't met.
func (StreamTracesResponseValidationError) Cause ¶
func (e StreamTracesResponseValidationError) Cause() error
Cause function returns cause value.
func (StreamTracesResponseValidationError) Error ¶
func (e StreamTracesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StreamTracesResponseValidationError) ErrorName ¶
func (e StreamTracesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StreamTracesResponseValidationError) Field ¶
func (e StreamTracesResponseValidationError) Field() string
Field function returns field value.
func (StreamTracesResponseValidationError) Key ¶
func (e StreamTracesResponseValidationError) Key() bool
Key function returns key value.
func (StreamTracesResponseValidationError) Reason ¶
func (e StreamTracesResponseValidationError) Reason() string
Reason function returns reason value.
type TraceServiceClient ¶
type TraceServiceClient interface { // Envoy will connect and send StreamTracesMessage messages forever. It does // not expect any response to be sent as nothing would be done in the case // of failure. StreamTraces(ctx context.Context, opts ...grpc.CallOption) (TraceService_StreamTracesClient, error) }
TraceServiceClient is the client API for TraceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTraceServiceClient ¶
func NewTraceServiceClient(cc *grpc.ClientConn) TraceServiceClient
type TraceServiceServer ¶
type TraceServiceServer interface { // Envoy will connect and send StreamTracesMessage messages forever. It does // not expect any response to be sent as nothing would be done in the case // of failure. StreamTraces(TraceService_StreamTracesServer) error }
TraceServiceServer is the server API for TraceService service.
type TraceService_StreamTracesClient ¶
type TraceService_StreamTracesClient interface { Send(*StreamTracesMessage) error CloseAndRecv() (*StreamTracesResponse, error) grpc.ClientStream }
type TraceService_StreamTracesServer ¶
type TraceService_StreamTracesServer interface { SendAndClose(*StreamTracesResponse) error Recv() (*StreamTracesMessage, error) grpc.ServerStream }