testutils

package
v0.0.142 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildExecutable

func BuildExecutable() error

func BuildExecutableForArch

func BuildExecutableForArch(arch string) error

func CreateStemcell

func CreateStemcell(stemcellSrcDir string, stemcellPath string) error

func GenerateDeploymentManifest

func GenerateDeploymentManifest(deploymentManifestFilePath string, fs boshsys.FileSystem, manifestContents string) error

func MarshalToString

func MarshalToString(input interface{}) (string, error)

func RunCommand

func RunCommand(cmd string, args ...string) (*gexec.Session, error)

func RunComplexCommand

func RunComplexCommand(cmd *exec.Cmd) (*gexec.Session, error)

Types

type TarVerifier

type TarVerifier struct {
	BlobPath string
}

func (TarVerifier) FileContents

func (b TarVerifier) FileContents(fileName string) ([]byte, error)

func (TarVerifier) FileExists

func (b TarVerifier) FileExists(fileName string) (bool, error)

func (TarVerifier) Listing

func (b TarVerifier) Listing() (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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