testutils

package
v2.0.27+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2017 License: Apache-2.0 Imports: 8 Imported by: 156

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