go-control-plane: github.com/envoyproxy/go-control-plane/envoy/service/trace/v3 Index | Files

package envoy_service_trace_v3

import "github.com/envoyproxy/go-control-plane/envoy/service/trace/v3"

Index

Package Files

trace_service.pb.go trace_service.pb.validate.go

Variables

var File_envoy_service_trace_v3_trace_service_proto protoreflect.FileDescriptor

func RegisterTraceServiceServer Uses

func RegisterTraceServiceServer(s *grpc.Server, srv TraceServiceServer)

type StreamTracesMessage Uses

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 Uses

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

Deprecated: Use StreamTracesMessage.ProtoReflect.Descriptor instead.

func (*StreamTracesMessage) GetIdentifier Uses

func (x *StreamTracesMessage) GetIdentifier() *StreamTracesMessage_Identifier

func (*StreamTracesMessage) GetSpans Uses

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

func (*StreamTracesMessage) ProtoMessage Uses

func (*StreamTracesMessage) ProtoMessage()

func (*StreamTracesMessage) ProtoReflect Uses

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

func (*StreamTracesMessage) Reset Uses

func (x *StreamTracesMessage) Reset()

func (*StreamTracesMessage) String Uses

func (x *StreamTracesMessage) String() string

func (*StreamTracesMessage) Validate Uses

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.

type StreamTracesMessageValidationError Uses

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 Uses

func (e StreamTracesMessageValidationError) Cause() error

Cause function returns cause value.

func (StreamTracesMessageValidationError) Error Uses

func (e StreamTracesMessageValidationError) Error() string

Error satisfies the builtin error interface

func (StreamTracesMessageValidationError) ErrorName Uses

func (e StreamTracesMessageValidationError) ErrorName() string

ErrorName returns error name.

func (StreamTracesMessageValidationError) Field Uses

func (e StreamTracesMessageValidationError) Field() string

Field function returns field value.

func (StreamTracesMessageValidationError) Key Uses

func (e StreamTracesMessageValidationError) Key() bool

Key function returns key value.

func (StreamTracesMessageValidationError) Reason Uses

func (e StreamTracesMessageValidationError) Reason() string

Reason function returns reason value.

type StreamTracesMessage_Identifier Uses

type StreamTracesMessage_Identifier struct {

    // The node sending the access log messages over the stream.
    Node *v3.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
    // contains filtered or unexported fields
}

func (*StreamTracesMessage_Identifier) Descriptor Uses

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

Deprecated: Use StreamTracesMessage_Identifier.ProtoReflect.Descriptor instead.

func (*StreamTracesMessage_Identifier) GetNode Uses

func (x *StreamTracesMessage_Identifier) GetNode() *v3.Node

func (*StreamTracesMessage_Identifier) ProtoMessage Uses

func (*StreamTracesMessage_Identifier) ProtoMessage()

func (*StreamTracesMessage_Identifier) ProtoReflect Uses

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

func (*StreamTracesMessage_Identifier) Reset Uses

func (x *StreamTracesMessage_Identifier) Reset()

func (*StreamTracesMessage_Identifier) String Uses

func (x *StreamTracesMessage_Identifier) String() string

func (*StreamTracesMessage_Identifier) Validate Uses

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.

type StreamTracesMessage_IdentifierValidationError Uses

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 Uses

func (e StreamTracesMessage_IdentifierValidationError) Cause() error

Cause function returns cause value.

func (StreamTracesMessage_IdentifierValidationError) Error Uses

func (e StreamTracesMessage_IdentifierValidationError) Error() string

Error satisfies the builtin error interface

func (StreamTracesMessage_IdentifierValidationError) ErrorName Uses

func (e StreamTracesMessage_IdentifierValidationError) ErrorName() string

ErrorName returns error name.

func (StreamTracesMessage_IdentifierValidationError) Field Uses

func (e StreamTracesMessage_IdentifierValidationError) Field() string

Field function returns field value.

func (StreamTracesMessage_IdentifierValidationError) Key Uses

func (e StreamTracesMessage_IdentifierValidationError) Key() bool

Key function returns key value.

func (StreamTracesMessage_IdentifierValidationError) Reason Uses

func (e StreamTracesMessage_IdentifierValidationError) Reason() string

Reason function returns reason value.

type StreamTracesResponse Uses

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

func (*StreamTracesResponse) Descriptor Uses

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

Deprecated: Use StreamTracesResponse.ProtoReflect.Descriptor instead.

func (*StreamTracesResponse) ProtoMessage Uses

func (*StreamTracesResponse) ProtoMessage()

func (*StreamTracesResponse) ProtoReflect Uses

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

func (*StreamTracesResponse) Reset Uses

func (x *StreamTracesResponse) Reset()

func (*StreamTracesResponse) String Uses

func (x *StreamTracesResponse) String() string

func (*StreamTracesResponse) Validate Uses

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.

type StreamTracesResponseValidationError Uses

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 Uses

func (e StreamTracesResponseValidationError) Cause() error

Cause function returns cause value.

func (StreamTracesResponseValidationError) Error Uses

func (e StreamTracesResponseValidationError) Error() string

Error satisfies the builtin error interface

func (StreamTracesResponseValidationError) ErrorName Uses

func (e StreamTracesResponseValidationError) ErrorName() string

ErrorName returns error name.

func (StreamTracesResponseValidationError) Field Uses

func (e StreamTracesResponseValidationError) Field() string

Field function returns field value.

func (StreamTracesResponseValidationError) Key Uses

func (e StreamTracesResponseValidationError) Key() bool

Key function returns key value.

func (StreamTracesResponseValidationError) Reason Uses

func (e StreamTracesResponseValidationError) Reason() string

Reason function returns reason value.

type TraceServiceClient Uses

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 Uses

func NewTraceServiceClient(cc grpc.ClientConnInterface) TraceServiceClient

type TraceServiceServer Uses

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 Uses

type TraceService_StreamTracesClient interface {
    Send(*StreamTracesMessage) error
    CloseAndRecv() (*StreamTracesResponse, error)
    grpc.ClientStream
}

type TraceService_StreamTracesServer Uses

type TraceService_StreamTracesServer interface {
    SendAndClose(*StreamTracesResponse) error
    Recv() (*StreamTracesMessage, error)
    grpc.ServerStream
}

type UnimplementedTraceServiceServer Uses

type UnimplementedTraceServiceServer struct {
}

UnimplementedTraceServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTraceServiceServer) StreamTraces Uses

func (*UnimplementedTraceServiceServer) StreamTraces(TraceService_StreamTracesServer) error

Package envoy_service_trace_v3 imports 25 packages (graph) and is imported by 6 packages. Updated 2021-01-09. Refresh now. Tools for package owners.