Documentation
¶
Overview ¶
Package debuginfov1alpha1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterDebugInfoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterDebugInfoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DebugInfoServiceClient) error
- func RegisterDebugInfoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterDebugInfoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DebugInfoServiceServer) error
- func RegisterDebugInfoServiceServer(s grpc.ServiceRegistrar, srv DebugInfoServiceServer)
- type DebugInfoServiceClient
- type DebugInfoServiceServer
- type DebugInfoService_DownloadClient
- type DebugInfoService_DownloadServer
- type DebugInfoService_UploadClient
- type DebugInfoService_UploadServer
- type DownloadInfo
- func (*DownloadInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadInfo) GetSource() DownloadInfo_Source
- func (m *DownloadInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DownloadInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *DownloadInfo) MarshalVT() (dAtA []byte, err error)
- func (*DownloadInfo) ProtoMessage()
- func (x *DownloadInfo) ProtoReflect() protoreflect.Message
- func (x *DownloadInfo) Reset()
- func (m *DownloadInfo) SizeVT() (n int)
- func (x *DownloadInfo) String() string
- func (m *DownloadInfo) UnmarshalVT(dAtA []byte) error
- type DownloadInfo_Source
- func (DownloadInfo_Source) Descriptor() protoreflect.EnumDescriptor
- func (x DownloadInfo_Source) Enum() *DownloadInfo_Source
- func (DownloadInfo_Source) EnumDescriptor() ([]byte, []int)deprecated
- func (x DownloadInfo_Source) Number() protoreflect.EnumNumber
- func (x DownloadInfo_Source) String() string
- func (DownloadInfo_Source) Type() protoreflect.EnumType
- type DownloadRequest
- func (*DownloadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadRequest) GetBuildId() string
- func (m *DownloadRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DownloadRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *DownloadRequest) MarshalVT() (dAtA []byte, err error)
- func (*DownloadRequest) ProtoMessage()
- func (x *DownloadRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadRequest) Reset()
- func (m *DownloadRequest) SizeVT() (n int)
- func (x *DownloadRequest) String() string
- func (m *DownloadRequest) UnmarshalVT(dAtA []byte) error
- type DownloadResponse
- func (*DownloadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadResponse) GetChunkData() []byte
- func (m *DownloadResponse) GetData() isDownloadResponse_Data
- func (x *DownloadResponse) GetInfo() *DownloadInfo
- func (m *DownloadResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DownloadResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *DownloadResponse) MarshalVT() (dAtA []byte, err error)
- func (*DownloadResponse) ProtoMessage()
- func (x *DownloadResponse) ProtoReflect() protoreflect.Message
- func (x *DownloadResponse) Reset()
- func (m *DownloadResponse) SizeVT() (n int)
- func (x *DownloadResponse) String() string
- func (m *DownloadResponse) UnmarshalVT(dAtA []byte) error
- type DownloadResponse_ChunkData
- type DownloadResponse_Info
- type ExistsRequest
- func (*ExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExistsRequest) GetBuildId() string
- func (x *ExistsRequest) GetHash() string
- func (m *ExistsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExistsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExistsRequest) MarshalVT() (dAtA []byte, err error)
- func (*ExistsRequest) ProtoMessage()
- func (x *ExistsRequest) ProtoReflect() protoreflect.Message
- func (x *ExistsRequest) Reset()
- func (m *ExistsRequest) SizeVT() (n int)
- func (x *ExistsRequest) String() string
- func (m *ExistsRequest) UnmarshalVT(dAtA []byte) error
- type ExistsResponse
- func (*ExistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExistsResponse) GetExists() bool
- func (m *ExistsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExistsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExistsResponse) MarshalVT() (dAtA []byte, err error)
- func (*ExistsResponse) ProtoMessage()
- func (x *ExistsResponse) ProtoReflect() protoreflect.Message
- func (x *ExistsResponse) Reset()
- func (m *ExistsResponse) SizeVT() (n int)
- func (x *ExistsResponse) String() string
- func (m *ExistsResponse) UnmarshalVT(dAtA []byte) error
- type UnimplementedDebugInfoServiceServer
- func (UnimplementedDebugInfoServiceServer) Download(*DownloadRequest, DebugInfoService_DownloadServer) error
- func (UnimplementedDebugInfoServiceServer) Exists(context.Context, *ExistsRequest) (*ExistsResponse, error)
- func (UnimplementedDebugInfoServiceServer) Upload(DebugInfoService_UploadServer) error
- type UnsafeDebugInfoServiceServer
- type UploadInfo
- func (*UploadInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UploadInfo) GetBuildId() string
- func (x *UploadInfo) GetHash() string
- func (m *UploadInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UploadInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *UploadInfo) MarshalVT() (dAtA []byte, err error)
- func (*UploadInfo) ProtoMessage()
- func (x *UploadInfo) ProtoReflect() protoreflect.Message
- func (x *UploadInfo) Reset()
- func (m *UploadInfo) SizeVT() (n int)
- func (x *UploadInfo) String() string
- func (m *UploadInfo) UnmarshalVT(dAtA []byte) error
- type UploadRequest
- func (*UploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadRequest) GetChunkData() []byte
- func (m *UploadRequest) GetData() isUploadRequest_Data
- func (x *UploadRequest) GetInfo() *UploadInfo
- func (m *UploadRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UploadRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *UploadRequest) MarshalVT() (dAtA []byte, err error)
- func (*UploadRequest) ProtoMessage()
- func (x *UploadRequest) ProtoReflect() protoreflect.Message
- func (x *UploadRequest) Reset()
- func (m *UploadRequest) SizeVT() (n int)
- func (x *UploadRequest) String() string
- func (m *UploadRequest) UnmarshalVT(dAtA []byte) error
- type UploadRequest_ChunkData
- type UploadRequest_Info
- type UploadResponse
- func (*UploadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadResponse) GetBuildId() string
- func (x *UploadResponse) GetSize() uint64
- func (m *UploadResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UploadResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *UploadResponse) MarshalVT() (dAtA []byte, err error)
- func (*UploadResponse) ProtoMessage()
- func (x *UploadResponse) ProtoReflect() protoreflect.Message
- func (x *UploadResponse) Reset()
- func (m *UploadResponse) SizeVT() (n int)
- func (x *UploadResponse) String() string
- func (m *UploadResponse) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( DownloadInfo_Source_name = map[int32]string{ 0: "SOURCE_UNKNOWN_UNSPECIFIED", 1: "SOURCE_UPLOAD", 2: "SOURCE_DEBUGINFOD", } DownloadInfo_Source_value = map[string]int32{ "SOURCE_UNKNOWN_UNSPECIFIED": 0, "SOURCE_UPLOAD": 1, "SOURCE_DEBUGINFOD": 2, } )
Enum value maps for DownloadInfo_Source.
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var DebugInfoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "parca.debuginfo.v1alpha1.DebugInfoService", HandlerType: (*DebugInfoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Exists", Handler: _DebugInfoService_Exists_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Upload", Handler: _DebugInfoService_Upload_Handler, ClientStreams: true, }, { StreamName: "Download", Handler: _DebugInfoService_Download_Handler, ServerStreams: true, }, }, Metadata: "parca/debuginfo/v1alpha1/debuginfo.proto", }
DebugInfoService_ServiceDesc is the grpc.ServiceDesc for DebugInfoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_parca_debuginfo_v1alpha1_debuginfo_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDebugInfoServiceHandler ¶
func RegisterDebugInfoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterDebugInfoServiceHandler registers the http handlers for service DebugInfoService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterDebugInfoServiceHandlerClient ¶
func RegisterDebugInfoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DebugInfoServiceClient) error
RegisterDebugInfoServiceHandlerClient registers the http handlers for service DebugInfoService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DebugInfoServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DebugInfoServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DebugInfoServiceClient" to call the correct interceptors.
func RegisterDebugInfoServiceHandlerFromEndpoint ¶
func RegisterDebugInfoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterDebugInfoServiceHandlerFromEndpoint is same as RegisterDebugInfoServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterDebugInfoServiceHandlerServer ¶
func RegisterDebugInfoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DebugInfoServiceServer) error
RegisterDebugInfoServiceHandlerServer registers the http handlers for service DebugInfoService to "mux". UnaryRPC :call DebugInfoServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDebugInfoServiceHandlerFromEndpoint instead.
func RegisterDebugInfoServiceServer ¶
func RegisterDebugInfoServiceServer(s grpc.ServiceRegistrar, srv DebugInfoServiceServer)
Types ¶
type DebugInfoServiceClient ¶
type DebugInfoServiceClient interface { // Exists returns true if the given build_id has debug info uploaded for it. Exists(ctx context.Context, in *ExistsRequest, opts ...grpc.CallOption) (*ExistsResponse, error) // Upload ingests debug info for a given build_id Upload(ctx context.Context, opts ...grpc.CallOption) (DebugInfoService_UploadClient, error) // Download returns the debug info for a given build_id. Download(ctx context.Context, in *DownloadRequest, opts ...grpc.CallOption) (DebugInfoService_DownloadClient, error) }
DebugInfoServiceClient is the client API for DebugInfoService 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.
func NewDebugInfoServiceClient ¶
func NewDebugInfoServiceClient(cc grpc.ClientConnInterface) DebugInfoServiceClient
type DebugInfoServiceServer ¶
type DebugInfoServiceServer interface { // Exists returns true if the given build_id has debug info uploaded for it. Exists(context.Context, *ExistsRequest) (*ExistsResponse, error) // Upload ingests debug info for a given build_id Upload(DebugInfoService_UploadServer) error // Download returns the debug info for a given build_id. Download(*DownloadRequest, DebugInfoService_DownloadServer) error // contains filtered or unexported methods }
DebugInfoServiceServer is the server API for DebugInfoService service. All implementations must embed UnimplementedDebugInfoServiceServer for forward compatibility
type DebugInfoService_DownloadClient ¶ added in v0.12.0
type DebugInfoService_DownloadClient interface { Recv() (*DownloadResponse, error) grpc.ClientStream }
type DebugInfoService_DownloadServer ¶ added in v0.12.0
type DebugInfoService_DownloadServer interface { Send(*DownloadResponse) error grpc.ServerStream }
type DebugInfoService_UploadClient ¶
type DebugInfoService_UploadClient interface { Send(*UploadRequest) error CloseAndRecv() (*UploadResponse, error) grpc.ClientStream }
type DebugInfoService_UploadServer ¶
type DebugInfoService_UploadServer interface { SendAndClose(*UploadResponse) error Recv() (*UploadRequest, error) grpc.ServerStream }
type DownloadInfo ¶ added in v0.12.0
type DownloadInfo struct { // Source indicates the origin of the debuginfo being downloaded. Source DownloadInfo_Source `protobuf:"varint,1,opt,name=source,proto3,enum=parca.debuginfo.v1alpha1.DownloadInfo_Source" json:"source,omitempty"` // contains filtered or unexported fields }
DownloadInfo metadata for the debug data that is being downloaded.
func (*DownloadInfo) Descriptor
deprecated
added in
v0.12.0
func (*DownloadInfo) Descriptor() ([]byte, []int)
Deprecated: Use DownloadInfo.ProtoReflect.Descriptor instead.
func (*DownloadInfo) GetSource ¶ added in v0.12.0
func (x *DownloadInfo) GetSource() DownloadInfo_Source
func (*DownloadInfo) MarshalToSizedBufferVT ¶ added in v0.12.0
func (m *DownloadInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DownloadInfo) MarshalToVT ¶ added in v0.12.0
func (m *DownloadInfo) MarshalToVT(dAtA []byte) (int, error)
func (*DownloadInfo) MarshalVT ¶ added in v0.12.0
func (m *DownloadInfo) MarshalVT() (dAtA []byte, err error)
func (*DownloadInfo) ProtoMessage ¶ added in v0.12.0
func (*DownloadInfo) ProtoMessage()
func (*DownloadInfo) ProtoReflect ¶ added in v0.12.0
func (x *DownloadInfo) ProtoReflect() protoreflect.Message
func (*DownloadInfo) Reset ¶ added in v0.12.0
func (x *DownloadInfo) Reset()
func (*DownloadInfo) SizeVT ¶ added in v0.12.0
func (m *DownloadInfo) SizeVT() (n int)
func (*DownloadInfo) String ¶ added in v0.12.0
func (x *DownloadInfo) String() string
func (*DownloadInfo) UnmarshalVT ¶ added in v0.12.0
func (m *DownloadInfo) UnmarshalVT(dAtA []byte) error
type DownloadInfo_Source ¶ added in v0.12.0
type DownloadInfo_Source int32
Source enum describes the source a debuginfo is from.
const ( // To understand when no source is set we have the unknown source. DownloadInfo_SOURCE_UNKNOWN_UNSPECIFIED DownloadInfo_Source = 0 // The debuginfo was uploaded by a user/agent. DownloadInfo_SOURCE_UPLOAD DownloadInfo_Source = 1 // The debuginfo was downloaded from a public debuginfod server. DownloadInfo_SOURCE_DEBUGINFOD DownloadInfo_Source = 2 )
func (DownloadInfo_Source) Descriptor ¶ added in v0.12.0
func (DownloadInfo_Source) Descriptor() protoreflect.EnumDescriptor
func (DownloadInfo_Source) Enum ¶ added in v0.12.0
func (x DownloadInfo_Source) Enum() *DownloadInfo_Source
func (DownloadInfo_Source) EnumDescriptor
deprecated
added in
v0.12.0
func (DownloadInfo_Source) EnumDescriptor() ([]byte, []int)
Deprecated: Use DownloadInfo_Source.Descriptor instead.
func (DownloadInfo_Source) Number ¶ added in v0.12.0
func (x DownloadInfo_Source) Number() protoreflect.EnumNumber
func (DownloadInfo_Source) String ¶ added in v0.12.0
func (x DownloadInfo_Source) String() string
func (DownloadInfo_Source) Type ¶ added in v0.12.0
func (DownloadInfo_Source) Type() protoreflect.EnumType
type DownloadRequest ¶ added in v0.12.0
type DownloadRequest struct { // build_id is a unique identifier for the debug data BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // contains filtered or unexported fields }
DownloadRequest upload debug info
func (*DownloadRequest) Descriptor
deprecated
added in
v0.12.0
func (*DownloadRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadRequest.ProtoReflect.Descriptor instead.
func (*DownloadRequest) GetBuildId ¶ added in v0.12.0
func (x *DownloadRequest) GetBuildId() string
func (*DownloadRequest) MarshalToSizedBufferVT ¶ added in v0.12.0
func (m *DownloadRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DownloadRequest) MarshalToVT ¶ added in v0.12.0
func (m *DownloadRequest) MarshalToVT(dAtA []byte) (int, error)
func (*DownloadRequest) MarshalVT ¶ added in v0.12.0
func (m *DownloadRequest) MarshalVT() (dAtA []byte, err error)
func (*DownloadRequest) ProtoMessage ¶ added in v0.12.0
func (*DownloadRequest) ProtoMessage()
func (*DownloadRequest) ProtoReflect ¶ added in v0.12.0
func (x *DownloadRequest) ProtoReflect() protoreflect.Message
func (*DownloadRequest) Reset ¶ added in v0.12.0
func (x *DownloadRequest) Reset()
func (*DownloadRequest) SizeVT ¶ added in v0.12.0
func (m *DownloadRequest) SizeVT() (n int)
func (*DownloadRequest) String ¶ added in v0.12.0
func (x *DownloadRequest) String() string
func (*DownloadRequest) UnmarshalVT ¶ added in v0.12.0
func (m *DownloadRequest) UnmarshalVT(dAtA []byte) error
type DownloadResponse ¶ added in v0.12.0
type DownloadResponse struct { // data contains either the upload info metadata or the debug info // // Types that are assignable to Data: // *DownloadResponse_Info // *DownloadResponse_ChunkData Data isDownloadResponse_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
DownloadRequest returns chunked data of the debuginfo.
func (*DownloadResponse) Descriptor
deprecated
added in
v0.12.0
func (*DownloadResponse) Descriptor() ([]byte, []int)
Deprecated: Use DownloadResponse.ProtoReflect.Descriptor instead.
func (*DownloadResponse) GetChunkData ¶ added in v0.12.0
func (x *DownloadResponse) GetChunkData() []byte
func (*DownloadResponse) GetData ¶ added in v0.12.0
func (m *DownloadResponse) GetData() isDownloadResponse_Data
func (*DownloadResponse) GetInfo ¶ added in v0.12.0
func (x *DownloadResponse) GetInfo() *DownloadInfo
func (*DownloadResponse) MarshalToSizedBufferVT ¶ added in v0.12.0
func (m *DownloadResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DownloadResponse) MarshalToVT ¶ added in v0.12.0
func (m *DownloadResponse) MarshalToVT(dAtA []byte) (int, error)
func (*DownloadResponse) MarshalVT ¶ added in v0.12.0
func (m *DownloadResponse) MarshalVT() (dAtA []byte, err error)
func (*DownloadResponse) ProtoMessage ¶ added in v0.12.0
func (*DownloadResponse) ProtoMessage()
func (*DownloadResponse) ProtoReflect ¶ added in v0.12.0
func (x *DownloadResponse) ProtoReflect() protoreflect.Message
func (*DownloadResponse) Reset ¶ added in v0.12.0
func (x *DownloadResponse) Reset()
func (*DownloadResponse) SizeVT ¶ added in v0.12.0
func (m *DownloadResponse) SizeVT() (n int)
func (*DownloadResponse) String ¶ added in v0.12.0
func (x *DownloadResponse) String() string
func (*DownloadResponse) UnmarshalVT ¶ added in v0.12.0
func (m *DownloadResponse) UnmarshalVT(dAtA []byte) error
type DownloadResponse_ChunkData ¶ added in v0.12.0
type DownloadResponse_ChunkData struct { // chunk_data is the raw bytes of the debug info ChunkData []byte `protobuf:"bytes,2,opt,name=chunk_data,json=chunkData,proto3,oneof"` }
func (*DownloadResponse_ChunkData) MarshalToSizedBufferVT ¶ added in v0.12.0
func (m *DownloadResponse_ChunkData) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DownloadResponse_ChunkData) MarshalToVT ¶ added in v0.12.0
func (m *DownloadResponse_ChunkData) MarshalToVT(dAtA []byte) (int, error)
func (*DownloadResponse_ChunkData) SizeVT ¶ added in v0.12.0
func (m *DownloadResponse_ChunkData) SizeVT() (n int)
type DownloadResponse_Info ¶ added in v0.12.0
type DownloadResponse_Info struct { // info is the metadata for the debug info Info *DownloadInfo `protobuf:"bytes,1,opt,name=info,proto3,oneof"` }
func (*DownloadResponse_Info) MarshalToSizedBufferVT ¶ added in v0.12.0
func (m *DownloadResponse_Info) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DownloadResponse_Info) MarshalToVT ¶ added in v0.12.0
func (m *DownloadResponse_Info) MarshalToVT(dAtA []byte) (int, error)
func (*DownloadResponse_Info) SizeVT ¶ added in v0.12.0
func (m *DownloadResponse_Info) SizeVT() (n int)
type ExistsRequest ¶
type ExistsRequest struct { // build_id is a unique identifier for the debug data BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // hash is the hash of the debug information file Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
ExistsRequest request to determine if debug info exists for a given build_id
func (*ExistsRequest) Descriptor
deprecated
func (*ExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExistsRequest.ProtoReflect.Descriptor instead.
func (*ExistsRequest) GetBuildId ¶
func (x *ExistsRequest) GetBuildId() string
func (*ExistsRequest) GetHash ¶ added in v0.9.0
func (x *ExistsRequest) GetHash() string
func (*ExistsRequest) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *ExistsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExistsRequest) MarshalToVT ¶ added in v0.5.0
func (m *ExistsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ExistsRequest) MarshalVT ¶ added in v0.5.0
func (m *ExistsRequest) MarshalVT() (dAtA []byte, err error)
func (*ExistsRequest) ProtoMessage ¶
func (*ExistsRequest) ProtoMessage()
func (*ExistsRequest) ProtoReflect ¶
func (x *ExistsRequest) ProtoReflect() protoreflect.Message
func (*ExistsRequest) Reset ¶
func (x *ExistsRequest) Reset()
func (*ExistsRequest) SizeVT ¶ added in v0.5.0
func (m *ExistsRequest) SizeVT() (n int)
func (*ExistsRequest) String ¶
func (x *ExistsRequest) String() string
func (*ExistsRequest) UnmarshalVT ¶ added in v0.5.0
func (m *ExistsRequest) UnmarshalVT(dAtA []byte) error
type ExistsResponse ¶
type ExistsResponse struct { // exists indicates if there is debug data present for the given build_id Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
ExistsResponse returns whether the given build_id has debug info
func (*ExistsResponse) Descriptor
deprecated
func (*ExistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExistsResponse.ProtoReflect.Descriptor instead.
func (*ExistsResponse) GetExists ¶
func (x *ExistsResponse) GetExists() bool
func (*ExistsResponse) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *ExistsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExistsResponse) MarshalToVT ¶ added in v0.5.0
func (m *ExistsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ExistsResponse) MarshalVT ¶ added in v0.5.0
func (m *ExistsResponse) MarshalVT() (dAtA []byte, err error)
func (*ExistsResponse) ProtoMessage ¶
func (*ExistsResponse) ProtoMessage()
func (*ExistsResponse) ProtoReflect ¶
func (x *ExistsResponse) ProtoReflect() protoreflect.Message
func (*ExistsResponse) Reset ¶
func (x *ExistsResponse) Reset()
func (*ExistsResponse) SizeVT ¶ added in v0.5.0
func (m *ExistsResponse) SizeVT() (n int)
func (*ExistsResponse) String ¶
func (x *ExistsResponse) String() string
func (*ExistsResponse) UnmarshalVT ¶ added in v0.5.0
func (m *ExistsResponse) UnmarshalVT(dAtA []byte) error
type UnimplementedDebugInfoServiceServer ¶
type UnimplementedDebugInfoServiceServer struct { }
UnimplementedDebugInfoServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDebugInfoServiceServer) Download ¶ added in v0.12.0
func (UnimplementedDebugInfoServiceServer) Download(*DownloadRequest, DebugInfoService_DownloadServer) error
func (UnimplementedDebugInfoServiceServer) Exists ¶
func (UnimplementedDebugInfoServiceServer) Exists(context.Context, *ExistsRequest) (*ExistsResponse, error)
type UnsafeDebugInfoServiceServer ¶
type UnsafeDebugInfoServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDebugInfoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DebugInfoServiceServer will result in compilation errors.
type UploadInfo ¶
type UploadInfo struct { // build_id is a unique identifier for the debug data BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // hash is the hash of the source file that debug information extracted from Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
UploadInfo contains the build_id and other metadata for the debug data
func (*UploadInfo) Descriptor
deprecated
func (*UploadInfo) Descriptor() ([]byte, []int)
Deprecated: Use UploadInfo.ProtoReflect.Descriptor instead.
func (*UploadInfo) GetBuildId ¶
func (x *UploadInfo) GetBuildId() string
func (*UploadInfo) GetHash ¶ added in v0.9.0
func (x *UploadInfo) GetHash() string
func (*UploadInfo) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *UploadInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UploadInfo) MarshalToVT ¶ added in v0.5.0
func (m *UploadInfo) MarshalToVT(dAtA []byte) (int, error)
func (*UploadInfo) MarshalVT ¶ added in v0.5.0
func (m *UploadInfo) MarshalVT() (dAtA []byte, err error)
func (*UploadInfo) ProtoMessage ¶
func (*UploadInfo) ProtoMessage()
func (*UploadInfo) ProtoReflect ¶
func (x *UploadInfo) ProtoReflect() protoreflect.Message
func (*UploadInfo) Reset ¶
func (x *UploadInfo) Reset()
func (*UploadInfo) SizeVT ¶ added in v0.5.0
func (m *UploadInfo) SizeVT() (n int)
func (*UploadInfo) String ¶
func (x *UploadInfo) String() string
func (*UploadInfo) UnmarshalVT ¶ added in v0.5.0
func (m *UploadInfo) UnmarshalVT(dAtA []byte) error
type UploadRequest ¶
type UploadRequest struct { // data contains either the upload info metadata or the debug info // // Types that are assignable to Data: // *UploadRequest_Info // *UploadRequest_ChunkData Data isUploadRequest_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
UploadRequest upload debug info
func (*UploadRequest) Descriptor
deprecated
func (*UploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadRequest.ProtoReflect.Descriptor instead.
func (*UploadRequest) GetChunkData ¶
func (x *UploadRequest) GetChunkData() []byte
func (*UploadRequest) GetData ¶
func (m *UploadRequest) GetData() isUploadRequest_Data
func (*UploadRequest) GetInfo ¶
func (x *UploadRequest) GetInfo() *UploadInfo
func (*UploadRequest) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *UploadRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UploadRequest) MarshalToVT ¶ added in v0.5.0
func (m *UploadRequest) MarshalToVT(dAtA []byte) (int, error)
func (*UploadRequest) MarshalVT ¶ added in v0.5.0
func (m *UploadRequest) MarshalVT() (dAtA []byte, err error)
func (*UploadRequest) ProtoMessage ¶
func (*UploadRequest) ProtoMessage()
func (*UploadRequest) ProtoReflect ¶
func (x *UploadRequest) ProtoReflect() protoreflect.Message
func (*UploadRequest) Reset ¶
func (x *UploadRequest) Reset()
func (*UploadRequest) SizeVT ¶ added in v0.5.0
func (m *UploadRequest) SizeVT() (n int)
func (*UploadRequest) String ¶
func (x *UploadRequest) String() string
func (*UploadRequest) UnmarshalVT ¶ added in v0.5.0
func (m *UploadRequest) UnmarshalVT(dAtA []byte) error
type UploadRequest_ChunkData ¶
type UploadRequest_ChunkData struct { // chunk_data is the raw bytes of the debug info ChunkData []byte `protobuf:"bytes,2,opt,name=chunk_data,json=chunkData,proto3,oneof"` }
func (*UploadRequest_ChunkData) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *UploadRequest_ChunkData) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UploadRequest_ChunkData) MarshalToVT ¶ added in v0.5.0
func (m *UploadRequest_ChunkData) MarshalToVT(dAtA []byte) (int, error)
func (*UploadRequest_ChunkData) SizeVT ¶ added in v0.5.0
func (m *UploadRequest_ChunkData) SizeVT() (n int)
type UploadRequest_Info ¶
type UploadRequest_Info struct { // info is the metadata for the debug info Info *UploadInfo `protobuf:"bytes,1,opt,name=info,proto3,oneof"` }
func (*UploadRequest_Info) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *UploadRequest_Info) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UploadRequest_Info) MarshalToVT ¶ added in v0.5.0
func (m *UploadRequest_Info) MarshalToVT(dAtA []byte) (int, error)
func (*UploadRequest_Info) SizeVT ¶ added in v0.5.0
func (m *UploadRequest_Info) SizeVT() (n int)
type UploadResponse ¶
type UploadResponse struct { // build_id is a unique identifier for the debug data BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // size is the number of bytes of the debug info Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
UploadResponse returns the build_id and the size of the uploaded debug info
func (*UploadResponse) Descriptor
deprecated
func (*UploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadResponse.ProtoReflect.Descriptor instead.
func (*UploadResponse) GetBuildId ¶
func (x *UploadResponse) GetBuildId() string
func (*UploadResponse) GetSize ¶
func (x *UploadResponse) GetSize() uint64
func (*UploadResponse) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *UploadResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UploadResponse) MarshalToVT ¶ added in v0.5.0
func (m *UploadResponse) MarshalToVT(dAtA []byte) (int, error)
func (*UploadResponse) MarshalVT ¶ added in v0.5.0
func (m *UploadResponse) MarshalVT() (dAtA []byte, err error)
func (*UploadResponse) ProtoMessage ¶
func (*UploadResponse) ProtoMessage()
func (*UploadResponse) ProtoReflect ¶
func (x *UploadResponse) ProtoReflect() protoreflect.Message
func (*UploadResponse) Reset ¶
func (x *UploadResponse) Reset()
func (*UploadResponse) SizeVT ¶ added in v0.5.0
func (m *UploadResponse) SizeVT() (n int)
func (*UploadResponse) String ¶
func (x *UploadResponse) String() string
func (*UploadResponse) UnmarshalVT ¶ added in v0.5.0
func (m *UploadResponse) UnmarshalVT(dAtA []byte) error