Documentation
¶
Overview ¶
Package dtree allows for traversing and manipulating the dependency trees of ACI images.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DependencyTree ¶
type DependencyTree struct {
Val types.Dependency `json:"val,omitempty"`
Children []*DependencyTree `json:"dependencies,omitempty"`
}
func New ¶
func New(s *store.Store, dep types.Dependency) (*DependencyTree, error)
New creates a new dependency tree from an ACI
func (*DependencyTree) PrettyPrint ¶
func (d *DependencyTree) PrettyPrint() (string, error)
PrettyPrint returns a string that presents the tree in a readable JSON format
func (*DependencyTree) Remove ¶
func (d *DependencyTree) Remove(s *store.Store, name types.ACIdentifier) (bool, error)
Remove returns whether a given layer has been removed
Click to show internal directories.
Click to hide internal directories.