utils

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2014 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(slice []string, data string) []string

func Chdir

func Chdir(app string) error

func CreateFile

func CreateFile(name string) error

func GetFileBytes

func GetFileBytes(filename string) []byte

func GetHostIPAddress

func GetHostIPAddress() string

func GetHostOs

func GetHostOs() string

GetHostOs returns either "darwin" or "ubuntu".

func GetRandomPort

func GetRandomPort() string

func GetUserDetails

func GetUserDetails() (string, string)

func NewUuid

func NewUuid() string

NewUuid returns a new V4-style unique identifier.

func Rmdir

func Rmdir(app string) error

func RunCommandWithStdoutStderr

func RunCommandWithStdoutStderr(cmd *exec.Cmd) (bytes.Buffer, bytes.Buffer, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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