Documentation ¶
Index ¶
- Constants
- func CleanWindowsPath(s string) string
- func CopyFileWithPrefix(originalFile, prefixDestFile string) error
- func ErrList(e []error) error
- func GetDefaultRKETools(image string) (string, error)
- func GetEnvVar(key string) (string, string, bool)
- func GetImageTagFromImage(image string) (string, error)
- func GetObjectQueue(l interface{}) chan interface{}
- func GetTagMajorVersion(tag string) string
- func IsFileExists(filePath string) (bool, error)
- func IsSymlink(file string) (bool, error)
- func PrintProxyEnvVars()
- func ReplaceFileWithBackup(originalFile, prefixBackupFile string) error
- func StrToSemVer(version string) (*semver.Version, error)
- func StripPasswordFromURL(URL string) (string, error)
- func UniqueStringSlice(elements []string) []string
Constants ¶
View Source
const (
WorkerThreads = 50
)
Variables ¶
This section is empty.
Functions ¶
func CleanWindowsPath ¶ added in v1.1.5
func CopyFileWithPrefix ¶ added in v1.2.5
func GetDefaultRKETools ¶ added in v0.2.0
func GetEnvVar ¶ added in v0.3.0
GetEnvVar will lookup a given environment variable by key and return the key and value (to show what case got matched) with uppercase key being preferred
func GetImageTagFromImage ¶ added in v0.2.3
func GetObjectQueue ¶ added in v0.1.18
func GetObjectQueue(l interface{}) chan interface{}
func GetTagMajorVersion ¶ added in v0.1.17
func IsFileExists ¶ added in v0.2.3
func PrintProxyEnvVars ¶ added in v0.3.0
func PrintProxyEnvVars()
func ReplaceFileWithBackup ¶ added in v1.2.5
func StripPasswordFromURL ¶ added in v0.3.0
func UniqueStringSlice ¶ added in v0.2.0
UniqueStringSlice - Input slice, retrun slice with unique elements. Will not maintain order.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.