Documentation ¶
Index ¶
- func AskConfirmation(message string) bool
- func AskYesOrNo(message string) bool
- func Contains(s []string, e string) bool
- func FormatMemory(memory *float64) string
- func FormatProcessor(proc *float64) string
- func GenerateRandomString(length int) string
- func GenerateSpec(NoOfTargetsPerSource int) pkg.Spec
- func GunzipIt(src, dest string) error
- func GzipIt(src, dest string) error
- func IsGzip(source string) (bool, error)
- func MultiSelect(msg string, input []string) []string
- func ReadUserInput(message string) string
- func RunCMD(cmd string, args ...string) (int, string, string)
- func SanitizeExtractPath(filePath string, destination string) error
- func SelectItem(msg string, instances []string) string
- func Untar(tarball, target, filename string) error
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskConfirmation ¶
func AskYesOrNo ¶
func FormatMemory ¶
func FormatProcessor ¶
func GenerateRandomString ¶ added in v0.1.3
Generate random string of given length
func GenerateSpec ¶ added in v0.1.3
Generate Specifications
func MultiSelect ¶ added in v0.1.4
func ReadUserInput ¶
func SanitizeExtractPath ¶ added in v0.1.9
func SelectItem ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.