Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Edge ¶ added in v0.14.0
Edge holds all relevant information to create meaningful edges inside the storage system for querying.
type Storage ¶
type Storage interface {
// CreateProjectNode takes a project name and takes care of
// creating a node inside the storage.
CreateProjectNode(ctx context.Context, projectPath string) error
// CreateIncludeEdge is responsible for creating the include edges
// inside of the storage, include edges should have the
// `ref` and `files` fields set to allow for queries based
// on the data.
CreateIncludeEdge(ctx context.Context, include Edge) error
// CreateTriggerEdge is responsible for creating the edges for triggers
// inside of the storage
CreateTriggerEdge(ctx context.Context, include Edge) error
// RemoveAll will delete all nodes & edges
RemoveAll(ctx context.Context) error
}
Click to show internal directories.
Click to hide internal directories.