Versions in this module Expand all Collapse all v0 v0.6.4 Dec 23, 2019 Changes in this version + const Agent + const MAX_ENTRIES + const Version + func AddEscapingParentheses(pattern, target string) string + func NewGitManager(path string) *manager + func RemovePlaceholderParentheses(pattern, target string) string + type Parentheses struct + CloseIndex int + OpenIndex int + type ParenthesesSlice struct + Parentheses []Parentheses + func (p *ParenthesesSlice) IsPresent(index int) bool + type VcsCache struct + func NewVcsDetals() *VcsCache + func (this *VcsCache) GetVcsDetails(path string) (revision, refUrl string, err error) v0.6.0 Dec 3, 2019 Changes in this version + const CredentialsInUrlRegexp + const Development + func AddTrailingSlashIfNeeded(url string) string + func Bool2Int(b bool) int + func BuildTargetPath(pattern, path, target string, ignoreRepo bool) (string, error) + func CheckErrorWithMessage(err error, message string) error + func ConvertSliceToMap(slice []string) map[string]bool + func CopyMap(src map[string]string) (dst map[string]string) + func GetBoolEnvValue(flagName string, defValue bool) (bool, error) + func GetLogMsgPrefix(threadId int, dryRun bool) string + func GetRegExp(regex string) (*regexp.Regexp, error) + func GetRootPath(path string, useRegExp bool) string + func GetUserAgent() string + func GetUserHomeDir() string + func IndentJson(jsonStr []byte) string + func IsWindows() bool + func MaskCredentials(completeUrl, credentialsPart string) string + func MergeMaps(src map[string]string, dst map[string]string) + func PrepareLocalPathForUpload(localPath string, useRegExp bool) string + func ReplaceTildeWithUserHome(path string) string + func SetUserAgent(newUserAgent string) + func SplitWithEscape(str string, separator rune) []string + func StringToBool(boolVal string, defaultValue bool) (bool, error) + func TrimPath(path string) string + type Artifact struct + LocalPath string + Symlink string + TargetPath string + type ExecutionHandlerFunc func() (bool, error) + type RetryExecutor struct + ErrorMessage string + ExecutionHandler ExecutionHandlerFunc + LogMsgPrefix string + MaxRetries int + RetriesInterval int + func (runner *RetryExecutor) Execute() error