artifact

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactCoordinates

type ArtifactCoordinates struct {
	Host     string
	Org      string
	Repo     string
	Version  string
	Artifact string
	RawPath  string
}

ArtifactCoordinates represents the coordinates of an artifact.

func ExtractCoordinatesFromURL

func ExtractCoordinatesFromURL(artifactURL string) (*ArtifactCoordinates, error)

ExtractCoordinatesFromURL extracts the artifact coordinates from the given URL.

func (*ArtifactCoordinates) RawUrlPath added in v0.0.3

func (ac *ArtifactCoordinates) RawUrlPath() string

RawUrlPath creates a URL path from the artifact minimum coordinates.

func (*ArtifactCoordinates) UrlPath added in v0.0.2

func (ac *ArtifactCoordinates) UrlPath() string

UrlPath creates a URL path from the parsed artifact coordinates.

Jump to

Keyboard shortcuts

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