dtree

package
v0.0.0-...-6911d3d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2015 License: Apache-2.0 Imports: 10 Imported by: 0

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL