Documentation ¶
Index ¶
- Variables
- func RegisterManifestStorageServiceServer(server *grpc.Server, graphStore graphstore.GraphStoreClient)
- func RegisterModuleServiceServer(server *grpc.Server, graphStore graphstore.GraphStoreClient)
- func RegisterSourceServiceServer(server *grpc.Server, graphStore graphstore.GraphStoreClient)
- func RegisterTraversalServiceServer(server *grpc.Server, graphStore graphstore.GraphStoreClient)
- type DefaultKind
- type NodeOrEdge
- type Stack
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCancelled = status.Errorf(codes.Canceled, "stream cancelled") ErrInvalidRequest = status.Errorf(codes.InvalidArgument, "invalid request") ErrQueryFailure = status.Errorf(codes.Internal, "failed to query graph") ErrUpdateFailure = status.Errorf(codes.Internal, "failed to update graph") ErrPruneFailure = status.Errorf(codes.Internal, "failed to prune graph") ErrBFS = status.Errorf(codes.InvalidArgument, "cannot call breadth-first search with another input request") ErrDFS = status.Errorf(codes.InvalidArgument, "cannot call depth-first search with another input request") )
Functions ¶
func RegisterManifestStorageServiceServer ¶
func RegisterManifestStorageServiceServer(server *grpc.Server, graphStore graphstore.GraphStoreClient)
func RegisterModuleServiceServer ¶ added in v0.2.34
func RegisterModuleServiceServer(server *grpc.Server, graphStore graphstore.GraphStoreClient)
func RegisterSourceServiceServer ¶ added in v0.2.34
func RegisterSourceServiceServer(server *grpc.Server, graphStore graphstore.GraphStoreClient)
func RegisterTraversalServiceServer ¶ added in v0.2.34
func RegisterTraversalServiceServer(server *grpc.Server, graphStore graphstore.GraphStoreClient)
Types ¶
type DefaultKind ¶
type DefaultKind = string
TODO: move this to internal to be shared between indexer and tracker
const ( ProviderDefaultKind DefaultKind = "provider" RepositoryDefaultKind DefaultKind = "repository" ArtifactDefaultKind DefaultKind = "artifact" )
type NodeOrEdge ¶ added in v0.3.0
NodeOrEdge is a handy interface for converting any datatype from a node or edge payload.
type Stack ¶ added in v0.3.0
type Stack []*v1beta.SearchRequest
func (*Stack) Pop ¶ added in v0.3.0
func (s *Stack) Pop() *v1beta.SearchRequest
func (*Stack) Push ¶ added in v0.3.0
func (s *Stack) Push(request *v1beta.SearchRequest)
Click to show internal directories.
Click to hide internal directories.