testutil

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(filepath, content string) error

CreateFile create file with given content

func ExecuteCommand

func ExecuteCommand(path, name string, arg []string, additionalEnv map[string]string) (string, error)

ExecuteCommand executes the given command

func IsCommandAvailable

func IsCommandAvailable(name string) bool

IsCommandAvailable checks if command is available OS

func ValidateCommon

func ValidateCommon() error

ValidateCommon validates variables necessary to start process

Types

This section is empty.

Jump to

Keyboard shortcuts

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