common

package
v0.0.0-...-e71f8c3 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 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