utils

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 License: Apache-2.0 Imports: 14 Imported by: 4

Documentation

Index

Constants

View Source
const GOPROXY = "GOPROXY"

Variables

This section is empty.

Functions

func DependencyNotFoundInArtifactory

func DependencyNotFoundInArtifactory(err error, noRegistry bool) bool

Returns true if a dependency was not found Artifactory.

func GetCachePath

func GetCachePath() (string, error)

func LogDebug

func LogDebug(err error, usedProxy bool)

func LogError

func LogError(err error)

func LogFinishedMsg

func LogFinishedMsg(cache *cache.DependenciesCache)

func SetGoProxyWithApi

func SetGoProxyWithApi(repoName string, details auth.ServiceDetails) error

Types

type RegExp

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

func GetRegex

func GetRegex() (regExp *RegExp, err error)

func (*RegExp) GetIndirectRegex

func (reg *RegExp) GetIndirectRegex() *regexp.Regexp

func (*RegExp) GetNotEmptyModRegex

func (reg *RegExp) GetNotEmptyModRegex() *regexp.Regexp

Jump to

Keyboard shortcuts

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