Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAnalysisHTTPServer(s *http.Server, srv AnalysisHTTPServer)
- func RegisterAnalysisServer(s grpc.ServiceRegistrar, srv AnalysisServer)
- type AnalysisByGIDReply
- func (*AnalysisByGIDReply) Descriptor() ([]byte, []int)deprecated
- func (x *AnalysisByGIDReply) GetTraceData() []*AnalysisByGIDReply_TraceData
- func (*AnalysisByGIDReply) ProtoMessage()
- func (x *AnalysisByGIDReply) ProtoReflect() protoreflect.Message
- func (x *AnalysisByGIDReply) Reset()
- func (x *AnalysisByGIDReply) String() string
- type AnalysisByGIDReply_TraceData
- func (*AnalysisByGIDReply_TraceData) Descriptor() ([]byte, []int)deprecated
- func (x *AnalysisByGIDReply_TraceData) GetGid() int32
- func (x *AnalysisByGIDReply_TraceData) GetId() int32
- func (x *AnalysisByGIDReply_TraceData) GetIndent() int32
- func (x *AnalysisByGIDReply_TraceData) GetName() string
- func (x *AnalysisByGIDReply_TraceData) GetParamCount() int32
- func (x *AnalysisByGIDReply_TraceData) GetParams() []*TraceParams
- func (x *AnalysisByGIDReply_TraceData) GetTimeCost() string
- func (*AnalysisByGIDReply_TraceData) ProtoMessage()
- func (x *AnalysisByGIDReply_TraceData) ProtoReflect() protoreflect.Message
- func (x *AnalysisByGIDReply_TraceData) Reset()
- func (x *AnalysisByGIDReply_TraceData) String() string
- type AnalysisByGIDRequest
- func (*AnalysisByGIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnalysisByGIDRequest) GetGid() string
- func (*AnalysisByGIDRequest) ProtoMessage()
- func (x *AnalysisByGIDRequest) ProtoReflect() protoreflect.Message
- func (x *AnalysisByGIDRequest) Reset()
- func (x *AnalysisByGIDRequest) String() string
- type AnalysisClient
- type AnalysisHTTPClient
- type AnalysisHTTPClientImpl
- func (c *AnalysisHTTPClientImpl) CheckDatabase(ctx context.Context, in *CheckDatabaseRequest, opts ...http.CallOption) (*CheckDatabaseResponse, error)
- func (c *AnalysisHTTPClientImpl) GenerateImage(ctx context.Context, in *GenerateImageReq, opts ...http.CallOption) (*GenerateImageReply, error)
- func (c *AnalysisHTTPClientImpl) GetAllFunctionName(ctx context.Context, in *GetAllFunctionNameReq, opts ...http.CallOption) (*GetAllFunctionNameReply, error)
- func (c *AnalysisHTTPClientImpl) GetAllGIDs(ctx context.Context, in *GetAllGIDsReq, opts ...http.CallOption) (*GetAllGIDsReply, error)
- func (c *AnalysisHTTPClientImpl) GetAnalysis(ctx context.Context, in *AnalysisRequest, opts ...http.CallOption) (*AnalysisReply, error)
- func (c *AnalysisHTTPClientImpl) GetAnalysisByGID(ctx context.Context, in *AnalysisByGIDRequest, opts ...http.CallOption) (*AnalysisByGIDReply, error)
- func (c *AnalysisHTTPClientImpl) GetGidsByFunctionName(ctx context.Context, in *GetGidsByFunctionNameReq, opts ...http.CallOption) (*GetGidsByFunctionNameReply, error)
- func (c *AnalysisHTTPClientImpl) GetParamsByID(ctx context.Context, in *GetParamsByIDReq, opts ...http.CallOption) (*GetParamsByIDReply, error)
- func (c *AnalysisHTTPClientImpl) GetTraceGraph(ctx context.Context, in *GetTraceGraphReq, opts ...http.CallOption) (*GetTraceGraphReply, error)
- func (c *AnalysisHTTPClientImpl) VerifyProjectPath(ctx context.Context, in *VerifyProjectPathReq, opts ...http.CallOption) (*VerifyProjectPathReply, error)
- type AnalysisHTTPServer
- type AnalysisReply
- type AnalysisRequest
- type AnalysisServer
- type CheckDatabaseRequest
- type CheckDatabaseResponse
- func (*CheckDatabaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckDatabaseResponse) GetExists() bool
- func (*CheckDatabaseResponse) ProtoMessage()
- func (x *CheckDatabaseResponse) ProtoReflect() protoreflect.Message
- func (x *CheckDatabaseResponse) Reset()
- func (x *CheckDatabaseResponse) String() string
- type ErrorReason
- func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorReason) Enum() *ErrorReason
- func (ErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorReason) Number() protoreflect.EnumNumber
- func (x ErrorReason) String() string
- func (ErrorReason) Type() protoreflect.EnumType
- type GenerateImageReply
- func (*GenerateImageReply) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateImageReply) GetImage() string
- func (*GenerateImageReply) ProtoMessage()
- func (x *GenerateImageReply) ProtoReflect() protoreflect.Message
- func (x *GenerateImageReply) Reset()
- func (x *GenerateImageReply) String() string
- type GenerateImageReq
- type GetAllFunctionNameReply
- func (*GetAllFunctionNameReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllFunctionNameReply) GetFunctionNames() []string
- func (*GetAllFunctionNameReply) ProtoMessage()
- func (x *GetAllFunctionNameReply) ProtoReflect() protoreflect.Message
- func (x *GetAllFunctionNameReply) Reset()
- func (x *GetAllFunctionNameReply) String() string
- type GetAllFunctionNameReq
- type GetAllGIDsReply
- func (*GetAllGIDsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllGIDsReply) GetBody() []*GetAllGIDsReply_Body
- func (x *GetAllGIDsReply) GetTotal() int32
- func (*GetAllGIDsReply) ProtoMessage()
- func (x *GetAllGIDsReply) ProtoReflect() protoreflect.Message
- func (x *GetAllGIDsReply) Reset()
- func (x *GetAllGIDsReply) String() string
- type GetAllGIDsReply_Body
- func (*GetAllGIDsReply_Body) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllGIDsReply_Body) GetGid() uint64
- func (x *GetAllGIDsReply_Body) GetInitialFunc() string
- func (*GetAllGIDsReply_Body) ProtoMessage()
- func (x *GetAllGIDsReply_Body) ProtoReflect() protoreflect.Message
- func (x *GetAllGIDsReply_Body) Reset()
- func (x *GetAllGIDsReply_Body) String() string
- type GetAllGIDsReq
- func (*GetAllGIDsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllGIDsReq) GetLimit() int32
- func (x *GetAllGIDsReq) GetPage() int32
- func (*GetAllGIDsReq) ProtoMessage()
- func (x *GetAllGIDsReq) ProtoReflect() protoreflect.Message
- func (x *GetAllGIDsReq) Reset()
- func (x *GetAllGIDsReq) String() string
- type GetGidsByFunctionNameReply
- func (*GetGidsByFunctionNameReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetGidsByFunctionNameReply) GetGids() []string
- func (*GetGidsByFunctionNameReply) ProtoMessage()
- func (x *GetGidsByFunctionNameReply) ProtoReflect() protoreflect.Message
- func (x *GetGidsByFunctionNameReply) Reset()
- func (x *GetGidsByFunctionNameReply) String() string
- type GetGidsByFunctionNameReq
- func (*GetGidsByFunctionNameReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetGidsByFunctionNameReq) GetFunctionName() string
- func (*GetGidsByFunctionNameReq) ProtoMessage()
- func (x *GetGidsByFunctionNameReq) ProtoReflect() protoreflect.Message
- func (x *GetGidsByFunctionNameReq) Reset()
- func (x *GetGidsByFunctionNameReq) String() string
- type GetParamsByIDReply
- func (*GetParamsByIDReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetParamsByIDReply) GetParams() []*TraceParams
- func (*GetParamsByIDReply) ProtoMessage()
- func (x *GetParamsByIDReply) ProtoReflect() protoreflect.Message
- func (x *GetParamsByIDReply) Reset()
- func (x *GetParamsByIDReply) String() string
- type GetParamsByIDReq
- type GetTraceGraphReply
- func (*GetTraceGraphReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetTraceGraphReply) GetEdges() []*GraphEdge
- func (x *GetTraceGraphReply) GetNodes() []*GraphNode
- func (*GetTraceGraphReply) ProtoMessage()
- func (x *GetTraceGraphReply) ProtoReflect() protoreflect.Message
- func (x *GetTraceGraphReply) Reset()
- func (x *GetTraceGraphReply) String() string
- type GetTraceGraphReq
- type GraphEdge
- func (*GraphEdge) Descriptor() ([]byte, []int)deprecated
- func (x *GraphEdge) GetLabel() string
- func (x *GraphEdge) GetSource() string
- func (x *GraphEdge) GetTarget() string
- func (*GraphEdge) ProtoMessage()
- func (x *GraphEdge) ProtoReflect() protoreflect.Message
- func (x *GraphEdge) Reset()
- func (x *GraphEdge) String() string
- type GraphNode
- func (*GraphNode) Descriptor() ([]byte, []int)deprecated
- func (x *GraphNode) GetCallCount() int32
- func (x *GraphNode) GetId() string
- func (x *GraphNode) GetName() string
- func (*GraphNode) ProtoMessage()
- func (x *GraphNode) ProtoReflect() protoreflect.Message
- func (x *GraphNode) Reset()
- func (x *GraphNode) String() string
- type TraceParams
- type UnimplementedAnalysisServer
- func (UnimplementedAnalysisServer) CheckDatabase(context.Context, *CheckDatabaseRequest) (*CheckDatabaseResponse, error)
- func (UnimplementedAnalysisServer) GenerateImage(context.Context, *GenerateImageReq) (*GenerateImageReply, error)
- func (UnimplementedAnalysisServer) GetAllFunctionName(context.Context, *GetAllFunctionNameReq) (*GetAllFunctionNameReply, error)
- func (UnimplementedAnalysisServer) GetAllGIDs(context.Context, *GetAllGIDsReq) (*GetAllGIDsReply, error)
- func (UnimplementedAnalysisServer) GetAnalysis(context.Context, *AnalysisRequest) (*AnalysisReply, error)
- func (UnimplementedAnalysisServer) GetAnalysisByGID(context.Context, *AnalysisByGIDRequest) (*AnalysisByGIDReply, error)
- func (UnimplementedAnalysisServer) GetGidsByFunctionName(context.Context, *GetGidsByFunctionNameReq) (*GetGidsByFunctionNameReply, error)
- func (UnimplementedAnalysisServer) GetParamsByID(context.Context, *GetParamsByIDReq) (*GetParamsByIDReply, error)
- func (UnimplementedAnalysisServer) GetTraceGraph(context.Context, *GetTraceGraphReq) (*GetTraceGraphReply, error)
- func (UnimplementedAnalysisServer) VerifyProjectPath(context.Context, *VerifyProjectPathReq) (*VerifyProjectPathReply, error)
- type UnsafeAnalysisServer
- type VerifyProjectPathReply
- func (*VerifyProjectPathReply) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyProjectPathReply) GetVerified() bool
- func (*VerifyProjectPathReply) ProtoMessage()
- func (x *VerifyProjectPathReply) ProtoReflect() protoreflect.Message
- func (x *VerifyProjectPathReply) Reset()
- func (x *VerifyProjectPathReply) String() string
- type VerifyProjectPathReq
- func (*VerifyProjectPathReq) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyProjectPathReq) GetPath() string
- func (*VerifyProjectPathReq) ProtoMessage()
- func (x *VerifyProjectPathReq) ProtoReflect() protoreflect.Message
- func (x *VerifyProjectPathReq) Reset()
- func (x *VerifyProjectPathReq) String() string
Constants ¶
const ( Analysis_GetAnalysis_FullMethodName = "/analysis.v1.Analysis/GetAnalysis" Analysis_GetAnalysisByGID_FullMethodName = "/analysis.v1.Analysis/GetAnalysisByGID" Analysis_GetAllGIDs_FullMethodName = "/analysis.v1.Analysis/GetAllGIDs" Analysis_GetParamsByID_FullMethodName = "/analysis.v1.Analysis/GetParamsByID" Analysis_GenerateImage_FullMethodName = "/analysis.v1.Analysis/GenerateImage" Analysis_GetAllFunctionName_FullMethodName = "/analysis.v1.Analysis/GetAllFunctionName" Analysis_GetGidsByFunctionName_FullMethodName = "/analysis.v1.Analysis/GetGidsByFunctionName" Analysis_VerifyProjectPath_FullMethodName = "/analysis.v1.Analysis/VerifyProjectPath" Analysis_CheckDatabase_FullMethodName = "/analysis.v1.Analysis/CheckDatabase" Analysis_GetTraceGraph_FullMethodName = "/analysis.v1.Analysis/GetTraceGraph" )
const OperationAnalysisCheckDatabase = "/analysis.v1.Analysis/CheckDatabase"
const OperationAnalysisGenerateImage = "/analysis.v1.Analysis/GenerateImage"
const OperationAnalysisGetAllFunctionName = "/analysis.v1.Analysis/GetAllFunctionName"
const OperationAnalysisGetAllGIDs = "/analysis.v1.Analysis/GetAllGIDs"
const OperationAnalysisGetAnalysis = "/analysis.v1.Analysis/GetAnalysis"
const OperationAnalysisGetAnalysisByGID = "/analysis.v1.Analysis/GetAnalysisByGID"
const OperationAnalysisGetGidsByFunctionName = "/analysis.v1.Analysis/GetGidsByFunctionName"
const OperationAnalysisGetParamsByID = "/analysis.v1.Analysis/GetParamsByID"
const OperationAnalysisGetTraceGraph = "/analysis.v1.Analysis/GetTraceGraph"
const OperationAnalysisVerifyProjectPath = "/analysis.v1.Analysis/VerifyProjectPath"
Variables ¶
var ( ErrorReason_name = map[int32]string{ 0: "GREETER_UNSPECIFIED", 1: "USER_NOT_FOUND", } ErrorReason_value = map[string]int32{ "GREETER_UNSPECIFIED": 0, "USER_NOT_FOUND": 1, } )
Enum value maps for ErrorReason.
var Analysis_ServiceDesc = grpc.ServiceDesc{ ServiceName: "analysis.v1.Analysis", HandlerType: (*AnalysisServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAnalysis", Handler: _Analysis_GetAnalysis_Handler, }, { MethodName: "GetAnalysisByGID", Handler: _Analysis_GetAnalysisByGID_Handler, }, { MethodName: "GetAllGIDs", Handler: _Analysis_GetAllGIDs_Handler, }, { MethodName: "GetParamsByID", Handler: _Analysis_GetParamsByID_Handler, }, { MethodName: "GenerateImage", Handler: _Analysis_GenerateImage_Handler, }, { MethodName: "GetAllFunctionName", Handler: _Analysis_GetAllFunctionName_Handler, }, { MethodName: "GetGidsByFunctionName", Handler: _Analysis_GetGidsByFunctionName_Handler, }, { MethodName: "VerifyProjectPath", Handler: _Analysis_VerifyProjectPath_Handler, }, { MethodName: "CheckDatabase", Handler: _Analysis_CheckDatabase_Handler, }, { MethodName: "GetTraceGraph", Handler: _Analysis_GetTraceGraph_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "analysis/v1/analysis.proto", }
Analysis_ServiceDesc is the grpc.ServiceDesc for Analysis service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_analysis_v1_analysis_proto protoreflect.FileDescriptor
var File_analysis_v1_error_reason_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAnalysisHTTPServer ¶
func RegisterAnalysisHTTPServer(s *http.Server, srv AnalysisHTTPServer)
func RegisterAnalysisServer ¶
func RegisterAnalysisServer(s grpc.ServiceRegistrar, srv AnalysisServer)
Types ¶
type AnalysisByGIDReply ¶
type AnalysisByGIDReply struct {
TraceData []*AnalysisByGIDReply_TraceData `protobuf:"bytes,1,rep,name=trace_data,json=traceData,proto3" json:"trace_data,omitempty"`
// contains filtered or unexported fields
}
func (*AnalysisByGIDReply) Descriptor
deprecated
func (*AnalysisByGIDReply) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisByGIDReply.ProtoReflect.Descriptor instead.
func (*AnalysisByGIDReply) GetTraceData ¶
func (x *AnalysisByGIDReply) GetTraceData() []*AnalysisByGIDReply_TraceData
func (*AnalysisByGIDReply) ProtoMessage ¶
func (*AnalysisByGIDReply) ProtoMessage()
func (*AnalysisByGIDReply) ProtoReflect ¶
func (x *AnalysisByGIDReply) ProtoReflect() protoreflect.Message
func (*AnalysisByGIDReply) Reset ¶
func (x *AnalysisByGIDReply) Reset()
func (*AnalysisByGIDReply) String ¶
func (x *AnalysisByGIDReply) String() string
type AnalysisByGIDReply_TraceData ¶
type AnalysisByGIDReply_TraceData struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Gid int32 `protobuf:"varint,3,opt,name=gid,proto3" json:"gid,omitempty"`
Indent int32 `protobuf:"varint,4,opt,name=indent,proto3" json:"indent,omitempty"`
Params []*TraceParams `protobuf:"bytes,5,rep,name=params,proto3" json:"params,omitempty"`
ParamCount int32 `protobuf:"varint,6,opt,name=paramCount,proto3" json:"paramCount,omitempty"`
TimeCost string `protobuf:"bytes,7,opt,name=timeCost,proto3" json:"timeCost,omitempty"`
// contains filtered or unexported fields
}
func (*AnalysisByGIDReply_TraceData) Descriptor
deprecated
func (*AnalysisByGIDReply_TraceData) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisByGIDReply_TraceData.ProtoReflect.Descriptor instead.
func (*AnalysisByGIDReply_TraceData) GetGid ¶
func (x *AnalysisByGIDReply_TraceData) GetGid() int32
func (*AnalysisByGIDReply_TraceData) GetId ¶
func (x *AnalysisByGIDReply_TraceData) GetId() int32
func (*AnalysisByGIDReply_TraceData) GetIndent ¶
func (x *AnalysisByGIDReply_TraceData) GetIndent() int32
func (*AnalysisByGIDReply_TraceData) GetName ¶
func (x *AnalysisByGIDReply_TraceData) GetName() string
func (*AnalysisByGIDReply_TraceData) GetParamCount ¶
func (x *AnalysisByGIDReply_TraceData) GetParamCount() int32
func (*AnalysisByGIDReply_TraceData) GetParams ¶
func (x *AnalysisByGIDReply_TraceData) GetParams() []*TraceParams
func (*AnalysisByGIDReply_TraceData) GetTimeCost ¶
func (x *AnalysisByGIDReply_TraceData) GetTimeCost() string
func (*AnalysisByGIDReply_TraceData) ProtoMessage ¶
func (*AnalysisByGIDReply_TraceData) ProtoMessage()
func (*AnalysisByGIDReply_TraceData) ProtoReflect ¶
func (x *AnalysisByGIDReply_TraceData) ProtoReflect() protoreflect.Message
func (*AnalysisByGIDReply_TraceData) Reset ¶
func (x *AnalysisByGIDReply_TraceData) Reset()
func (*AnalysisByGIDReply_TraceData) String ¶
func (x *AnalysisByGIDReply_TraceData) String() string
type AnalysisByGIDRequest ¶
type AnalysisByGIDRequest struct {
Gid string `protobuf:"bytes,1,opt,name=gid,proto3" json:"gid,omitempty"`
// contains filtered or unexported fields
}
func (*AnalysisByGIDRequest) Descriptor
deprecated
func (*AnalysisByGIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisByGIDRequest.ProtoReflect.Descriptor instead.
func (*AnalysisByGIDRequest) GetGid ¶
func (x *AnalysisByGIDRequest) GetGid() string
func (*AnalysisByGIDRequest) ProtoMessage ¶
func (*AnalysisByGIDRequest) ProtoMessage()
func (*AnalysisByGIDRequest) ProtoReflect ¶
func (x *AnalysisByGIDRequest) ProtoReflect() protoreflect.Message
func (*AnalysisByGIDRequest) Reset ¶
func (x *AnalysisByGIDRequest) Reset()
func (*AnalysisByGIDRequest) String ¶
func (x *AnalysisByGIDRequest) String() string
type AnalysisClient ¶
type AnalysisClient interface {
// Sends a greeting
GetAnalysis(ctx context.Context, in *AnalysisRequest, opts ...grpc.CallOption) (*AnalysisReply, error)
GetAnalysisByGID(ctx context.Context, in *AnalysisByGIDRequest, opts ...grpc.CallOption) (*AnalysisByGIDReply, error)
GetAllGIDs(ctx context.Context, in *GetAllGIDsReq, opts ...grpc.CallOption) (*GetAllGIDsReply, error)
GetParamsByID(ctx context.Context, in *GetParamsByIDReq, opts ...grpc.CallOption) (*GetParamsByIDReply, error)
GenerateImage(ctx context.Context, in *GenerateImageReq, opts ...grpc.CallOption) (*GenerateImageReply, error)
GetAllFunctionName(ctx context.Context, in *GetAllFunctionNameReq, opts ...grpc.CallOption) (*GetAllFunctionNameReply, error)
GetGidsByFunctionName(ctx context.Context, in *GetGidsByFunctionNameReq, opts ...grpc.CallOption) (*GetGidsByFunctionNameReply, error)
VerifyProjectPath(ctx context.Context, in *VerifyProjectPathReq, opts ...grpc.CallOption) (*VerifyProjectPathReply, error)
// CheckDatabase checks if the trace database exists
CheckDatabase(ctx context.Context, in *CheckDatabaseRequest, opts ...grpc.CallOption) (*CheckDatabaseResponse, error)
GetTraceGraph(ctx context.Context, in *GetTraceGraphReq, opts ...grpc.CallOption) (*GetTraceGraphReply, error)
}
AnalysisClient is the client API for Analysis 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 NewAnalysisClient ¶
func NewAnalysisClient(cc grpc.ClientConnInterface) AnalysisClient
type AnalysisHTTPClient ¶
type AnalysisHTTPClient interface {
CheckDatabase(ctx context.Context, req *CheckDatabaseRequest, opts ...http.CallOption) (rsp *CheckDatabaseResponse, err error)
GenerateImage(ctx context.Context, req *GenerateImageReq, opts ...http.CallOption) (rsp *GenerateImageReply, err error)
GetAllFunctionName(ctx context.Context, req *GetAllFunctionNameReq, opts ...http.CallOption) (rsp *GetAllFunctionNameReply, err error)
GetAllGIDs(ctx context.Context, req *GetAllGIDsReq, opts ...http.CallOption) (rsp *GetAllGIDsReply, err error)
GetAnalysis(ctx context.Context, req *AnalysisRequest, opts ...http.CallOption) (rsp *AnalysisReply, err error)
GetAnalysisByGID(ctx context.Context, req *AnalysisByGIDRequest, opts ...http.CallOption) (rsp *AnalysisByGIDReply, err error)
GetGidsByFunctionName(ctx context.Context, req *GetGidsByFunctionNameReq, opts ...http.CallOption) (rsp *GetGidsByFunctionNameReply, err error)
GetParamsByID(ctx context.Context, req *GetParamsByIDReq, opts ...http.CallOption) (rsp *GetParamsByIDReply, err error)
GetTraceGraph(ctx context.Context, req *GetTraceGraphReq, opts ...http.CallOption) (rsp *GetTraceGraphReply, err error)
VerifyProjectPath(ctx context.Context, req *VerifyProjectPathReq, opts ...http.CallOption) (rsp *VerifyProjectPathReply, err error)
}
func NewAnalysisHTTPClient ¶
func NewAnalysisHTTPClient(client *http.Client) AnalysisHTTPClient
type AnalysisHTTPClientImpl ¶
type AnalysisHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*AnalysisHTTPClientImpl) CheckDatabase ¶ added in v1.0.1
func (c *AnalysisHTTPClientImpl) CheckDatabase(ctx context.Context, in *CheckDatabaseRequest, opts ...http.CallOption) (*CheckDatabaseResponse, error)
func (*AnalysisHTTPClientImpl) GenerateImage ¶
func (c *AnalysisHTTPClientImpl) GenerateImage(ctx context.Context, in *GenerateImageReq, opts ...http.CallOption) (*GenerateImageReply, error)
func (*AnalysisHTTPClientImpl) GetAllFunctionName ¶
func (c *AnalysisHTTPClientImpl) GetAllFunctionName(ctx context.Context, in *GetAllFunctionNameReq, opts ...http.CallOption) (*GetAllFunctionNameReply, error)
func (*AnalysisHTTPClientImpl) GetAllGIDs ¶
func (c *AnalysisHTTPClientImpl) GetAllGIDs(ctx context.Context, in *GetAllGIDsReq, opts ...http.CallOption) (*GetAllGIDsReply, error)
func (*AnalysisHTTPClientImpl) GetAnalysis ¶
func (c *AnalysisHTTPClientImpl) GetAnalysis(ctx context.Context, in *AnalysisRequest, opts ...http.CallOption) (*AnalysisReply, error)
func (*AnalysisHTTPClientImpl) GetAnalysisByGID ¶
func (c *AnalysisHTTPClientImpl) GetAnalysisByGID(ctx context.Context, in *AnalysisByGIDRequest, opts ...http.CallOption) (*AnalysisByGIDReply, error)
func (*AnalysisHTTPClientImpl) GetGidsByFunctionName ¶
func (c *AnalysisHTTPClientImpl) GetGidsByFunctionName(ctx context.Context, in *GetGidsByFunctionNameReq, opts ...http.CallOption) (*GetGidsByFunctionNameReply, error)
func (*AnalysisHTTPClientImpl) GetParamsByID ¶
func (c *AnalysisHTTPClientImpl) GetParamsByID(ctx context.Context, in *GetParamsByIDReq, opts ...http.CallOption) (*GetParamsByIDReply, error)
func (*AnalysisHTTPClientImpl) GetTraceGraph ¶ added in v1.0.1
func (c *AnalysisHTTPClientImpl) GetTraceGraph(ctx context.Context, in *GetTraceGraphReq, opts ...http.CallOption) (*GetTraceGraphReply, error)
func (*AnalysisHTTPClientImpl) VerifyProjectPath ¶ added in v1.0.1
func (c *AnalysisHTTPClientImpl) VerifyProjectPath(ctx context.Context, in *VerifyProjectPathReq, opts ...http.CallOption) (*VerifyProjectPathReply, error)
type AnalysisHTTPServer ¶
type AnalysisHTTPServer interface {
// CheckDatabase CheckDatabase checks if the trace database exists
CheckDatabase(context.Context, *CheckDatabaseRequest) (*CheckDatabaseResponse, error)
GenerateImage(context.Context, *GenerateImageReq) (*GenerateImageReply, error)
GetAllFunctionName(context.Context, *GetAllFunctionNameReq) (*GetAllFunctionNameReply, error)
GetAllGIDs(context.Context, *GetAllGIDsReq) (*GetAllGIDsReply, error)
// GetAnalysis Sends a greeting
GetAnalysis(context.Context, *AnalysisRequest) (*AnalysisReply, error)
GetAnalysisByGID(context.Context, *AnalysisByGIDRequest) (*AnalysisByGIDReply, error)
GetGidsByFunctionName(context.Context, *GetGidsByFunctionNameReq) (*GetGidsByFunctionNameReply, error)
GetParamsByID(context.Context, *GetParamsByIDReq) (*GetParamsByIDReply, error)
GetTraceGraph(context.Context, *GetTraceGraphReq) (*GetTraceGraphReply, error)
VerifyProjectPath(context.Context, *VerifyProjectPathReq) (*VerifyProjectPathReply, error)
}
type AnalysisReply ¶
type AnalysisReply struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
The response message containing the greetings
func (*AnalysisReply) Descriptor
deprecated
func (*AnalysisReply) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisReply.ProtoReflect.Descriptor instead.
func (*AnalysisReply) GetMessage ¶
func (x *AnalysisReply) GetMessage() string
func (*AnalysisReply) ProtoMessage ¶
func (*AnalysisReply) ProtoMessage()
func (*AnalysisReply) ProtoReflect ¶
func (x *AnalysisReply) ProtoReflect() protoreflect.Message
func (*AnalysisReply) Reset ¶
func (x *AnalysisReply) Reset()
func (*AnalysisReply) String ¶
func (x *AnalysisReply) String() string
type AnalysisRequest ¶
type AnalysisRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request message containing the user's name.
func (*AnalysisRequest) Descriptor
deprecated
func (*AnalysisRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisRequest.ProtoReflect.Descriptor instead.
func (*AnalysisRequest) GetName ¶
func (x *AnalysisRequest) GetName() string
func (*AnalysisRequest) ProtoMessage ¶
func (*AnalysisRequest) ProtoMessage()
func (*AnalysisRequest) ProtoReflect ¶
func (x *AnalysisRequest) ProtoReflect() protoreflect.Message
func (*AnalysisRequest) Reset ¶
func (x *AnalysisRequest) Reset()
func (*AnalysisRequest) String ¶
func (x *AnalysisRequest) String() string
type AnalysisServer ¶
type AnalysisServer interface {
// Sends a greeting
GetAnalysis(context.Context, *AnalysisRequest) (*AnalysisReply, error)
GetAnalysisByGID(context.Context, *AnalysisByGIDRequest) (*AnalysisByGIDReply, error)
GetAllGIDs(context.Context, *GetAllGIDsReq) (*GetAllGIDsReply, error)
GetParamsByID(context.Context, *GetParamsByIDReq) (*GetParamsByIDReply, error)
GenerateImage(context.Context, *GenerateImageReq) (*GenerateImageReply, error)
GetAllFunctionName(context.Context, *GetAllFunctionNameReq) (*GetAllFunctionNameReply, error)
GetGidsByFunctionName(context.Context, *GetGidsByFunctionNameReq) (*GetGidsByFunctionNameReply, error)
VerifyProjectPath(context.Context, *VerifyProjectPathReq) (*VerifyProjectPathReply, error)
// CheckDatabase checks if the trace database exists
CheckDatabase(context.Context, *CheckDatabaseRequest) (*CheckDatabaseResponse, error)
GetTraceGraph(context.Context, *GetTraceGraphReq) (*GetTraceGraphReply, error)
// contains filtered or unexported methods
}
AnalysisServer is the server API for Analysis service. All implementations must embed UnimplementedAnalysisServer for forward compatibility
type CheckDatabaseRequest ¶ added in v1.0.1
type CheckDatabaseRequest struct {
// contains filtered or unexported fields
}
func (*CheckDatabaseRequest) Descriptor
deprecated
added in
v1.0.1
func (*CheckDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckDatabaseRequest.ProtoReflect.Descriptor instead.
func (*CheckDatabaseRequest) ProtoMessage ¶ added in v1.0.1
func (*CheckDatabaseRequest) ProtoMessage()
func (*CheckDatabaseRequest) ProtoReflect ¶ added in v1.0.1
func (x *CheckDatabaseRequest) ProtoReflect() protoreflect.Message
func (*CheckDatabaseRequest) Reset ¶ added in v1.0.1
func (x *CheckDatabaseRequest) Reset()
func (*CheckDatabaseRequest) String ¶ added in v1.0.1
func (x *CheckDatabaseRequest) String() string
type CheckDatabaseResponse ¶ added in v1.0.1
type CheckDatabaseResponse struct {
Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
// contains filtered or unexported fields
}
func (*CheckDatabaseResponse) Descriptor
deprecated
added in
v1.0.1
func (*CheckDatabaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckDatabaseResponse.ProtoReflect.Descriptor instead.
func (*CheckDatabaseResponse) GetExists ¶ added in v1.0.1
func (x *CheckDatabaseResponse) GetExists() bool
func (*CheckDatabaseResponse) ProtoMessage ¶ added in v1.0.1
func (*CheckDatabaseResponse) ProtoMessage()
func (*CheckDatabaseResponse) ProtoReflect ¶ added in v1.0.1
func (x *CheckDatabaseResponse) ProtoReflect() protoreflect.Message
func (*CheckDatabaseResponse) Reset ¶ added in v1.0.1
func (x *CheckDatabaseResponse) Reset()
func (*CheckDatabaseResponse) String ¶ added in v1.0.1
func (x *CheckDatabaseResponse) String() string
type ErrorReason ¶
type ErrorReason int32
const ( ErrorReason_GREETER_UNSPECIFIED ErrorReason = 0 ErrorReason_USER_NOT_FOUND ErrorReason = 1 )
func (ErrorReason) Descriptor ¶
func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorReason) Enum ¶
func (x ErrorReason) Enum() *ErrorReason
func (ErrorReason) EnumDescriptor
deprecated
func (ErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorReason.Descriptor instead.
func (ErrorReason) Number ¶
func (x ErrorReason) Number() protoreflect.EnumNumber
func (ErrorReason) String ¶
func (x ErrorReason) String() string
func (ErrorReason) Type ¶
func (ErrorReason) Type() protoreflect.EnumType
type GenerateImageReply ¶
type GenerateImageReply struct {
Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
// contains filtered or unexported fields
}
func (*GenerateImageReply) Descriptor
deprecated
func (*GenerateImageReply) Descriptor() ([]byte, []int)
Deprecated: Use GenerateImageReply.ProtoReflect.Descriptor instead.
func (*GenerateImageReply) GetImage ¶
func (x *GenerateImageReply) GetImage() string
func (*GenerateImageReply) ProtoMessage ¶
func (*GenerateImageReply) ProtoMessage()
func (*GenerateImageReply) ProtoReflect ¶
func (x *GenerateImageReply) ProtoReflect() protoreflect.Message
func (*GenerateImageReply) Reset ¶
func (x *GenerateImageReply) Reset()
func (*GenerateImageReply) String ¶
func (x *GenerateImageReply) String() string
type GenerateImageReq ¶
type GenerateImageReq struct {
Gid string `protobuf:"bytes,1,opt,name=gid,proto3" json:"gid,omitempty"`
// contains filtered or unexported fields
}
func (*GenerateImageReq) Descriptor
deprecated
func (*GenerateImageReq) Descriptor() ([]byte, []int)
Deprecated: Use GenerateImageReq.ProtoReflect.Descriptor instead.
func (*GenerateImageReq) GetGid ¶
func (x *GenerateImageReq) GetGid() string
func (*GenerateImageReq) ProtoMessage ¶
func (*GenerateImageReq) ProtoMessage()
func (*GenerateImageReq) ProtoReflect ¶
func (x *GenerateImageReq) ProtoReflect() protoreflect.Message
func (*GenerateImageReq) Reset ¶
func (x *GenerateImageReq) Reset()
func (*GenerateImageReq) String ¶
func (x *GenerateImageReq) String() string
type GetAllFunctionNameReply ¶
type GetAllFunctionNameReply struct {
FunctionNames []string `protobuf:"bytes,1,rep,name=functionNames,proto3" json:"functionNames,omitempty"`
// contains filtered or unexported fields
}
func (*GetAllFunctionNameReply) Descriptor
deprecated
func (*GetAllFunctionNameReply) Descriptor() ([]byte, []int)
Deprecated: Use GetAllFunctionNameReply.ProtoReflect.Descriptor instead.
func (*GetAllFunctionNameReply) GetFunctionNames ¶
func (x *GetAllFunctionNameReply) GetFunctionNames() []string
func (*GetAllFunctionNameReply) ProtoMessage ¶
func (*GetAllFunctionNameReply) ProtoMessage()
func (*GetAllFunctionNameReply) ProtoReflect ¶
func (x *GetAllFunctionNameReply) ProtoReflect() protoreflect.Message
func (*GetAllFunctionNameReply) Reset ¶
func (x *GetAllFunctionNameReply) Reset()
func (*GetAllFunctionNameReply) String ¶
func (x *GetAllFunctionNameReply) String() string
type GetAllFunctionNameReq ¶
type GetAllFunctionNameReq struct {
// contains filtered or unexported fields
}
func (*GetAllFunctionNameReq) Descriptor
deprecated
func (*GetAllFunctionNameReq) Descriptor() ([]byte, []int)
Deprecated: Use GetAllFunctionNameReq.ProtoReflect.Descriptor instead.
func (*GetAllFunctionNameReq) ProtoMessage ¶
func (*GetAllFunctionNameReq) ProtoMessage()
func (*GetAllFunctionNameReq) ProtoReflect ¶
func (x *GetAllFunctionNameReq) ProtoReflect() protoreflect.Message
func (*GetAllFunctionNameReq) Reset ¶
func (x *GetAllFunctionNameReq) Reset()
func (*GetAllFunctionNameReq) String ¶
func (x *GetAllFunctionNameReq) String() string
type GetAllGIDsReply ¶
type GetAllGIDsReply struct {
Body []*GetAllGIDsReply_Body `protobuf:"bytes,1,rep,name=body,proto3" json:"body,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // 总的 GID 数量
// contains filtered or unexported fields
}
func (*GetAllGIDsReply) Descriptor
deprecated
func (*GetAllGIDsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetAllGIDsReply.ProtoReflect.Descriptor instead.
func (*GetAllGIDsReply) GetBody ¶ added in v1.0.1
func (x *GetAllGIDsReply) GetBody() []*GetAllGIDsReply_Body
func (*GetAllGIDsReply) GetTotal ¶ added in v1.0.1
func (x *GetAllGIDsReply) GetTotal() int32
func (*GetAllGIDsReply) ProtoMessage ¶
func (*GetAllGIDsReply) ProtoMessage()
func (*GetAllGIDsReply) ProtoReflect ¶
func (x *GetAllGIDsReply) ProtoReflect() protoreflect.Message
func (*GetAllGIDsReply) Reset ¶
func (x *GetAllGIDsReply) Reset()
func (*GetAllGIDsReply) String ¶
func (x *GetAllGIDsReply) String() string
type GetAllGIDsReply_Body ¶ added in v1.0.1
type GetAllGIDsReply_Body struct {
Gid uint64 `protobuf:"varint,1,opt,name=gid,proto3" json:"gid,omitempty"`
InitialFunc string `protobuf:"bytes,2,opt,name=initialFunc,proto3" json:"initialFunc,omitempty"`
// contains filtered or unexported fields
}
func (*GetAllGIDsReply_Body) Descriptor
deprecated
added in
v1.0.1
func (*GetAllGIDsReply_Body) Descriptor() ([]byte, []int)
Deprecated: Use GetAllGIDsReply_Body.ProtoReflect.Descriptor instead.
func (*GetAllGIDsReply_Body) GetGid ¶ added in v1.0.1
func (x *GetAllGIDsReply_Body) GetGid() uint64
func (*GetAllGIDsReply_Body) GetInitialFunc ¶ added in v1.0.1
func (x *GetAllGIDsReply_Body) GetInitialFunc() string
func (*GetAllGIDsReply_Body) ProtoMessage ¶ added in v1.0.1
func (*GetAllGIDsReply_Body) ProtoMessage()
func (*GetAllGIDsReply_Body) ProtoReflect ¶ added in v1.0.1
func (x *GetAllGIDsReply_Body) ProtoReflect() protoreflect.Message
func (*GetAllGIDsReply_Body) Reset ¶ added in v1.0.1
func (x *GetAllGIDsReply_Body) Reset()
func (*GetAllGIDsReply_Body) String ¶ added in v1.0.1
func (x *GetAllGIDsReply_Body) String() string
type GetAllGIDsReq ¶
type GetAllGIDsReq struct {
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 当前页
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // 每页条目数
// contains filtered or unexported fields
}
func (*GetAllGIDsReq) Descriptor
deprecated
func (*GetAllGIDsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetAllGIDsReq.ProtoReflect.Descriptor instead.
func (*GetAllGIDsReq) GetLimit ¶ added in v1.0.1
func (x *GetAllGIDsReq) GetLimit() int32
func (*GetAllGIDsReq) GetPage ¶ added in v1.0.1
func (x *GetAllGIDsReq) GetPage() int32
func (*GetAllGIDsReq) ProtoMessage ¶
func (*GetAllGIDsReq) ProtoMessage()
func (*GetAllGIDsReq) ProtoReflect ¶
func (x *GetAllGIDsReq) ProtoReflect() protoreflect.Message
func (*GetAllGIDsReq) Reset ¶
func (x *GetAllGIDsReq) Reset()
func (*GetAllGIDsReq) String ¶
func (x *GetAllGIDsReq) String() string
type GetGidsByFunctionNameReply ¶
type GetGidsByFunctionNameReply struct {
Gids []string `protobuf:"bytes,1,rep,name=gids,proto3" json:"gids,omitempty"`
// contains filtered or unexported fields
}
func (*GetGidsByFunctionNameReply) Descriptor
deprecated
func (*GetGidsByFunctionNameReply) Descriptor() ([]byte, []int)
Deprecated: Use GetGidsByFunctionNameReply.ProtoReflect.Descriptor instead.
func (*GetGidsByFunctionNameReply) GetGids ¶
func (x *GetGidsByFunctionNameReply) GetGids() []string
func (*GetGidsByFunctionNameReply) ProtoMessage ¶
func (*GetGidsByFunctionNameReply) ProtoMessage()
func (*GetGidsByFunctionNameReply) ProtoReflect ¶
func (x *GetGidsByFunctionNameReply) ProtoReflect() protoreflect.Message
func (*GetGidsByFunctionNameReply) Reset ¶
func (x *GetGidsByFunctionNameReply) Reset()
func (*GetGidsByFunctionNameReply) String ¶
func (x *GetGidsByFunctionNameReply) String() string
type GetGidsByFunctionNameReq ¶
type GetGidsByFunctionNameReq struct {
FunctionName string `protobuf:"bytes,1,opt,name=functionName,proto3" json:"functionName,omitempty"`
// contains filtered or unexported fields
}
func (*GetGidsByFunctionNameReq) Descriptor
deprecated
func (*GetGidsByFunctionNameReq) Descriptor() ([]byte, []int)
Deprecated: Use GetGidsByFunctionNameReq.ProtoReflect.Descriptor instead.
func (*GetGidsByFunctionNameReq) GetFunctionName ¶
func (x *GetGidsByFunctionNameReq) GetFunctionName() string
func (*GetGidsByFunctionNameReq) ProtoMessage ¶
func (*GetGidsByFunctionNameReq) ProtoMessage()
func (*GetGidsByFunctionNameReq) ProtoReflect ¶
func (x *GetGidsByFunctionNameReq) ProtoReflect() protoreflect.Message
func (*GetGidsByFunctionNameReq) Reset ¶
func (x *GetGidsByFunctionNameReq) Reset()
func (*GetGidsByFunctionNameReq) String ¶
func (x *GetGidsByFunctionNameReq) String() string
type GetParamsByIDReply ¶
type GetParamsByIDReply struct {
Params []*TraceParams `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
func (*GetParamsByIDReply) Descriptor
deprecated
func (*GetParamsByIDReply) Descriptor() ([]byte, []int)
Deprecated: Use GetParamsByIDReply.ProtoReflect.Descriptor instead.
func (*GetParamsByIDReply) GetParams ¶
func (x *GetParamsByIDReply) GetParams() []*TraceParams
func (*GetParamsByIDReply) ProtoMessage ¶
func (*GetParamsByIDReply) ProtoMessage()
func (*GetParamsByIDReply) ProtoReflect ¶
func (x *GetParamsByIDReply) ProtoReflect() protoreflect.Message
func (*GetParamsByIDReply) Reset ¶
func (x *GetParamsByIDReply) Reset()
func (*GetParamsByIDReply) String ¶
func (x *GetParamsByIDReply) String() string
type GetParamsByIDReq ¶
type GetParamsByIDReq struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetParamsByIDReq) Descriptor
deprecated
func (*GetParamsByIDReq) Descriptor() ([]byte, []int)
Deprecated: Use GetParamsByIDReq.ProtoReflect.Descriptor instead.
func (*GetParamsByIDReq) GetId ¶
func (x *GetParamsByIDReq) GetId() int32
func (*GetParamsByIDReq) ProtoMessage ¶
func (*GetParamsByIDReq) ProtoMessage()
func (*GetParamsByIDReq) ProtoReflect ¶
func (x *GetParamsByIDReq) ProtoReflect() protoreflect.Message
func (*GetParamsByIDReq) Reset ¶
func (x *GetParamsByIDReq) Reset()
func (*GetParamsByIDReq) String ¶
func (x *GetParamsByIDReq) String() string
type GetTraceGraphReply ¶ added in v1.0.1
type GetTraceGraphReply struct {
Nodes []*GraphNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
Edges []*GraphEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"`
// contains filtered or unexported fields
}
func (*GetTraceGraphReply) Descriptor
deprecated
added in
v1.0.1
func (*GetTraceGraphReply) Descriptor() ([]byte, []int)
Deprecated: Use GetTraceGraphReply.ProtoReflect.Descriptor instead.
func (*GetTraceGraphReply) GetEdges ¶ added in v1.0.1
func (x *GetTraceGraphReply) GetEdges() []*GraphEdge
func (*GetTraceGraphReply) GetNodes ¶ added in v1.0.1
func (x *GetTraceGraphReply) GetNodes() []*GraphNode
func (*GetTraceGraphReply) ProtoMessage ¶ added in v1.0.1
func (*GetTraceGraphReply) ProtoMessage()
func (*GetTraceGraphReply) ProtoReflect ¶ added in v1.0.1
func (x *GetTraceGraphReply) ProtoReflect() protoreflect.Message
func (*GetTraceGraphReply) Reset ¶ added in v1.0.1
func (x *GetTraceGraphReply) Reset()
func (*GetTraceGraphReply) String ¶ added in v1.0.1
func (x *GetTraceGraphReply) String() string
type GetTraceGraphReq ¶ added in v1.0.1
type GetTraceGraphReq struct {
Gid string `protobuf:"bytes,1,opt,name=gid,proto3" json:"gid,omitempty"`
// contains filtered or unexported fields
}
func (*GetTraceGraphReq) Descriptor
deprecated
added in
v1.0.1
func (*GetTraceGraphReq) Descriptor() ([]byte, []int)
Deprecated: Use GetTraceGraphReq.ProtoReflect.Descriptor instead.
func (*GetTraceGraphReq) GetGid ¶ added in v1.0.1
func (x *GetTraceGraphReq) GetGid() string
func (*GetTraceGraphReq) ProtoMessage ¶ added in v1.0.1
func (*GetTraceGraphReq) ProtoMessage()
func (*GetTraceGraphReq) ProtoReflect ¶ added in v1.0.1
func (x *GetTraceGraphReq) ProtoReflect() protoreflect.Message
func (*GetTraceGraphReq) Reset ¶ added in v1.0.1
func (x *GetTraceGraphReq) Reset()
func (*GetTraceGraphReq) String ¶ added in v1.0.1
func (x *GetTraceGraphReq) String() string
type GraphEdge ¶ added in v1.0.1
type GraphEdge struct {
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
// contains filtered or unexported fields
}
func (*GraphEdge) Descriptor
deprecated
added in
v1.0.1
func (*GraphEdge) ProtoMessage ¶ added in v1.0.1
func (*GraphEdge) ProtoMessage()
func (*GraphEdge) ProtoReflect ¶ added in v1.0.1
func (x *GraphEdge) ProtoReflect() protoreflect.Message
type GraphNode ¶ added in v1.0.1
type GraphNode struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
CallCount int32 `protobuf:"varint,3,opt,name=call_count,json=callCount,proto3" json:"call_count,omitempty"`
// contains filtered or unexported fields
}
func (*GraphNode) Descriptor
deprecated
added in
v1.0.1
func (*GraphNode) GetCallCount ¶ added in v1.0.1
func (*GraphNode) ProtoMessage ¶ added in v1.0.1
func (*GraphNode) ProtoMessage()
func (*GraphNode) ProtoReflect ¶ added in v1.0.1
func (x *GraphNode) ProtoReflect() protoreflect.Message
type TraceParams ¶
type TraceParams struct {
Pos int32 `protobuf:"varint,1,opt,name=pos,proto3" json:"pos,omitempty"`
Param string `protobuf:"bytes,2,opt,name=param,proto3" json:"param,omitempty"`
// contains filtered or unexported fields
}
func (*TraceParams) Descriptor
deprecated
func (*TraceParams) Descriptor() ([]byte, []int)
Deprecated: Use TraceParams.ProtoReflect.Descriptor instead.
func (*TraceParams) GetParam ¶
func (x *TraceParams) GetParam() string
func (*TraceParams) GetPos ¶
func (x *TraceParams) GetPos() int32
func (*TraceParams) ProtoMessage ¶
func (*TraceParams) ProtoMessage()
func (*TraceParams) ProtoReflect ¶
func (x *TraceParams) ProtoReflect() protoreflect.Message
func (*TraceParams) Reset ¶
func (x *TraceParams) Reset()
func (*TraceParams) String ¶
func (x *TraceParams) String() string
type UnimplementedAnalysisServer ¶
type UnimplementedAnalysisServer struct {
}
UnimplementedAnalysisServer must be embedded to have forward compatible implementations.
func (UnimplementedAnalysisServer) CheckDatabase ¶ added in v1.0.1
func (UnimplementedAnalysisServer) CheckDatabase(context.Context, *CheckDatabaseRequest) (*CheckDatabaseResponse, error)
func (UnimplementedAnalysisServer) GenerateImage ¶
func (UnimplementedAnalysisServer) GenerateImage(context.Context, *GenerateImageReq) (*GenerateImageReply, error)
func (UnimplementedAnalysisServer) GetAllFunctionName ¶
func (UnimplementedAnalysisServer) GetAllFunctionName(context.Context, *GetAllFunctionNameReq) (*GetAllFunctionNameReply, error)
func (UnimplementedAnalysisServer) GetAllGIDs ¶
func (UnimplementedAnalysisServer) GetAllGIDs(context.Context, *GetAllGIDsReq) (*GetAllGIDsReply, error)
func (UnimplementedAnalysisServer) GetAnalysis ¶
func (UnimplementedAnalysisServer) GetAnalysis(context.Context, *AnalysisRequest) (*AnalysisReply, error)
func (UnimplementedAnalysisServer) GetAnalysisByGID ¶
func (UnimplementedAnalysisServer) GetAnalysisByGID(context.Context, *AnalysisByGIDRequest) (*AnalysisByGIDReply, error)
func (UnimplementedAnalysisServer) GetGidsByFunctionName ¶
func (UnimplementedAnalysisServer) GetGidsByFunctionName(context.Context, *GetGidsByFunctionNameReq) (*GetGidsByFunctionNameReply, error)
func (UnimplementedAnalysisServer) GetParamsByID ¶
func (UnimplementedAnalysisServer) GetParamsByID(context.Context, *GetParamsByIDReq) (*GetParamsByIDReply, error)
func (UnimplementedAnalysisServer) GetTraceGraph ¶ added in v1.0.1
func (UnimplementedAnalysisServer) GetTraceGraph(context.Context, *GetTraceGraphReq) (*GetTraceGraphReply, error)
func (UnimplementedAnalysisServer) VerifyProjectPath ¶ added in v1.0.1
func (UnimplementedAnalysisServer) VerifyProjectPath(context.Context, *VerifyProjectPathReq) (*VerifyProjectPathReply, error)
type UnsafeAnalysisServer ¶
type UnsafeAnalysisServer interface {
// contains filtered or unexported methods
}
UnsafeAnalysisServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AnalysisServer will result in compilation errors.
type VerifyProjectPathReply ¶ added in v1.0.1
type VerifyProjectPathReply struct {
Verified bool `protobuf:"varint,1,opt,name=verified,proto3" json:"verified,omitempty"`
// contains filtered or unexported fields
}
func (*VerifyProjectPathReply) Descriptor
deprecated
added in
v1.0.1
func (*VerifyProjectPathReply) Descriptor() ([]byte, []int)
Deprecated: Use VerifyProjectPathReply.ProtoReflect.Descriptor instead.
func (*VerifyProjectPathReply) GetVerified ¶ added in v1.0.1
func (x *VerifyProjectPathReply) GetVerified() bool
func (*VerifyProjectPathReply) ProtoMessage ¶ added in v1.0.1
func (*VerifyProjectPathReply) ProtoMessage()
func (*VerifyProjectPathReply) ProtoReflect ¶ added in v1.0.1
func (x *VerifyProjectPathReply) ProtoReflect() protoreflect.Message
func (*VerifyProjectPathReply) Reset ¶ added in v1.0.1
func (x *VerifyProjectPathReply) Reset()
func (*VerifyProjectPathReply) String ¶ added in v1.0.1
func (x *VerifyProjectPathReply) String() string
type VerifyProjectPathReq ¶ added in v1.0.1
type VerifyProjectPathReq struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*VerifyProjectPathReq) Descriptor
deprecated
added in
v1.0.1
func (*VerifyProjectPathReq) Descriptor() ([]byte, []int)
Deprecated: Use VerifyProjectPathReq.ProtoReflect.Descriptor instead.
func (*VerifyProjectPathReq) GetPath ¶ added in v1.0.1
func (x *VerifyProjectPathReq) GetPath() string
func (*VerifyProjectPathReq) ProtoMessage ¶ added in v1.0.1
func (*VerifyProjectPathReq) ProtoMessage()
func (*VerifyProjectPathReq) ProtoReflect ¶ added in v1.0.1
func (x *VerifyProjectPathReq) ProtoReflect() protoreflect.Message
func (*VerifyProjectPathReq) Reset ¶ added in v1.0.1
func (x *VerifyProjectPathReq) Reset()
func (*VerifyProjectPathReq) String ¶ added in v1.0.1
func (x *VerifyProjectPathReq) String() string