utils

package
v0.0.0-...-05d7c05 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

* utilities for the ods-devenv buildbot.

Index

Constants

View Source
const CONFIG_FILE_NAME = ".buildbotrc"

Variables

This section is empty.

Functions

func CloseFile

func CloseFile(file *os.File)

func Copy

func Copy(sourcePath, destPath string)

func FileExists

func FileExists(filename string) bool

func HandleFileErr

func HandleFileErr(err error, fileName string)

func ReadBuildBotRunControl

func ReadBuildBotRunControl() (map[string]string, error)

func ReadFileToMap

func ReadFileToMap(file *os.File) (map[string]string, error)

Read buildbotrc from CONFIG_FILE_NAME

func RunCommand

func RunCommand(command string, args []string, envVars []string) (string, error)

func RunCommandInBackground

func RunCommandInBackground(command string, args []string, envVars []string)

func TarZip

func TarZip(sourcePath, destPath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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