common

package
v0.0.0-...-7cc1d6a Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GetOSEnv is for easier mocking in unit tests
	GetOSEnv = os.Getenv
	// StandardExec is for easier mocking in unit tests
	StandardExec = standardExec
)

Functions

func GetRepoName

func GetRepoName() (string, error)

GetRepoName gets repo name by the path where the repo cloned to

func IsProw

func IsProw() bool

IsProw checks if the process is initialized by Prow

Types

This section is empty.

Jump to

Keyboard shortcuts

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