Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterLogsServiceServer

func RegisterLogsServiceServer(s *grpc.Server, srv LogsServiceServer)

Types

type ExportLogsServiceRequest

type ExportLogsServiceRequest struct {
	// An array of ResourceLogs.
	// For data coming from a single resource this array will typically contain one
	// element. Intermediary nodes (such as OpenTelemetry Collector) that receive
	// data from multiple origins typically batch the data before forwarding further and
	// in that case this array will contain multiple elements.
	ResourceLogs         []*v1.ResourceLogs `protobuf:"bytes,1,rep,name=resource_logs,json=resourceLogs,proto3" json:"resource_logs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ExportLogsServiceRequest) Descriptor

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

func (*ExportLogsServiceRequest) GetResourceLogs

func (m *ExportLogsServiceRequest) GetResourceLogs() []*v1.ResourceLogs

func (*ExportLogsServiceRequest) ProtoMessage

func (*ExportLogsServiceRequest) ProtoMessage()

func (*ExportLogsServiceRequest) Reset

func (m *ExportLogsServiceRequest) Reset()

func (*ExportLogsServiceRequest) String

func (m *ExportLogsServiceRequest) String() string

func (*ExportLogsServiceRequest) XXX_DiscardUnknown

func (m *ExportLogsServiceRequest) XXX_DiscardUnknown()

func (*ExportLogsServiceRequest) XXX_Marshal

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

func (*ExportLogsServiceRequest) XXX_Merge

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

func (*ExportLogsServiceRequest) XXX_Size

func (m *ExportLogsServiceRequest) XXX_Size() int

func (*ExportLogsServiceRequest) XXX_Unmarshal

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

type ExportLogsServiceResponse

type ExportLogsServiceResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExportLogsServiceResponse) Descriptor

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

func (*ExportLogsServiceResponse) ProtoMessage

func (*ExportLogsServiceResponse) ProtoMessage()

func (*ExportLogsServiceResponse) Reset

func (m *ExportLogsServiceResponse) Reset()

func (*ExportLogsServiceResponse) String

func (m *ExportLogsServiceResponse) String() string

func (*ExportLogsServiceResponse) XXX_DiscardUnknown

func (m *ExportLogsServiceResponse) XXX_DiscardUnknown()

func (*ExportLogsServiceResponse) XXX_Marshal

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

func (*ExportLogsServiceResponse) XXX_Merge

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

func (*ExportLogsServiceResponse) XXX_Size

func (m *ExportLogsServiceResponse) XXX_Size() int

func (*ExportLogsServiceResponse) XXX_Unmarshal

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

type LogsServiceClient

type LogsServiceClient interface {
	// For performance reasons, it is recommended to keep this RPC
	// alive for the entire life of the application.
	Export(ctx context.Context, in *ExportLogsServiceRequest, opts ...grpc.CallOption) (*ExportLogsServiceResponse, error)
}

    LogsServiceClient is the client API for LogsService service.

    For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

    type LogsServiceServer

    type LogsServiceServer interface {
    	// For performance reasons, it is recommended to keep this RPC
    	// alive for the entire life of the application.
    	Export(context.Context, *ExportLogsServiceRequest) (*ExportLogsServiceResponse, error)
    	// contains filtered or unexported methods
    }

      LogsServiceServer is the server API for LogsService service. All implementations must embed UnimplementedLogsServiceServer for forward compatibility

      type UnimplementedLogsServiceServer

      type UnimplementedLogsServiceServer struct {
      }

        UnimplementedLogsServiceServer must be embedded to have forward compatible implementations.