ginkgo

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupDir

func CleanupDir()

func CloseLogErr

func CloseLogErr(c io.Closer)

func EnterNewTempDir

func EnterNewTempDir()

func GenerateBundle

func GenerateBundle()

func GetFileFromBundle

func GetFileFromBundle(pathInBundle string) string

func LogErrors

func LogErrors(archivePath string) func()

func LogErrorsFomBundle

func LogErrorsFomBundle()

func MakeDockerContainer

func MakeDockerContainer() string

MakeDockerContainer makes a docker container to be used in tests, returning the container ID.

func ReadFile

func ReadFile(filename string) []byte

func ReadFileFromBundle

func ReadFileFromBundle(archivePath, targetFile string) string

func RemoveDockerContainer

func RemoveDockerContainer(ID string)

RemoveDockerContainer removes a docker container by ID as cleanup.

func WriteBundleConfig

func WriteBundleConfig(config string)

func WriteFile

func WriteFile(path string, contents string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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