# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ColorNameValues returns all the color names sorted.
Combine combines the non null errors into a single error or returns null.
No description provided by the author
Confirm prompts the user to confirm something.
No description provided by the author
credit https://gist.github.com/r0l1/92462b38df26839a3ca324697c8cba04.
CopyDirOverwrite copies from the source dir to the destination dir overwriting files along the way.
credit https://gist.github.com/r0l1/92462b38df26839a3ca324697c8cba04.
CreateUniqueDirectory creates a new directory but if the combination of dir and name exists then append a number until a unique name is found.
DeleteDirContents removes all the contents of the given directory.
No description provided by the author
DiffSlices compares the two slices and returns an array of items to delete from the old slice and a slice of new values to add to.
Download a file from the given URL.
No description provided by the author
No description provided by the author
No description provided by the author
FirstNotEmptyString returns the first non empty string or the empty string if none can be found.
No description provided by the author
GetColor returns the color for the list of colour names and option name.
No description provided by the author
No description provided by the author
No description provided by the author
@param dataDir Location of test data json file @param router Should map a URL path to a map that maps a method to a JSON response file name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
JXBinaryLocation Returns the path to the currently installed JX binary.
JXBinLocation finds the JX config directory and creates a bin directory inside it if it does not already exist.
loads a file.
LoadCacheData loads cached data from the given cache file name and loader.
No description provided by the author
MarkdownLink returns a markdown link.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PathWithBinary Sets the $PATH variable.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RandStringBytesMaskImprSrc returns a random hexadecimal string of length n.
DeleteDirContents removes all the contents of the given directory.
RegexpSplit splits a string into an array using the regexSep as a separator.
No description provided by the author
No description provided by the author
No description provided by the author
SelectNames select which names from the list should be chosen.
SelectNamesWithFilter selects from a list of names with a given filter.
SortedMapKeys returns the sorted keys of the given map.
No description provided by the author
StringArrayToLower returns a string slice with all the values converted to lower case.
StringIndexes returns all the indices where the value occurs in the given string.
StringMapHasValue returns true if the given map contains the given value.
StringMatches returns true if the given text matches the includes/excludes lists.
StringMatchesPattern returns true if the given text matches the includes/excludes lists.
No description provided by the author
ToStringMapStringFromStruct returns string[map]string from any struct.
untargz a tarball to a target, from http://blog.ralch.com/tutorial/golang-working-with-tar-and-gzipf.
No description provided by the author
UrlHostNameWithoutPort returns the host name without any port of the given URL like string.
UrlJoin joins the given paths so that there is only ever one '/' character between the paths.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Commander defines the interface for a Commandgo:generate pegomock generate github.com/jenkins-x/jx/pkg/util Commander -o mocks/commander.go.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author