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 BuildIDType
- func (BuildIDType) Descriptor() protoreflect.EnumDescriptor
- func (x BuildIDType) Enum() *BuildIDType
- func (BuildIDType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BuildIDType) Number() protoreflect.EnumNumber
- func (x BuildIDType) String() string
- func (BuildIDType) Type() protoreflect.EnumType
- type Debuginfo
- func (*Debuginfo) Descriptor() ([]byte, []int)deprecated
- func (x *Debuginfo) GetBuildId() string
- func (x *Debuginfo) GetDebuginfodServers() []string
- func (x *Debuginfo) GetQuality() *DebuginfoQuality
- func (x *Debuginfo) GetSource() Debuginfo_Source
- func (x *Debuginfo) GetType() DebuginfoType
- func (x *Debuginfo) GetUpload() *DebuginfoUpload
- func (m *Debuginfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Debuginfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *Debuginfo) MarshalVT() (dAtA []byte, err error)
- func (*Debuginfo) ProtoMessage()
- func (x *Debuginfo) ProtoReflect() protoreflect.Message
- func (x *Debuginfo) Reset()
- func (m *Debuginfo) SizeVT() (n int)
- func (x *Debuginfo) String() string
- func (m *Debuginfo) UnmarshalVT(dAtA []byte) error
- type DebuginfoQuality
- func (*DebuginfoQuality) Descriptor() ([]byte, []int)deprecated
- func (x *DebuginfoQuality) GetHasDwarf() bool
- func (x *DebuginfoQuality) GetHasDynsym() bool
- func (x *DebuginfoQuality) GetHasGoPclntab() bool
- func (x *DebuginfoQuality) GetHasSymtab() bool
- func (x *DebuginfoQuality) GetNotValidElf() bool
- func (m *DebuginfoQuality) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DebuginfoQuality) MarshalToVT(dAtA []byte) (int, error)
- func (m *DebuginfoQuality) MarshalVT() (dAtA []byte, err error)
- func (*DebuginfoQuality) ProtoMessage()
- func (x *DebuginfoQuality) ProtoReflect() protoreflect.Message
- func (x *DebuginfoQuality) Reset()
- func (m *DebuginfoQuality) SizeVT() (n int)
- func (x *DebuginfoQuality) String() string
- func (m *DebuginfoQuality) UnmarshalVT(dAtA []byte) error
- type DebuginfoServiceClient
- type DebuginfoServiceServer
- type DebuginfoService_UploadClient
- type DebuginfoService_UploadServer
- type DebuginfoType
- func (DebuginfoType) Descriptor() protoreflect.EnumDescriptor
- func (x DebuginfoType) Enum() *DebuginfoType
- func (DebuginfoType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DebuginfoType) Number() protoreflect.EnumNumber
- func (x DebuginfoType) String() string
- func (DebuginfoType) Type() protoreflect.EnumType
- type DebuginfoUpload
- func (*DebuginfoUpload) Descriptor() ([]byte, []int)deprecated
- func (x *DebuginfoUpload) GetFinishedAt() *timestamppb.Timestamp
- func (x *DebuginfoUpload) GetHash() string
- func (x *DebuginfoUpload) GetId() string
- func (x *DebuginfoUpload) GetStartedAt() *timestamppb.Timestamp
- func (x *DebuginfoUpload) GetState() DebuginfoUpload_State
- func (m *DebuginfoUpload) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DebuginfoUpload) MarshalToVT(dAtA []byte) (int, error)
- func (m *DebuginfoUpload) MarshalVT() (dAtA []byte, err error)
- func (*DebuginfoUpload) ProtoMessage()
- func (x *DebuginfoUpload) ProtoReflect() protoreflect.Message
- func (x *DebuginfoUpload) Reset()
- func (m *DebuginfoUpload) SizeVT() (n int)
- func (x *DebuginfoUpload) String() string
- func (m *DebuginfoUpload) UnmarshalVT(dAtA []byte) error
- type DebuginfoUpload_State
- func (DebuginfoUpload_State) Descriptor() protoreflect.EnumDescriptor
- func (x DebuginfoUpload_State) Enum() *DebuginfoUpload_State
- func (DebuginfoUpload_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x DebuginfoUpload_State) Number() protoreflect.EnumNumber
- func (x DebuginfoUpload_State) String() string
- func (DebuginfoUpload_State) Type() protoreflect.EnumType
- type Debuginfo_Source
- func (Debuginfo_Source) Descriptor() protoreflect.EnumDescriptor
- func (x Debuginfo_Source) Enum() *Debuginfo_Source
- func (Debuginfo_Source) EnumDescriptor() ([]byte, []int)deprecated
- func (x Debuginfo_Source) Number() protoreflect.EnumNumber
- func (x Debuginfo_Source) String() string
- func (Debuginfo_Source) Type() protoreflect.EnumType
- type InitiateUploadRequest
- func (*InitiateUploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitiateUploadRequest) GetBuildId() string
- func (x *InitiateUploadRequest) GetBuildIdType() BuildIDType
- func (x *InitiateUploadRequest) GetForce() bool
- func (x *InitiateUploadRequest) GetHash() string
- func (x *InitiateUploadRequest) GetSize() int64
- func (x *InitiateUploadRequest) GetType() DebuginfoType
- func (m *InitiateUploadRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *InitiateUploadRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *InitiateUploadRequest) MarshalVT() (dAtA []byte, err error)
- func (*InitiateUploadRequest) ProtoMessage()
- func (x *InitiateUploadRequest) ProtoReflect() protoreflect.Message
- func (x *InitiateUploadRequest) Reset()
- func (m *InitiateUploadRequest) SizeVT() (n int)
- func (x *InitiateUploadRequest) String() string
- func (m *InitiateUploadRequest) UnmarshalVT(dAtA []byte) error
- type InitiateUploadResponse
- func (*InitiateUploadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitiateUploadResponse) GetUploadInstructions() *UploadInstructions
- func (m *InitiateUploadResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *InitiateUploadResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *InitiateUploadResponse) MarshalVT() (dAtA []byte, err error)
- func (*InitiateUploadResponse) ProtoMessage()
- func (x *InitiateUploadResponse) ProtoReflect() protoreflect.Message
- func (x *InitiateUploadResponse) Reset()
- func (m *InitiateUploadResponse) SizeVT() (n int)
- func (x *InitiateUploadResponse) String() string
- func (m *InitiateUploadResponse) UnmarshalVT(dAtA []byte) error
- type MarkUploadFinishedRequest
- func (*MarkUploadFinishedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MarkUploadFinishedRequest) GetBuildId() string
- func (x *MarkUploadFinishedRequest) GetType() DebuginfoType
- func (x *MarkUploadFinishedRequest) GetUploadId() string
- func (m *MarkUploadFinishedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MarkUploadFinishedRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *MarkUploadFinishedRequest) MarshalVT() (dAtA []byte, err error)
- func (*MarkUploadFinishedRequest) ProtoMessage()
- func (x *MarkUploadFinishedRequest) ProtoReflect() protoreflect.Message
- func (x *MarkUploadFinishedRequest) Reset()
- func (m *MarkUploadFinishedRequest) SizeVT() (n int)
- func (x *MarkUploadFinishedRequest) String() string
- func (m *MarkUploadFinishedRequest) UnmarshalVT(dAtA []byte) error
- type MarkUploadFinishedResponse
- func (*MarkUploadFinishedResponse) Descriptor() ([]byte, []int)deprecated
- func (m *MarkUploadFinishedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MarkUploadFinishedResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *MarkUploadFinishedResponse) MarshalVT() (dAtA []byte, err error)
- func (*MarkUploadFinishedResponse) ProtoMessage()
- func (x *MarkUploadFinishedResponse) ProtoReflect() protoreflect.Message
- func (x *MarkUploadFinishedResponse) Reset()
- func (m *MarkUploadFinishedResponse) SizeVT() (n int)
- func (x *MarkUploadFinishedResponse) String() string
- func (m *MarkUploadFinishedResponse) UnmarshalVT(dAtA []byte) error
- type ShouldInitiateUploadRequest
- func (*ShouldInitiateUploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShouldInitiateUploadRequest) GetBuildId() string
- func (x *ShouldInitiateUploadRequest) GetBuildIdType() BuildIDType
- func (x *ShouldInitiateUploadRequest) GetForce() bool
- func (x *ShouldInitiateUploadRequest) GetHash() string
- func (x *ShouldInitiateUploadRequest) GetType() DebuginfoType
- func (m *ShouldInitiateUploadRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ShouldInitiateUploadRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ShouldInitiateUploadRequest) MarshalVT() (dAtA []byte, err error)
- func (*ShouldInitiateUploadRequest) ProtoMessage()
- func (x *ShouldInitiateUploadRequest) ProtoReflect() protoreflect.Message
- func (x *ShouldInitiateUploadRequest) Reset()
- func (m *ShouldInitiateUploadRequest) SizeVT() (n int)
- func (x *ShouldInitiateUploadRequest) String() string
- func (m *ShouldInitiateUploadRequest) UnmarshalVT(dAtA []byte) error
- type ShouldInitiateUploadResponse
- func (*ShouldInitiateUploadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShouldInitiateUploadResponse) GetReason() string
- func (x *ShouldInitiateUploadResponse) GetShouldInitiateUpload() bool
- func (m *ShouldInitiateUploadResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ShouldInitiateUploadResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ShouldInitiateUploadResponse) MarshalVT() (dAtA []byte, err error)
- func (*ShouldInitiateUploadResponse) ProtoMessage()
- func (x *ShouldInitiateUploadResponse) ProtoReflect() protoreflect.Message
- func (x *ShouldInitiateUploadResponse) Reset()
- func (m *ShouldInitiateUploadResponse) SizeVT() (n int)
- func (x *ShouldInitiateUploadResponse) String() string
- func (m *ShouldInitiateUploadResponse) UnmarshalVT(dAtA []byte) error
- type UnimplementedDebuginfoServiceServer
- func (UnimplementedDebuginfoServiceServer) InitiateUpload(context.Context, *InitiateUploadRequest) (*InitiateUploadResponse, error)
- func (UnimplementedDebuginfoServiceServer) MarkUploadFinished(context.Context, *MarkUploadFinishedRequest) (*MarkUploadFinishedResponse, error)
- func (UnimplementedDebuginfoServiceServer) ShouldInitiateUpload(context.Context, *ShouldInitiateUploadRequest) (*ShouldInitiateUploadResponse, 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) GetType() DebuginfoType
- func (x *UploadInfo) GetUploadId() 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 UploadInstructions
- func (*UploadInstructions) Descriptor() ([]byte, []int)deprecated
- func (x *UploadInstructions) GetBuildId() string
- func (x *UploadInstructions) GetSignedUrl() string
- func (x *UploadInstructions) GetType() DebuginfoType
- func (x *UploadInstructions) GetUploadId() string
- func (x *UploadInstructions) GetUploadStrategy() UploadInstructions_UploadStrategy
- func (m *UploadInstructions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UploadInstructions) MarshalToVT(dAtA []byte) (int, error)
- func (m *UploadInstructions) MarshalVT() (dAtA []byte, err error)
- func (*UploadInstructions) ProtoMessage()
- func (x *UploadInstructions) ProtoReflect() protoreflect.Message
- func (x *UploadInstructions) Reset()
- func (m *UploadInstructions) SizeVT() (n int)
- func (x *UploadInstructions) String() string
- func (m *UploadInstructions) UnmarshalVT(dAtA []byte) error
- type UploadInstructions_UploadStrategy
- func (UploadInstructions_UploadStrategy) Descriptor() protoreflect.EnumDescriptor
- func (x UploadInstructions_UploadStrategy) Enum() *UploadInstructions_UploadStrategy
- func (UploadInstructions_UploadStrategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x UploadInstructions_UploadStrategy) Number() protoreflect.EnumNumber
- func (x UploadInstructions_UploadStrategy) String() string
- func (UploadInstructions_UploadStrategy) Type() protoreflect.EnumType
- 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 ( DebuginfoType_name = map[int32]string{ 0: "DEBUGINFO_TYPE_DEBUGINFO_UNSPECIFIED", 1: "DEBUGINFO_TYPE_EXECUTABLE", 2: "DEBUGINFO_TYPE_SOURCES", } DebuginfoType_value = map[string]int32{ "DEBUGINFO_TYPE_DEBUGINFO_UNSPECIFIED": 0, "DEBUGINFO_TYPE_EXECUTABLE": 1, "DEBUGINFO_TYPE_SOURCES": 2, } )
Enum value maps for DebuginfoType.
var ( BuildIDType_name = map[int32]string{ 0: "BUILD_ID_TYPE_UNKNOWN_UNSPECIFIED", 1: "BUILD_ID_TYPE_GNU", 2: "BUILD_ID_TYPE_HASH", 3: "BUILD_ID_TYPE_GO", } BuildIDType_value = map[string]int32{ "BUILD_ID_TYPE_UNKNOWN_UNSPECIFIED": 0, "BUILD_ID_TYPE_GNU": 1, "BUILD_ID_TYPE_HASH": 2, "BUILD_ID_TYPE_GO": 3, } )
Enum value maps for BuildIDType.
var ( UploadInstructions_UploadStrategy_name = map[int32]string{ 0: "UPLOAD_STRATEGY_UNSPECIFIED", 1: "UPLOAD_STRATEGY_GRPC", 2: "UPLOAD_STRATEGY_SIGNED_URL", } UploadInstructions_UploadStrategy_value = map[string]int32{ "UPLOAD_STRATEGY_UNSPECIFIED": 0, "UPLOAD_STRATEGY_GRPC": 1, "UPLOAD_STRATEGY_SIGNED_URL": 2, } )
Enum value maps for UploadInstructions_UploadStrategy.
var ( Debuginfo_Source_name = map[int32]string{ 0: "SOURCE_UNKNOWN_UNSPECIFIED", 1: "SOURCE_UPLOAD", 2: "SOURCE_DEBUGINFOD", } Debuginfo_Source_value = map[string]int32{ "SOURCE_UNKNOWN_UNSPECIFIED": 0, "SOURCE_UPLOAD": 1, "SOURCE_DEBUGINFOD": 2, } )
Enum value maps for Debuginfo_Source.
var ( DebuginfoUpload_State_name = map[int32]string{ 0: "STATE_UNKNOWN_UNSPECIFIED", 1: "STATE_UPLOADING", 2: "STATE_UPLOADED", } DebuginfoUpload_State_value = map[string]int32{ "STATE_UNKNOWN_UNSPECIFIED": 0, "STATE_UPLOADING": 1, "STATE_UPLOADED": 2, } )
Enum value maps for DebuginfoUpload_State.
var DebuginfoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "parca.debuginfo.v1alpha1.DebuginfoService", HandlerType: (*DebuginfoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ShouldInitiateUpload", Handler: _DebuginfoService_ShouldInitiateUpload_Handler, }, { MethodName: "InitiateUpload", Handler: _DebuginfoService_InitiateUpload_Handler, }, { MethodName: "MarkUploadFinished", Handler: _DebuginfoService_MarkUploadFinished_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Upload", Handler: _DebuginfoService_Upload_Handler, ClientStreams: 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 ¶ added in v0.15.0
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 ¶ added in v0.15.0
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 ¶ added in v0.15.0
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 ¶ added in v0.15.0
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 ¶ added in v0.15.0
func RegisterDebuginfoServiceServer(s grpc.ServiceRegistrar, srv DebuginfoServiceServer)
Types ¶
type BuildIDType ¶ added in v0.22.0
type BuildIDType int32
BuildIDType is the type of build ID.
const ( // The build ID is unknown. BuildIDType_BUILD_ID_TYPE_UNKNOWN_UNSPECIFIED BuildIDType = 0 // The build ID is a GNU build ID. BuildIDType_BUILD_ID_TYPE_GNU BuildIDType = 1 // The build ID is an opaque hash. BuildIDType_BUILD_ID_TYPE_HASH BuildIDType = 2 // The build ID is a Go build ID. BuildIDType_BUILD_ID_TYPE_GO BuildIDType = 3 )
func (BuildIDType) Descriptor ¶ added in v0.22.0
func (BuildIDType) Descriptor() protoreflect.EnumDescriptor
func (BuildIDType) Enum ¶ added in v0.22.0
func (x BuildIDType) Enum() *BuildIDType
func (BuildIDType) EnumDescriptor
deprecated
added in
v0.22.0
func (BuildIDType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BuildIDType.Descriptor instead.
func (BuildIDType) Number ¶ added in v0.22.0
func (x BuildIDType) Number() protoreflect.EnumNumber
func (BuildIDType) String ¶ added in v0.22.0
func (x BuildIDType) String() string
func (BuildIDType) Type ¶ added in v0.22.0
func (BuildIDType) Type() protoreflect.EnumType
type Debuginfo ¶ added in v0.15.0
type Debuginfo struct { // BuildID is the build ID of the debuginfo. BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // Source is the source of the debuginfo. Source Debuginfo_Source `protobuf:"varint,2,opt,name=source,proto3,enum=parca.debuginfo.v1alpha1.Debuginfo_Source" json:"source,omitempty"` // DebuginfoUpload is the debuginfo upload metadata. Upload *DebuginfoUpload `protobuf:"bytes,3,opt,name=upload,proto3" json:"upload,omitempty"` // Quality is the quality of the debuginfo. This is set asynchonously by the // symbolizer when the debuginfo is actually used. Quality *DebuginfoQuality `protobuf:"bytes,4,opt,name=quality,proto3" json:"quality,omitempty"` // The debuginfod servers this piece of debuginfo is available at. DebuginfodServers []string `protobuf:"bytes,5,rep,name=debuginfod_servers,json=debuginfodServers,proto3" json:"debuginfod_servers,omitempty"` // The type of debuginfo. Type DebuginfoType `protobuf:"varint,6,opt,name=type,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoType" json:"type,omitempty"` // contains filtered or unexported fields }
Debuginfo contains metadata about a debuginfo file.
func (*Debuginfo) Descriptor
deprecated
added in
v0.15.0
func (*Debuginfo) GetBuildId ¶ added in v0.15.0
func (*Debuginfo) GetDebuginfodServers ¶ added in v0.19.0
func (*Debuginfo) GetQuality ¶ added in v0.15.0
func (x *Debuginfo) GetQuality() *DebuginfoQuality
func (*Debuginfo) GetSource ¶ added in v0.15.0
func (x *Debuginfo) GetSource() Debuginfo_Source
func (*Debuginfo) GetType ¶ added in v0.19.0
func (x *Debuginfo) GetType() DebuginfoType
func (*Debuginfo) GetUpload ¶ added in v0.15.0
func (x *Debuginfo) GetUpload() *DebuginfoUpload
func (*Debuginfo) MarshalToSizedBufferVT ¶ added in v0.15.0
func (*Debuginfo) MarshalToVT ¶ added in v0.15.0
func (*Debuginfo) ProtoMessage ¶ added in v0.15.0
func (*Debuginfo) ProtoMessage()
func (*Debuginfo) ProtoReflect ¶ added in v0.15.0
func (x *Debuginfo) ProtoReflect() protoreflect.Message
func (*Debuginfo) UnmarshalVT ¶ added in v0.15.0
type DebuginfoQuality ¶ added in v0.15.0
type DebuginfoQuality struct { // The debuginfo file is not a valid ELF file. NotValidElf bool `protobuf:"varint,1,opt,name=not_valid_elf,json=notValidElf,proto3" json:"not_valid_elf,omitempty"` // Whether the debuginfo contains dwarf information. HasDwarf bool `protobuf:"varint,2,opt,name=has_dwarf,json=hasDwarf,proto3" json:"has_dwarf,omitempty"` // Whether the debuginfo contains Go's pclntab. HasGoPclntab bool `protobuf:"varint,3,opt,name=has_go_pclntab,json=hasGoPclntab,proto3" json:"has_go_pclntab,omitempty"` // Whether the debuginfo contains symtab. HasSymtab bool `protobuf:"varint,4,opt,name=has_symtab,json=hasSymtab,proto3" json:"has_symtab,omitempty"` // Whether the debuginfo contains dynsym. HasDynsym bool `protobuf:"varint,5,opt,name=has_dynsym,json=hasDynsym,proto3" json:"has_dynsym,omitempty"` // contains filtered or unexported fields }
DebuginfoQuality is the quality of the debuginfo.
func (*DebuginfoQuality) Descriptor
deprecated
added in
v0.15.0
func (*DebuginfoQuality) Descriptor() ([]byte, []int)
Deprecated: Use DebuginfoQuality.ProtoReflect.Descriptor instead.
func (*DebuginfoQuality) GetHasDwarf ¶ added in v0.15.0
func (x *DebuginfoQuality) GetHasDwarf() bool
func (*DebuginfoQuality) GetHasDynsym ¶ added in v0.15.0
func (x *DebuginfoQuality) GetHasDynsym() bool
func (*DebuginfoQuality) GetHasGoPclntab ¶ added in v0.15.0
func (x *DebuginfoQuality) GetHasGoPclntab() bool
func (*DebuginfoQuality) GetHasSymtab ¶ added in v0.15.0
func (x *DebuginfoQuality) GetHasSymtab() bool
func (*DebuginfoQuality) GetNotValidElf ¶ added in v0.15.0
func (x *DebuginfoQuality) GetNotValidElf() bool
func (*DebuginfoQuality) MarshalToSizedBufferVT ¶ added in v0.15.0
func (m *DebuginfoQuality) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DebuginfoQuality) MarshalToVT ¶ added in v0.15.0
func (m *DebuginfoQuality) MarshalToVT(dAtA []byte) (int, error)
func (*DebuginfoQuality) MarshalVT ¶ added in v0.15.0
func (m *DebuginfoQuality) MarshalVT() (dAtA []byte, err error)
func (*DebuginfoQuality) ProtoMessage ¶ added in v0.15.0
func (*DebuginfoQuality) ProtoMessage()
func (*DebuginfoQuality) ProtoReflect ¶ added in v0.15.0
func (x *DebuginfoQuality) ProtoReflect() protoreflect.Message
func (*DebuginfoQuality) Reset ¶ added in v0.15.0
func (x *DebuginfoQuality) Reset()
func (*DebuginfoQuality) SizeVT ¶ added in v0.15.0
func (m *DebuginfoQuality) SizeVT() (n int)
func (*DebuginfoQuality) String ¶ added in v0.15.0
func (x *DebuginfoQuality) String() string
func (*DebuginfoQuality) UnmarshalVT ¶ added in v0.15.0
func (m *DebuginfoQuality) UnmarshalVT(dAtA []byte) error
type DebuginfoServiceClient ¶ added in v0.15.0
type DebuginfoServiceClient interface { // Upload ingests debug info for a given build_id Upload(ctx context.Context, opts ...grpc.CallOption) (DebuginfoService_UploadClient, error) // ShouldInitiateUpload returns whether an upload for a given build_id should be initiated or not. ShouldInitiateUpload(ctx context.Context, in *ShouldInitiateUploadRequest, opts ...grpc.CallOption) (*ShouldInitiateUploadResponse, error) // InitiateUpload returns a strategy and information to upload debug info for a given build_id. InitiateUpload(ctx context.Context, in *InitiateUploadRequest, opts ...grpc.CallOption) (*InitiateUploadResponse, error) // MarkUploadFinished marks the upload as finished for a given build_id. MarkUploadFinished(ctx context.Context, in *MarkUploadFinishedRequest, opts ...grpc.CallOption) (*MarkUploadFinishedResponse, 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 ¶ added in v0.15.0
func NewDebuginfoServiceClient(cc grpc.ClientConnInterface) DebuginfoServiceClient
type DebuginfoServiceServer ¶ added in v0.15.0
type DebuginfoServiceServer interface { // Upload ingests debug info for a given build_id Upload(DebuginfoService_UploadServer) error // ShouldInitiateUpload returns whether an upload for a given build_id should be initiated or not. ShouldInitiateUpload(context.Context, *ShouldInitiateUploadRequest) (*ShouldInitiateUploadResponse, error) // InitiateUpload returns a strategy and information to upload debug info for a given build_id. InitiateUpload(context.Context, *InitiateUploadRequest) (*InitiateUploadResponse, error) // MarkUploadFinished marks the upload as finished for a given build_id. MarkUploadFinished(context.Context, *MarkUploadFinishedRequest) (*MarkUploadFinishedResponse, error) // contains filtered or unexported methods }
DebuginfoServiceServer is the server API for DebuginfoService service. All implementations must embed UnimplementedDebuginfoServiceServer for forward compatibility
type DebuginfoService_UploadClient ¶ added in v0.15.0
type DebuginfoService_UploadClient interface { Send(*UploadRequest) error CloseAndRecv() (*UploadResponse, error) grpc.ClientStream }
type DebuginfoService_UploadServer ¶ added in v0.15.0
type DebuginfoService_UploadServer interface { SendAndClose(*UploadResponse) error Recv() (*UploadRequest, error) grpc.ServerStream }
type DebuginfoType ¶ added in v0.19.0
type DebuginfoType int32
Types of debuginfo.
const ( // The default type that the API always supported. This type is expected to // contain debuginfos for symbolizaton purposes. DebuginfoType_DEBUGINFO_TYPE_DEBUGINFO_UNSPECIFIED DebuginfoType = 0 // The type to identify executables. This is meant to be used for // disassembling so it is expected to contain executable `.text` section. DebuginfoType_DEBUGINFO_TYPE_EXECUTABLE DebuginfoType = 1 // The type to identify a source tarball. This is expected to contain // multiple source files that debuginfo references. It is meant to show code // with profiling data inline. DebuginfoType_DEBUGINFO_TYPE_SOURCES DebuginfoType = 2 )
func (DebuginfoType) Descriptor ¶ added in v0.19.0
func (DebuginfoType) Descriptor() protoreflect.EnumDescriptor
func (DebuginfoType) Enum ¶ added in v0.19.0
func (x DebuginfoType) Enum() *DebuginfoType
func (DebuginfoType) EnumDescriptor
deprecated
added in
v0.19.0
func (DebuginfoType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DebuginfoType.Descriptor instead.
func (DebuginfoType) Number ¶ added in v0.19.0
func (x DebuginfoType) Number() protoreflect.EnumNumber
func (DebuginfoType) String ¶ added in v0.19.0
func (x DebuginfoType) String() string
func (DebuginfoType) Type ¶ added in v0.19.0
func (DebuginfoType) Type() protoreflect.EnumType
type DebuginfoUpload ¶ added in v0.15.0
type DebuginfoUpload struct { // UploadID is the ID of the debuginfo upload. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Hash is the hash of the debuginfo. Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // State is the current state of the debuginfo upload. State DebuginfoUpload_State `protobuf:"varint,3,opt,name=state,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoUpload_State" json:"state,omitempty"` // StartedAt is the time the debuginfo upload was started. StartedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // FinishedAt is the time the debuginfo upload was finished. FinishedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"` // contains filtered or unexported fields }
DebuginfoUpload contains metadata about a debuginfo upload.
func (*DebuginfoUpload) Descriptor
deprecated
added in
v0.15.0
func (*DebuginfoUpload) Descriptor() ([]byte, []int)
Deprecated: Use DebuginfoUpload.ProtoReflect.Descriptor instead.
func (*DebuginfoUpload) GetFinishedAt ¶ added in v0.15.0
func (x *DebuginfoUpload) GetFinishedAt() *timestamppb.Timestamp
func (*DebuginfoUpload) GetHash ¶ added in v0.15.0
func (x *DebuginfoUpload) GetHash() string
func (*DebuginfoUpload) GetId ¶ added in v0.15.0
func (x *DebuginfoUpload) GetId() string
func (*DebuginfoUpload) GetStartedAt ¶ added in v0.15.0
func (x *DebuginfoUpload) GetStartedAt() *timestamppb.Timestamp
func (*DebuginfoUpload) GetState ¶ added in v0.15.0
func (x *DebuginfoUpload) GetState() DebuginfoUpload_State
func (*DebuginfoUpload) MarshalToSizedBufferVT ¶ added in v0.15.0
func (m *DebuginfoUpload) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DebuginfoUpload) MarshalToVT ¶ added in v0.15.0
func (m *DebuginfoUpload) MarshalToVT(dAtA []byte) (int, error)
func (*DebuginfoUpload) MarshalVT ¶ added in v0.15.0
func (m *DebuginfoUpload) MarshalVT() (dAtA []byte, err error)
func (*DebuginfoUpload) ProtoMessage ¶ added in v0.15.0
func (*DebuginfoUpload) ProtoMessage()
func (*DebuginfoUpload) ProtoReflect ¶ added in v0.15.0
func (x *DebuginfoUpload) ProtoReflect() protoreflect.Message
func (*DebuginfoUpload) Reset ¶ added in v0.15.0
func (x *DebuginfoUpload) Reset()
func (*DebuginfoUpload) SizeVT ¶ added in v0.15.0
func (m *DebuginfoUpload) SizeVT() (n int)
func (*DebuginfoUpload) String ¶ added in v0.15.0
func (x *DebuginfoUpload) String() string
func (*DebuginfoUpload) UnmarshalVT ¶ added in v0.15.0
func (m *DebuginfoUpload) UnmarshalVT(dAtA []byte) error
type DebuginfoUpload_State ¶ added in v0.15.0
type DebuginfoUpload_State int32
The state of the debuginfo upload.
const ( // To understand when no upload state is set we have the unknown state. DebuginfoUpload_STATE_UNKNOWN_UNSPECIFIED DebuginfoUpload_State = 0 // The debuginfo is currently being uploaded. DebuginfoUpload_STATE_UPLOADING DebuginfoUpload_State = 1 // The debuginfo has been uploaded successfully. DebuginfoUpload_STATE_UPLOADED DebuginfoUpload_State = 2 )
func (DebuginfoUpload_State) Descriptor ¶ added in v0.15.0
func (DebuginfoUpload_State) Descriptor() protoreflect.EnumDescriptor
func (DebuginfoUpload_State) Enum ¶ added in v0.15.0
func (x DebuginfoUpload_State) Enum() *DebuginfoUpload_State
func (DebuginfoUpload_State) EnumDescriptor
deprecated
added in
v0.15.0
func (DebuginfoUpload_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use DebuginfoUpload_State.Descriptor instead.
func (DebuginfoUpload_State) Number ¶ added in v0.15.0
func (x DebuginfoUpload_State) Number() protoreflect.EnumNumber
func (DebuginfoUpload_State) String ¶ added in v0.15.0
func (x DebuginfoUpload_State) String() string
func (DebuginfoUpload_State) Type ¶ added in v0.15.0
func (DebuginfoUpload_State) Type() protoreflect.EnumType
type Debuginfo_Source ¶ added in v0.15.0
type Debuginfo_Source int32
Source is the source of the debuginfo.
const ( // To understand when no source is set we have the unknown source. Debuginfo_SOURCE_UNKNOWN_UNSPECIFIED Debuginfo_Source = 0 // The debuginfo was uploaded by a user/agent. Debuginfo_SOURCE_UPLOAD Debuginfo_Source = 1 // The debuginfo is available from the configured debuginfod server(s). Debuginfo_SOURCE_DEBUGINFOD Debuginfo_Source = 2 )
func (Debuginfo_Source) Descriptor ¶ added in v0.15.0
func (Debuginfo_Source) Descriptor() protoreflect.EnumDescriptor
func (Debuginfo_Source) Enum ¶ added in v0.15.0
func (x Debuginfo_Source) Enum() *Debuginfo_Source
func (Debuginfo_Source) EnumDescriptor
deprecated
added in
v0.15.0
func (Debuginfo_Source) EnumDescriptor() ([]byte, []int)
Deprecated: Use Debuginfo_Source.Descriptor instead.
func (Debuginfo_Source) Number ¶ added in v0.15.0
func (x Debuginfo_Source) Number() protoreflect.EnumNumber
func (Debuginfo_Source) String ¶ added in v0.15.0
func (x Debuginfo_Source) String() string
func (Debuginfo_Source) Type ¶ added in v0.15.0
func (Debuginfo_Source) Type() protoreflect.EnumType
type InitiateUploadRequest ¶ added in v0.15.0
type InitiateUploadRequest struct { // The build_id of the debug info to upload. BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // The size of the debug info to upload. Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // Hash of the debuginfo to upload. Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // Force uploading even if valid debuginfos are already available. Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` // Type of debuginfo to propose uploading. Type DebuginfoType `protobuf:"varint,5,opt,name=type,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoType" json:"type,omitempty"` // Type of build ID. BuildIdType BuildIDType `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
InitiateUploadRequest is the request to initiate an upload.
func (*InitiateUploadRequest) Descriptor
deprecated
added in
v0.15.0
func (*InitiateUploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitiateUploadRequest.ProtoReflect.Descriptor instead.
func (*InitiateUploadRequest) GetBuildId ¶ added in v0.15.0
func (x *InitiateUploadRequest) GetBuildId() string
func (*InitiateUploadRequest) GetBuildIdType ¶ added in v0.22.0
func (x *InitiateUploadRequest) GetBuildIdType() BuildIDType
func (*InitiateUploadRequest) GetForce ¶ added in v0.19.0
func (x *InitiateUploadRequest) GetForce() bool
func (*InitiateUploadRequest) GetHash ¶ added in v0.15.0
func (x *InitiateUploadRequest) GetHash() string
func (*InitiateUploadRequest) GetSize ¶ added in v0.15.0
func (x *InitiateUploadRequest) GetSize() int64
func (*InitiateUploadRequest) GetType ¶ added in v0.19.0
func (x *InitiateUploadRequest) GetType() DebuginfoType
func (*InitiateUploadRequest) MarshalToSizedBufferVT ¶ added in v0.15.0
func (m *InitiateUploadRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*InitiateUploadRequest) MarshalToVT ¶ added in v0.15.0
func (m *InitiateUploadRequest) MarshalToVT(dAtA []byte) (int, error)
func (*InitiateUploadRequest) MarshalVT ¶ added in v0.15.0
func (m *InitiateUploadRequest) MarshalVT() (dAtA []byte, err error)
func (*InitiateUploadRequest) ProtoMessage ¶ added in v0.15.0
func (*InitiateUploadRequest) ProtoMessage()
func (*InitiateUploadRequest) ProtoReflect ¶ added in v0.15.0
func (x *InitiateUploadRequest) ProtoReflect() protoreflect.Message
func (*InitiateUploadRequest) Reset ¶ added in v0.15.0
func (x *InitiateUploadRequest) Reset()
func (*InitiateUploadRequest) SizeVT ¶ added in v0.15.0
func (m *InitiateUploadRequest) SizeVT() (n int)
func (*InitiateUploadRequest) String ¶ added in v0.15.0
func (x *InitiateUploadRequest) String() string
func (*InitiateUploadRequest) UnmarshalVT ¶ added in v0.15.0
func (m *InitiateUploadRequest) UnmarshalVT(dAtA []byte) error
type InitiateUploadResponse ¶ added in v0.15.0
type InitiateUploadResponse struct { // UploadInstructions contains the instructions for the client to upload the debuginfo. UploadInstructions *UploadInstructions `protobuf:"bytes,1,opt,name=upload_instructions,json=uploadInstructions,proto3" json:"upload_instructions,omitempty"` // contains filtered or unexported fields }
InitiateUploadResponse is the response to an InitiateUploadRequest.
func (*InitiateUploadResponse) Descriptor
deprecated
added in
v0.15.0
func (*InitiateUploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitiateUploadResponse.ProtoReflect.Descriptor instead.
func (*InitiateUploadResponse) GetUploadInstructions ¶ added in v0.15.0
func (x *InitiateUploadResponse) GetUploadInstructions() *UploadInstructions
func (*InitiateUploadResponse) MarshalToSizedBufferVT ¶ added in v0.15.0
func (m *InitiateUploadResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*InitiateUploadResponse) MarshalToVT ¶ added in v0.15.0
func (m *InitiateUploadResponse) MarshalToVT(dAtA []byte) (int, error)
func (*InitiateUploadResponse) MarshalVT ¶ added in v0.15.0
func (m *InitiateUploadResponse) MarshalVT() (dAtA []byte, err error)
func (*InitiateUploadResponse) ProtoMessage ¶ added in v0.15.0
func (*InitiateUploadResponse) ProtoMessage()
func (*InitiateUploadResponse) ProtoReflect ¶ added in v0.15.0
func (x *InitiateUploadResponse) ProtoReflect() protoreflect.Message
func (*InitiateUploadResponse) Reset ¶ added in v0.15.0
func (x *InitiateUploadResponse) Reset()
func (*InitiateUploadResponse) SizeVT ¶ added in v0.15.0
func (m *InitiateUploadResponse) SizeVT() (n int)
func (*InitiateUploadResponse) String ¶ added in v0.15.0
func (x *InitiateUploadResponse) String() string
func (*InitiateUploadResponse) UnmarshalVT ¶ added in v0.15.0
func (m *InitiateUploadResponse) UnmarshalVT(dAtA []byte) error
type MarkUploadFinishedRequest ¶ added in v0.15.0
type MarkUploadFinishedRequest struct { // The build_id of the debug info to mark as finished. BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // The upload_id of the debug info to mark as finished. UploadId string `protobuf:"bytes,2,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` // The type of debuginfo upload to mark as finished. Type DebuginfoType `protobuf:"varint,3,opt,name=type,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoType" json:"type,omitempty"` // contains filtered or unexported fields }
MarkUploadFinishedRequest is the request to mark an upload as finished.
func (*MarkUploadFinishedRequest) Descriptor
deprecated
added in
v0.15.0
func (*MarkUploadFinishedRequest) Descriptor() ([]byte, []int)
Deprecated: Use MarkUploadFinishedRequest.ProtoReflect.Descriptor instead.
func (*MarkUploadFinishedRequest) GetBuildId ¶ added in v0.15.0
func (x *MarkUploadFinishedRequest) GetBuildId() string
func (*MarkUploadFinishedRequest) GetType ¶ added in v0.19.0
func (x *MarkUploadFinishedRequest) GetType() DebuginfoType
func (*MarkUploadFinishedRequest) GetUploadId ¶ added in v0.15.0
func (x *MarkUploadFinishedRequest) GetUploadId() string
func (*MarkUploadFinishedRequest) MarshalToSizedBufferVT ¶ added in v0.15.0
func (m *MarkUploadFinishedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MarkUploadFinishedRequest) MarshalToVT ¶ added in v0.15.0
func (m *MarkUploadFinishedRequest) MarshalToVT(dAtA []byte) (int, error)
func (*MarkUploadFinishedRequest) MarshalVT ¶ added in v0.15.0
func (m *MarkUploadFinishedRequest) MarshalVT() (dAtA []byte, err error)
func (*MarkUploadFinishedRequest) ProtoMessage ¶ added in v0.15.0
func (*MarkUploadFinishedRequest) ProtoMessage()
func (*MarkUploadFinishedRequest) ProtoReflect ¶ added in v0.15.0
func (x *MarkUploadFinishedRequest) ProtoReflect() protoreflect.Message
func (*MarkUploadFinishedRequest) Reset ¶ added in v0.15.0
func (x *MarkUploadFinishedRequest) Reset()
func (*MarkUploadFinishedRequest) SizeVT ¶ added in v0.15.0
func (m *MarkUploadFinishedRequest) SizeVT() (n int)
func (*MarkUploadFinishedRequest) String ¶ added in v0.15.0
func (x *MarkUploadFinishedRequest) String() string
func (*MarkUploadFinishedRequest) UnmarshalVT ¶ added in v0.15.0
func (m *MarkUploadFinishedRequest) UnmarshalVT(dAtA []byte) error
type MarkUploadFinishedResponse ¶ added in v0.15.0
type MarkUploadFinishedResponse struct {
// contains filtered or unexported fields
}
MarkUploadFinishedResponse is the response to a MarkUploadFinishedRequest.
func (*MarkUploadFinishedResponse) Descriptor
deprecated
added in
v0.15.0
func (*MarkUploadFinishedResponse) Descriptor() ([]byte, []int)
Deprecated: Use MarkUploadFinishedResponse.ProtoReflect.Descriptor instead.
func (*MarkUploadFinishedResponse) MarshalToSizedBufferVT ¶ added in v0.15.0
func (m *MarkUploadFinishedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MarkUploadFinishedResponse) MarshalToVT ¶ added in v0.15.0
func (m *MarkUploadFinishedResponse) MarshalToVT(dAtA []byte) (int, error)
func (*MarkUploadFinishedResponse) MarshalVT ¶ added in v0.15.0
func (m *MarkUploadFinishedResponse) MarshalVT() (dAtA []byte, err error)
func (*MarkUploadFinishedResponse) ProtoMessage ¶ added in v0.15.0
func (*MarkUploadFinishedResponse) ProtoMessage()
func (*MarkUploadFinishedResponse) ProtoReflect ¶ added in v0.15.0
func (x *MarkUploadFinishedResponse) ProtoReflect() protoreflect.Message
func (*MarkUploadFinishedResponse) Reset ¶ added in v0.15.0
func (x *MarkUploadFinishedResponse) Reset()
func (*MarkUploadFinishedResponse) SizeVT ¶ added in v0.15.0
func (m *MarkUploadFinishedResponse) SizeVT() (n int)
func (*MarkUploadFinishedResponse) String ¶ added in v0.15.0
func (x *MarkUploadFinishedResponse) String() string
func (*MarkUploadFinishedResponse) UnmarshalVT ¶ added in v0.15.0
func (m *MarkUploadFinishedResponse) UnmarshalVT(dAtA []byte) error
type ShouldInitiateUploadRequest ¶ added in v0.15.0
type ShouldInitiateUploadRequest struct { // The build_id of the debuginfo. BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // Hash of the debuginfo to upload. Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // Force uploading even if valid debuginfos are already available. Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` // Type of debuginfo to propose uploading. Type DebuginfoType `protobuf:"varint,4,opt,name=type,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoType" json:"type,omitempty"` // Type of build ID. BuildIdType BuildIDType `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
ShouldInitiateUploadRequest is the request for ShouldInitiateUpload.
func (*ShouldInitiateUploadRequest) Descriptor
deprecated
added in
v0.15.0
func (*ShouldInitiateUploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShouldInitiateUploadRequest.ProtoReflect.Descriptor instead.
func (*ShouldInitiateUploadRequest) GetBuildId ¶ added in v0.15.0
func (x *ShouldInitiateUploadRequest) GetBuildId() string
func (*ShouldInitiateUploadRequest) GetBuildIdType ¶ added in v0.22.0
func (x *ShouldInitiateUploadRequest) GetBuildIdType() BuildIDType
func (*ShouldInitiateUploadRequest) GetForce ¶ added in v0.19.0
func (x *ShouldInitiateUploadRequest) GetForce() bool
func (*ShouldInitiateUploadRequest) GetHash ¶ added in v0.15.0
func (x *ShouldInitiateUploadRequest) GetHash() string
func (*ShouldInitiateUploadRequest) GetType ¶ added in v0.19.0
func (x *ShouldInitiateUploadRequest) GetType() DebuginfoType
func (*ShouldInitiateUploadRequest) MarshalToSizedBufferVT ¶ added in v0.15.0
func (m *ShouldInitiateUploadRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ShouldInitiateUploadRequest) MarshalToVT ¶ added in v0.15.0
func (m *ShouldInitiateUploadRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ShouldInitiateUploadRequest) MarshalVT ¶ added in v0.15.0
func (m *ShouldInitiateUploadRequest) MarshalVT() (dAtA []byte, err error)
func (*ShouldInitiateUploadRequest) ProtoMessage ¶ added in v0.15.0
func (*ShouldInitiateUploadRequest) ProtoMessage()
func (*ShouldInitiateUploadRequest) ProtoReflect ¶ added in v0.15.0
func (x *ShouldInitiateUploadRequest) ProtoReflect() protoreflect.Message
func (*ShouldInitiateUploadRequest) Reset ¶ added in v0.15.0
func (x *ShouldInitiateUploadRequest) Reset()
func (*ShouldInitiateUploadRequest) SizeVT ¶ added in v0.15.0
func (m *ShouldInitiateUploadRequest) SizeVT() (n int)
func (*ShouldInitiateUploadRequest) String ¶ added in v0.15.0
func (x *ShouldInitiateUploadRequest) String() string
func (*ShouldInitiateUploadRequest) UnmarshalVT ¶ added in v0.15.0
func (m *ShouldInitiateUploadRequest) UnmarshalVT(dAtA []byte) error
type ShouldInitiateUploadResponse ¶ added in v0.15.0
type ShouldInitiateUploadResponse struct { // Whether an upload should be initiated or not. ShouldInitiateUpload bool `protobuf:"varint,1,opt,name=should_initiate_upload,json=shouldInitiateUpload,proto3" json:"should_initiate_upload,omitempty"` // Reason for why an upload should be initiated or not. Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
ShouldInitiateUploadResponse is the response for ShouldInitiateUpload.
func (*ShouldInitiateUploadResponse) Descriptor
deprecated
added in
v0.15.0
func (*ShouldInitiateUploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShouldInitiateUploadResponse.ProtoReflect.Descriptor instead.
func (*ShouldInitiateUploadResponse) GetReason ¶ added in v0.15.0
func (x *ShouldInitiateUploadResponse) GetReason() string
func (*ShouldInitiateUploadResponse) GetShouldInitiateUpload ¶ added in v0.15.0
func (x *ShouldInitiateUploadResponse) GetShouldInitiateUpload() bool
func (*ShouldInitiateUploadResponse) MarshalToSizedBufferVT ¶ added in v0.15.0
func (m *ShouldInitiateUploadResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ShouldInitiateUploadResponse) MarshalToVT ¶ added in v0.15.0
func (m *ShouldInitiateUploadResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ShouldInitiateUploadResponse) MarshalVT ¶ added in v0.15.0
func (m *ShouldInitiateUploadResponse) MarshalVT() (dAtA []byte, err error)
func (*ShouldInitiateUploadResponse) ProtoMessage ¶ added in v0.15.0
func (*ShouldInitiateUploadResponse) ProtoMessage()
func (*ShouldInitiateUploadResponse) ProtoReflect ¶ added in v0.15.0
func (x *ShouldInitiateUploadResponse) ProtoReflect() protoreflect.Message
func (*ShouldInitiateUploadResponse) Reset ¶ added in v0.15.0
func (x *ShouldInitiateUploadResponse) Reset()
func (*ShouldInitiateUploadResponse) SizeVT ¶ added in v0.15.0
func (m *ShouldInitiateUploadResponse) SizeVT() (n int)
func (*ShouldInitiateUploadResponse) String ¶ added in v0.15.0
func (x *ShouldInitiateUploadResponse) String() string
func (*ShouldInitiateUploadResponse) UnmarshalVT ¶ added in v0.15.0
func (m *ShouldInitiateUploadResponse) UnmarshalVT(dAtA []byte) error
type UnimplementedDebuginfoServiceServer ¶ added in v0.15.0
type UnimplementedDebuginfoServiceServer struct { }
UnimplementedDebuginfoServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDebuginfoServiceServer) InitiateUpload ¶ added in v0.15.0
func (UnimplementedDebuginfoServiceServer) InitiateUpload(context.Context, *InitiateUploadRequest) (*InitiateUploadResponse, error)
func (UnimplementedDebuginfoServiceServer) MarkUploadFinished ¶ added in v0.15.0
func (UnimplementedDebuginfoServiceServer) MarkUploadFinished(context.Context, *MarkUploadFinishedRequest) (*MarkUploadFinishedResponse, error)
func (UnimplementedDebuginfoServiceServer) ShouldInitiateUpload ¶ added in v0.15.0
func (UnimplementedDebuginfoServiceServer) ShouldInitiateUpload(context.Context, *ShouldInitiateUploadRequest) (*ShouldInitiateUploadResponse, error)
type UnsafeDebuginfoServiceServer ¶ added in v0.15.0
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"` // upload_id is a unique identifier for the upload UploadId string `protobuf:"bytes,2,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` // the type of debuginfo that's being uploaded Type DebuginfoType `protobuf:"varint,3,opt,name=type,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoType" json:"type,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) GetType ¶ added in v0.19.0
func (x *UploadInfo) GetType() DebuginfoType
func (*UploadInfo) GetUploadId ¶ added in v0.15.0
func (x *UploadInfo) GetUploadId() 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 UploadInstructions ¶ added in v0.15.0
type UploadInstructions struct { // The build ID of the debuginfo to upload. BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // The upload_id to use for uploading. UploadId string `protobuf:"bytes,2,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` // The strategy to use for uploading. UploadStrategy UploadInstructions_UploadStrategy `` /* 168-byte string literal not displayed */ // The signed url to use for uploading using a PUT request when the upload // strategy is SIGNED_STRATEGY_URL. SignedUrl string `protobuf:"bytes,4,opt,name=signed_url,json=signedUrl,proto3" json:"signed_url,omitempty"` // Type of debuginfo the upload instructions are for. Type DebuginfoType `protobuf:"varint,5,opt,name=type,proto3,enum=parca.debuginfo.v1alpha1.DebuginfoType" json:"type,omitempty"` // contains filtered or unexported fields }
UploadInstructions contains the instructions for the client to upload debuginfo.
func (*UploadInstructions) Descriptor
deprecated
added in
v0.15.0
func (*UploadInstructions) Descriptor() ([]byte, []int)
Deprecated: Use UploadInstructions.ProtoReflect.Descriptor instead.
func (*UploadInstructions) GetBuildId ¶ added in v0.15.0
func (x *UploadInstructions) GetBuildId() string
func (*UploadInstructions) GetSignedUrl ¶ added in v0.15.0
func (x *UploadInstructions) GetSignedUrl() string
func (*UploadInstructions) GetType ¶ added in v0.19.0
func (x *UploadInstructions) GetType() DebuginfoType
func (*UploadInstructions) GetUploadId ¶ added in v0.15.0
func (x *UploadInstructions) GetUploadId() string
func (*UploadInstructions) GetUploadStrategy ¶ added in v0.15.0
func (x *UploadInstructions) GetUploadStrategy() UploadInstructions_UploadStrategy
func (*UploadInstructions) MarshalToSizedBufferVT ¶ added in v0.15.0
func (m *UploadInstructions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UploadInstructions) MarshalToVT ¶ added in v0.15.0
func (m *UploadInstructions) MarshalToVT(dAtA []byte) (int, error)
func (*UploadInstructions) MarshalVT ¶ added in v0.15.0
func (m *UploadInstructions) MarshalVT() (dAtA []byte, err error)
func (*UploadInstructions) ProtoMessage ¶ added in v0.15.0
func (*UploadInstructions) ProtoMessage()
func (*UploadInstructions) ProtoReflect ¶ added in v0.15.0
func (x *UploadInstructions) ProtoReflect() protoreflect.Message
func (*UploadInstructions) Reset ¶ added in v0.15.0
func (x *UploadInstructions) Reset()
func (*UploadInstructions) SizeVT ¶ added in v0.15.0
func (m *UploadInstructions) SizeVT() (n int)
func (*UploadInstructions) String ¶ added in v0.15.0
func (x *UploadInstructions) String() string
func (*UploadInstructions) UnmarshalVT ¶ added in v0.15.0
func (m *UploadInstructions) UnmarshalVT(dAtA []byte) error
type UploadInstructions_UploadStrategy ¶ added in v0.15.0
type UploadInstructions_UploadStrategy int32
The strategy to use for uploading.
const ( // The upload is not allowed. UploadInstructions_UPLOAD_STRATEGY_UNSPECIFIED UploadInstructions_UploadStrategy = 0 // The upload is allowed and should be done via the Upload RPC. UploadInstructions_UPLOAD_STRATEGY_GRPC UploadInstructions_UploadStrategy = 1 // The upload is allowed and should be done via a returned signed URL. UploadInstructions_UPLOAD_STRATEGY_SIGNED_URL UploadInstructions_UploadStrategy = 2 )
func (UploadInstructions_UploadStrategy) Descriptor ¶ added in v0.15.0
func (UploadInstructions_UploadStrategy) Descriptor() protoreflect.EnumDescriptor
func (UploadInstructions_UploadStrategy) Enum ¶ added in v0.15.0
func (x UploadInstructions_UploadStrategy) Enum() *UploadInstructions_UploadStrategy
func (UploadInstructions_UploadStrategy) EnumDescriptor
deprecated
added in
v0.15.0
func (UploadInstructions_UploadStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use UploadInstructions_UploadStrategy.Descriptor instead.
func (UploadInstructions_UploadStrategy) Number ¶ added in v0.15.0
func (x UploadInstructions_UploadStrategy) Number() protoreflect.EnumNumber
func (UploadInstructions_UploadStrategy) String ¶ added in v0.15.0
func (x UploadInstructions_UploadStrategy) String() string
func (UploadInstructions_UploadStrategy) Type ¶ added in v0.15.0
func (UploadInstructions_UploadStrategy) Type() protoreflect.EnumType
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