Documentation
¶
Index ¶
- Variables
- type Analyzer
- type Artifact
- func (*Artifact) Descriptor() ([]byte, []int)deprecated
- func (x *Artifact) GetAnalyzer() *Analyzer
- func (x *Artifact) GetCommit() string
- func (x *Artifact) GetContentHash() []byte
- func (x *Artifact) GetEdges() []*Edge
- func (x *Artifact) GetNodes() []*Node
- func (x *Artifact) GetRepositoryId() int64
- func (x *Artifact) GetSchemaVersion() uint32
- func (*Artifact) ProtoMessage()
- func (x *Artifact) ProtoReflect() protoreflect.Message
- func (x *Artifact) Reset()
- func (x *Artifact) String() string
- type Edge
- func (*Edge) Descriptor() ([]byte, []int)deprecated
- func (x *Edge) GetConfidence() float32
- func (x *Edge) GetKind() EdgeKind
- func (x *Edge) GetPath() string
- func (x *Edge) GetRange() *Range
- func (x *Edge) GetResolutionReason() string
- func (x *Edge) GetSourceUid() string
- func (x *Edge) GetTargetUid() string
- func (*Edge) ProtoMessage()
- func (x *Edge) ProtoReflect() protoreflect.Message
- func (x *Edge) Reset()
- func (x *Edge) String() string
- type EdgeKind
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetKind() NodeKind
- func (x *Node) GetLanguage() string
- func (x *Node) GetPath() string
- func (x *Node) GetQualifiedName() string
- func (x *Node) GetRange() *Range
- func (x *Node) GetScipSymbol() string
- func (x *Node) GetSignature() string
- func (x *Node) GetSymbolKind() string
- func (x *Node) GetUid() string
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type NodeKind
- type Range
- func (*Range) Descriptor() ([]byte, []int)deprecated
- func (x *Range) GetEndCharacter() int32
- func (x *Range) GetEndLine() int32
- func (x *Range) GetStartCharacter() int32
- func (x *Range) GetStartLine() int32
- func (*Range) ProtoMessage()
- func (x *Range) ProtoReflect() protoreflect.Message
- func (x *Range) Reset()
- func (x *Range) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NodeKind_name = map[int32]string{ 0: "NODE_KIND_UNSPECIFIED", 1: "NODE_KIND_REPOSITORY", 2: "NODE_KIND_FILE", 3: "NODE_KIND_SYMBOL", } NodeKind_value = map[string]int32{ "NODE_KIND_UNSPECIFIED": 0, "NODE_KIND_REPOSITORY": 1, "NODE_KIND_FILE": 2, "NODE_KIND_SYMBOL": 3, } )
Enum value maps for NodeKind.
View Source
var ( EdgeKind_name = map[int32]string{ 0: "EDGE_KIND_UNSPECIFIED", 1: "EDGE_KIND_CONTAINS", 2: "EDGE_KIND_IMPORTS", 3: "EDGE_KIND_REFERENCES", 4: "EDGE_KIND_CALLS", 5: "EDGE_KIND_EXTENDS", 6: "EDGE_KIND_IMPLEMENTS", } EdgeKind_value = map[string]int32{ "EDGE_KIND_UNSPECIFIED": 0, "EDGE_KIND_CONTAINS": 1, "EDGE_KIND_IMPORTS": 2, "EDGE_KIND_REFERENCES": 3, "EDGE_KIND_CALLS": 4, "EDGE_KIND_EXTENDS": 5, "EDGE_KIND_IMPLEMENTS": 6, } )
Enum value maps for EdgeKind.
View Source
var File_artifact_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*Analyzer) Descriptor
deprecated
func (*Analyzer) GetVersion ¶
func (*Analyzer) ProtoMessage ¶
func (*Analyzer) ProtoMessage()
func (*Analyzer) ProtoReflect ¶
func (x *Analyzer) ProtoReflect() protoreflect.Message
type Artifact ¶
type Artifact struct {
SchemaVersion uint32 `protobuf:"varint,1,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
RepositoryId int64 `protobuf:"varint,2,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"`
ContentHash []byte `protobuf:"bytes,4,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"`
Analyzer *Analyzer `protobuf:"bytes,5,opt,name=analyzer,proto3" json:"analyzer,omitempty"`
Nodes []*Node `protobuf:"bytes,6,rep,name=nodes,proto3" json:"nodes,omitempty"`
Edges []*Edge `protobuf:"bytes,7,rep,name=edges,proto3" json:"edges,omitempty"`
// contains filtered or unexported fields
}
func (*Artifact) Descriptor
deprecated
func (*Artifact) GetAnalyzer ¶
func (*Artifact) GetContentHash ¶
func (*Artifact) GetRepositoryId ¶
func (*Artifact) GetSchemaVersion ¶
func (*Artifact) ProtoMessage ¶
func (*Artifact) ProtoMessage()
func (*Artifact) ProtoReflect ¶
func (x *Artifact) ProtoReflect() protoreflect.Message
type Edge ¶
type Edge struct {
SourceUid string `protobuf:"bytes,1,opt,name=source_uid,json=sourceUid,proto3" json:"source_uid,omitempty"`
TargetUid string `protobuf:"bytes,2,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"`
Kind EdgeKind `protobuf:"varint,3,opt,name=kind,proto3,enum=graphnest.graph.v1.EdgeKind" json:"kind,omitempty"`
Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
Range *Range `protobuf:"bytes,5,opt,name=range,proto3" json:"range,omitempty"`
Confidence float32 `protobuf:"fixed32,6,opt,name=confidence,proto3" json:"confidence,omitempty"`
ResolutionReason string `protobuf:"bytes,7,opt,name=resolution_reason,json=resolutionReason,proto3" json:"resolution_reason,omitempty"`
// contains filtered or unexported fields
}
func (*Edge) Descriptor
deprecated
func (*Edge) GetConfidence ¶
func (*Edge) GetResolutionReason ¶
func (*Edge) GetSourceUid ¶
func (*Edge) GetTargetUid ¶
func (*Edge) ProtoMessage ¶
func (*Edge) ProtoMessage()
func (*Edge) ProtoReflect ¶
func (x *Edge) ProtoReflect() protoreflect.Message
type EdgeKind ¶
type EdgeKind int32
func (EdgeKind) Descriptor ¶
func (EdgeKind) Descriptor() protoreflect.EnumDescriptor
func (EdgeKind) EnumDescriptor
deprecated
func (EdgeKind) Number ¶
func (x EdgeKind) Number() protoreflect.EnumNumber
func (EdgeKind) Type ¶
func (EdgeKind) Type() protoreflect.EnumType
type Node ¶
type Node struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Kind NodeKind `protobuf:"varint,2,opt,name=kind,proto3,enum=graphnest.graph.v1.NodeKind" json:"kind,omitempty"`
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"`
SymbolKind string `protobuf:"bytes,5,opt,name=symbol_kind,json=symbolKind,proto3" json:"symbol_kind,omitempty"`
QualifiedName string `protobuf:"bytes,6,opt,name=qualified_name,json=qualifiedName,proto3" json:"qualified_name,omitempty"`
Signature string `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"`
ScipSymbol string `protobuf:"bytes,8,opt,name=scip_symbol,json=scipSymbol,proto3" json:"scip_symbol,omitempty"`
Range *Range `protobuf:"bytes,9,opt,name=range,proto3" json:"range,omitempty"`
// contains filtered or unexported fields
}
func (*Node) Descriptor
deprecated
func (*Node) GetLanguage ¶
func (*Node) GetQualifiedName ¶
func (*Node) GetScipSymbol ¶
func (*Node) GetSignature ¶
func (*Node) GetSymbolKind ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type NodeKind ¶
type NodeKind int32
func (NodeKind) Descriptor ¶
func (NodeKind) Descriptor() protoreflect.EnumDescriptor
func (NodeKind) EnumDescriptor
deprecated
func (NodeKind) Number ¶
func (x NodeKind) Number() protoreflect.EnumNumber
func (NodeKind) Type ¶
func (NodeKind) Type() protoreflect.EnumType
type Range ¶
type Range struct {
StartLine int32 `protobuf:"varint,1,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"`
StartCharacter int32 `protobuf:"varint,2,opt,name=start_character,json=startCharacter,proto3" json:"start_character,omitempty"`
EndLine int32 `protobuf:"varint,3,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"`
EndCharacter int32 `protobuf:"varint,4,opt,name=end_character,json=endCharacter,proto3" json:"end_character,omitempty"`
// contains filtered or unexported fields
}
func (*Range) Descriptor
deprecated
func (*Range) GetEndCharacter ¶
func (*Range) GetEndLine ¶
func (*Range) GetStartCharacter ¶
func (*Range) GetStartLine ¶
func (*Range) ProtoMessage ¶
func (*Range) ProtoMessage()
func (*Range) ProtoReflect ¶
func (x *Range) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.