maven

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LabelFromArtifact

func LabelFromArtifact(mavenRepositoryName string, artifact string) label.Label

func ParseCoordinate added in v0.6.0

func ParseCoordinate(s string) (*coordinate, error)

Types

type MultipleExternalImportsError added in v0.19.0

type MultipleExternalImportsError struct {
	PackageName      string
	PossiblePackages []string
}

MultipleExternalImportsError represents the error when multiple possible external imports are found.

func (*MultipleExternalImportsError) Error added in v0.19.0

type NoExternalImportsError added in v0.19.0

type NoExternalImportsError struct {
	PackageName string
}

NoExternalImportsError represents the error when no external imports are found.

func (*NoExternalImportsError) Error added in v0.19.0

func (e *NoExternalImportsError) Error() string

type Resolver

type Resolver interface {
	Resolve(pkg types.PackageName, excludedArtifacts map[string]struct{}, mavenRepositoryName string) (label.Label, error)
}

func NewResolver

func NewResolver(installFile string, logger zerolog.Logger) (Resolver, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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