nexus

package
v1.24.8 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: LGPL-3.0 Imports: 13 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSnapshotTimestampVersion

func GetSnapshotTimestampVersion(gav config.MavenGav, deliverable Deliverable) string

Create app version. If not snapshot build, then return version from GAV. Otherwise, create new snapshot version based on deliverable.

Types

type BinaryDownloader

type BinaryDownloader struct {
	Path string
}

func (*BinaryDownloader) DownloadArtifact

func (n *BinaryDownloader) DownloadArtifact(c *config.MavenGav, na *config.NexusAccess) (Deliverable, error)

type Deliverable

type Deliverable struct {
	Path string
}

type Downloader

type Downloader interface {
	DownloadArtifact(c *config.MavenGav, ns *config.NexusAccess) (Deliverable, error)
}

func NewBinaryDownloader

func NewBinaryDownloader(path string) Downloader

func NewNexusDownloader

func NewNexusDownloader(baseUrl string) Downloader

type NexusDownloader

type NexusDownloader struct {
	// contains filtered or unexported fields
}

func (*NexusDownloader) DownloadArtifact

func (n *NexusDownloader) DownloadArtifact(c *config.MavenGav, na *config.NexusAccess) (Deliverable, error)

Jump to

Keyboard shortcuts

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