Documentation ¶
Index ¶
- type Graph
- func (g *Graph) AddDep(targetNode Node, dep string) error
- func (g *Graph) AddNode(node Node)
- func (g *Graph) BuildGraph(nodes []Node)
- func (g *Graph) IterSorted(callback func(Node) error) []error
- func (g *Graph) IterTarget(target string, callback func(Node) error) []error
- func (g *Graph) LongestTarget(target string) (int, []error)
- func (g *Graph) ResolveTarget(target string, callback func(Node) error) []error
- func (g *Graph) WaitForDeps(callback func(Node) error, servicesWg *sync.WaitGroup) func(Node) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶ added in v0.3.0
type Graph struct {
// contains filtered or unexported fields
}
func (*Graph) BuildGraph ¶ added in v0.3.0
func (g *Graph) BuildGraph(nodes []Node)
func (*Graph) IterSorted ¶ added in v0.3.0
func (*Graph) IterTarget ¶ added in v0.3.0
func (*Graph) LongestTarget ¶ added in v0.3.0
func (*Graph) ResolveTarget ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.