Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶
type Graph struct { Root *GraphNode // contains filtered or unexported fields }
func (*Graph) AddChild ¶
func (g *Graph) AddChild(parent *GraphNode, name, version string, child *artifact.Dependency) *GraphNode
AddChild adds relation between components. If node is nil, dependency added as direct one
func (*Graph) FlatDeps ¶
func (g *Graph) FlatDeps() []artifact.Dependency
FlatDeps return flat slice with all dependencies (excluding the root)
Click to show internal directories.
Click to hide internal directories.