Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRegistryNotFound = errors.New("registry is not supported") ErrDependencyNotFound = errors.New("dependency not found") )
Functions ¶
This section is empty.
Types ¶
type DependencyLookupService ¶
type DependencyLookupService interface { // FetchPom fetches the pom file for a given coordinate from the registry FetchPom(registry string, coordinate model.GAV) (*model.PomProject, error) // CollectCoordinates is a helper function that returns all dependency coordinates for bom artifacts, otherwise it returns the input coordinate CollectCoordinates(registry string, coordinate model.GAV) ([]model.GAV, error) LookupProject(registry string, coordinate model.GAV) (*model.Dependency, error) LookupDependency(registry string, coordinate model.GAV) (*model.Dependency, error) LookupDependencyVersion(registry string, coordinate model.GAV) (*model.Version, error) }
func NewDependencyLookupService ¶
func NewDependencyLookupService(localDir, remoteURL string) DependencyLookupService
Click to show internal directories.
Click to hide internal directories.