commands

package
v0.0.0-...-6b0a7c7 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2016 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearConfig

func ClearConfig()

func Config

func Config(details *utils.ArtifactoryDetails, interactive, shouldEncPassword bool)

func Download

func Download(downloadPattern string, flags *utils.Flags) string

Downloads the artifacts using the specified download pattern. Returns the AQL query used for the download.

func GetConfig

func GetConfig() *utils.ArtifactoryDetails

func ShowConfig

func ShowConfig()

func Upload

func Upload(localPath, targetPath string, flags *utils.Flags) (totalUploaded, totalFailed int)

Uploads the artifacts in the specified local path pattern to the specified target path. Returns the total number of artifacts successfully uploaded.

Types

type AqlSearchResult

type AqlSearchResult struct {
	Results []AqlSearchResultItem
}

type AqlSearchResultItem

type AqlSearchResultItem struct {
	Repo string
	Path string
	Name string
}

type Artifact

type Artifact struct {
	LocalPath  string
	TargetPath string
}

Jump to

Keyboard shortcuts

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