Documentation ¶
Index ¶
- Constants
- func TempDownloadDir(downloadDirName string) (string, error)
- type Nexus3
- func (n *Nexus3) BackupAllNPMArtifacts(repository, dir, regex string) error
- func (n *Nexus3) Bladibla(url, dir, regex string) error
- func (n *Nexus3) CountRepositories() error
- func (n Nexus3) CreateZip(dir string, zipDirDest string) (err error)
- func (n *Nexus3) Downloads(regex string) error
- func (n *Nexus3) RepositoryNames() error
- func (n Nexus3) StoreArtifactsOnDiskChannel(dir, regex string) error
- func (n Nexus3) Upload(skipErrors bool) error
- func (n *Nexus3) ValidateNexusURL() error
- type RetryLogAdaptor
Constants ¶
View Source
const ( CfgFileExt = "yml" HiddenN3DR = "." + projectName DefaultCfgFile = "config" )
View Source
const (
DefaultCfgFileWithExt = DefaultCfgFile + "." + CfgFileExt
)
Variables ¶
This section is empty.
Functions ¶
func TempDownloadDir ¶
Types ¶
type Nexus3 ¶
type Nexus3 struct { URL string `validate:"nonzero,regexp=^http(s)?://[a-z0-9\\.-]+(:[0-9]+)?(/[a-z0-9\\.-]+)*$"` APIVersion, ArtifactType, DownloadDirName, DownloadDirNameZip, Pass, Repository, User, ZipName string ZIP bool }
Nexus3 contains the attributes that are used by several functions
func (*Nexus3) BackupAllNPMArtifacts ¶
func (*Nexus3) CountRepositories ¶
func (*Nexus3) RepositoryNames ¶
func (Nexus3) StoreArtifactsOnDiskChannel ¶
func (*Nexus3) ValidateNexusURL ¶
type RetryLogAdaptor ¶
type RetryLogAdaptor struct{}
RetryLogAdaptor adapts the retryablehttp.Logger interface to the logrus logger.
func (*RetryLogAdaptor) Printf ¶
func (*RetryLogAdaptor) Printf(fmtStr string, vars ...interface{})
Printf implements the retryablehttp.Logger interface
Click to show internal directories.
Click to hide internal directories.