Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DependenciesTree ¶
type DependenciesTree struct { Dependency *buildinfo.Dependency `json:"dependencies,omitempty"` DirectDependencies []*DependenciesTree Id string }
func (*DependenciesTree) AddChildren ¶
func (t *DependenciesTree) AddChildren(allDependencies map[string]*buildinfo.Dependency, children map[string][]string)
Add children nodes for a dependency
func (DependenciesTree) MarshalJSON ¶
func (t DependenciesTree) MarshalJSON() ([]byte, error)
type Root ¶
type Root []*DependenciesTree
func CreateDependencyTree ¶
func CreateDependencyTree(rootDependencies []string, allDependencies map[string]*buildinfo.Dependency, childrenMap map[string][]string) Root
Create dependency tree using the data received from the extractors.
func (Root) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.