Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { // ListDependencies returns the list of direct dependency IDs for a // particular project ID or an error if a non-project ID argument is // provided. ListDependencies(projectID string) ([]string, error) // DependencyType returns the type of a particular dependency. DependencyType(dependencyID string) (DepType, error) }
API is implemented by clients of the project metadata micro-service.
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector provides helper methods for building the dependency graph of projects.
func NewCollector ¶
NewCollector returns a new dependency collector instance that uses api.
Click to show internal directories.
Click to hide internal directories.