jfrog

package module
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrWrongDebianFormat = errors.New("target has to be of the form '<destination>:<distribution>/<component>/<architecture>' for debian packages")
)

Functions

This section is empty.

Types

type Uploader

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

Uploader is responsible for uploading artifacts to an artifactory repository.

func New

func New(rtDetails auth.ServiceDetails) (*Uploader, error)

New creates an Uploader.

func (Uploader) Upload

func (u Uploader) Upload(srcPattern, target string) error

Upload uploads all sources matching srcPattern to target.

If package ends with '.deb' the target has to be of the following form: '<destination>:<distribution>/<component>/<architecture>'

The following is a valid debian target: 'local-deb-repo/pool:buster/main/amd64'.

Jump to

Keyboard shortcuts

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