utils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirectoryToISO

func DirectoryToISO(output string, directory string) error

func DownloadFile

func DownloadFile(o t.DownloadOptions) error

func GenerateQemuCommand

func GenerateQemuCommand(opts t.VMOptions) string

func GetIDRSA

func GetIDRSA() (string, error)

func Hostname

func Hostname() string

func RemoveRecursive

func RemoveRecursive(dir string) error

func RunCmd

func RunCmd(cmd string) ([]byte, error)

func RunParallelsVM

func RunParallelsVM(opts t.VMOptions) error

func Unzip

func Unzip(src string, dest string) ([]string, error)

func WriteStringToFile

func WriteStringToFile(filepath string, content string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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