envoy_service_trace_v2

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2021 License: Apache-2.0 Imports: 25 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_service_trace_v2_trace_service_proto protoreflect.FileDescriptor

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"`
	// contains filtered or unexported fields
}

func (*StreamTracesMessage) Descriptor deprecated

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

Deprecated: Use StreamTracesMessage.ProtoReflect.Descriptor instead.

func (*StreamTracesMessage) GetIdentifier

func (*StreamTracesMessage) GetSpans

func (x *StreamTracesMessage) GetSpans() []*v1.Span

func (*StreamTracesMessage) ProtoMessage

func (*StreamTracesMessage) ProtoMessage()

func (*StreamTracesMessage) ProtoReflect added in v0.9.6

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

func (*StreamTracesMessage) Reset

func (x *StreamTracesMessage) Reset()

func (*StreamTracesMessage) String

func (x *StreamTracesMessage) String() string

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, the first error encountered is returned, or nil if there are no violations.

func (*StreamTracesMessage) ValidateAll added in v0.10.0

func (m *StreamTracesMessage) ValidateAll() error

ValidateAll checks the field values on StreamTracesMessage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamTracesMessageMultiError, or nil if none found.

type StreamTracesMessageMultiError added in v0.10.0

type StreamTracesMessageMultiError []error

StreamTracesMessageMultiError is an error wrapping multiple validation errors returned by StreamTracesMessage.ValidateAll() if the designated constraints aren't met.

func (StreamTracesMessageMultiError) AllErrors added in v0.10.0

func (m StreamTracesMessageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StreamTracesMessageMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

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

Cause function returns cause value.

func (StreamTracesMessageValidationError) Error

Error satisfies the builtin error interface

func (StreamTracesMessageValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (StreamTracesMessageValidationError) Field

Field function returns field value.

func (StreamTracesMessageValidationError) Key

Key function returns key value.

func (StreamTracesMessageValidationError) Reason

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"`
	// contains filtered or unexported fields
}

func (*StreamTracesMessage_Identifier) Descriptor deprecated

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

Deprecated: Use StreamTracesMessage_Identifier.ProtoReflect.Descriptor instead.

func (*StreamTracesMessage_Identifier) GetNode

func (*StreamTracesMessage_Identifier) ProtoMessage

func (*StreamTracesMessage_Identifier) ProtoMessage()

func (*StreamTracesMessage_Identifier) ProtoReflect added in v0.9.6

func (*StreamTracesMessage_Identifier) Reset

func (x *StreamTracesMessage_Identifier) Reset()

func (*StreamTracesMessage_Identifier) String

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, the first error encountered is returned, or nil if there are no violations.

func (*StreamTracesMessage_Identifier) ValidateAll added in v0.10.0

func (m *StreamTracesMessage_Identifier) ValidateAll() error

ValidateAll checks the field values on StreamTracesMessage_Identifier with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamTracesMessage_IdentifierMultiError, or nil if none found.

type StreamTracesMessage_IdentifierMultiError added in v0.10.0

type StreamTracesMessage_IdentifierMultiError []error

StreamTracesMessage_IdentifierMultiError is an error wrapping multiple validation errors returned by StreamTracesMessage_Identifier.ValidateAll() if the designated constraints aren't met.

func (StreamTracesMessage_IdentifierMultiError) AllErrors added in v0.10.0

AllErrors returns a list of validation violation errors.

func (StreamTracesMessage_IdentifierMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

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

Cause function returns cause value.

func (StreamTracesMessage_IdentifierValidationError) Error

Error satisfies the builtin error interface

func (StreamTracesMessage_IdentifierValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (StreamTracesMessage_IdentifierValidationError) Field

Field function returns field value.

func (StreamTracesMessage_IdentifierValidationError) Key

Key function returns key value.

func (StreamTracesMessage_IdentifierValidationError) Reason

Reason function returns reason value.

type StreamTracesResponse

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

func (*StreamTracesResponse) Descriptor deprecated

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

Deprecated: Use StreamTracesResponse.ProtoReflect.Descriptor instead.

func (*StreamTracesResponse) ProtoMessage

func (*StreamTracesResponse) ProtoMessage()

func (*StreamTracesResponse) ProtoReflect added in v0.9.6

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

func (*StreamTracesResponse) Reset

func (x *StreamTracesResponse) Reset()

func (*StreamTracesResponse) String

func (x *StreamTracesResponse) String() string

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, the first error encountered is returned, or nil if there are no violations.

func (*StreamTracesResponse) ValidateAll added in v0.10.0

func (m *StreamTracesResponse) ValidateAll() error

ValidateAll checks the field values on StreamTracesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamTracesResponseMultiError, or nil if none found.

type StreamTracesResponseMultiError added in v0.10.0

type StreamTracesResponseMultiError []error

StreamTracesResponseMultiError is an error wrapping multiple validation errors returned by StreamTracesResponse.ValidateAll() if the designated constraints aren't met.

func (StreamTracesResponseMultiError) AllErrors added in v0.10.0

func (m StreamTracesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StreamTracesResponseMultiError) Error added in v0.10.0

Error returns a concatenation of all the error messages it wraps.

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

Cause function returns cause value.

func (StreamTracesResponseValidationError) Error

Error satisfies the builtin error interface

func (StreamTracesResponseValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (StreamTracesResponseValidationError) Field

Field function returns field value.

func (StreamTracesResponseValidationError) Key

Key function returns key value.

func (StreamTracesResponseValidationError) Reason

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.

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
}

type UnimplementedTraceServiceServer added in v0.9.1

type UnimplementedTraceServiceServer struct {
}

UnimplementedTraceServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTraceServiceServer) StreamTraces added in v0.9.1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL