//
pkg.gl
Category
github.com/dotcloud/docker
pkg
graphdb
package
1.13.1
Repository:
https://github.com/dotcloud/docker.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
6
Dependents
290
Files
530 SLOC
#
Functions
IsNonUniqueNameError
IsNonUniqueNameError processes the error to check if it's caused by a constraint violation.
NewDatabase
NewDatabase creates a new graph database initialized with a root entity.
PathDepth
PathDepth returns the depth or number of / in a given path.
#
Structs
Database
Database is a graph database for storing entities and their relationships.
Edge
An Edge connects two entities together.
Entity
Entity with a unique id.
WalkMeta
WalkMeta stores the walk metadata.
#
Type aliases
Edges
Edges stores the relationships between entities.
Entities
Entities stores the list of entities.
WalkFunc
WalkFunc is a function invoked to process an individual entity.