Documentation
¶
Index ¶
- func IsNodeNotFound(err error) bool
- type DAG
- func (d *DAG) AddEdge(parent NodeID, child NodeID) error
- func (d *DAG) AddNode(node Node) error
- func (d *DAG) Children(n NodeID) []Node
- func (d *DAG) GetNode(n NodeID) (Node, error)
- func (d *DAG) GetNodes(field Field, label NodeLabel) []Node
- func (d *DAG) Parents(n NodeID) []Node
- func (d *DAG) Validate() bool
- type Field
- type FieldIndexer
- type IndexerFunc
- type Node
- type NodeID
- type NodeLabel
- type Opt
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNodeNotFound ¶
Types ¶
type DAG ¶
type DAG struct {
// contains filtered or unexported fields
}
type FieldIndexer ¶
type FieldIndexer struct {
// contains filtered or unexported fields
}
func WithFieldIndexer ¶
func WithFieldIndexer(f Field, e IndexerFunc) *FieldIndexer
func (FieldIndexer) ApplyTo ¶
func (f FieldIndexer) ApplyTo(opts *Options)
type IndexerFunc ¶
Click to show internal directories.
Click to hide internal directories.