Documentation
¶
Index ¶
- func CleanupDir()
- func CloseLogErr(c io.Closer)
- func EnterNewTempDir()
- func GenerateBundle()
- func GetFileFromBundle(pathInBundle string) string
- func LogErrors(archivePath string) func()
- func LogErrorsFomBundle()
- func MakeDockerContainer() string
- func ReadFile(filename string) []byte
- func ReadFileFromBundle(archivePath, targetFile string) string
- func RemoveDockerContainer(ID string)
- func WriteBundleConfig(config string)
- func WriteFile(path string, contents string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupDir ¶
func CleanupDir()
func CloseLogErr ¶
func EnterNewTempDir ¶
func EnterNewTempDir()
func GenerateBundle ¶
func GenerateBundle()
func GetFileFromBundle ¶
func LogErrorsFomBundle ¶
func LogErrorsFomBundle()
func MakeDockerContainer ¶
func MakeDockerContainer() string
MakeDockerContainer makes a docker container to be used in tests, returning the container ID.
func ReadFileFromBundle ¶
func RemoveDockerContainer ¶
func RemoveDockerContainer(ID string)
RemoveDockerContainer removes a docker container by ID as cleanup.
func WriteBundleConfig ¶
func WriteBundleConfig(config string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.