helper

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleCmdOutput

func HandleCmdOutput(pipe io.ReadCloser, needPersistentLog bool, logFile string, secretEnvs []string, logger *zap.SugaredLogger)

func IsDirEmpty

func IsDirEmpty(dir string) bool

func MakeEnvMap

func MakeEnvMap(envs ...[]string) map[string]string

func MaskSecretEnvs

func MaskSecretEnvs(message string, secretEnvs []string) string

func ReplaceEnvWithValue

func ReplaceEnvWithValue(str string, envs map[string]string) string

func SetCmdsWorkDir

func SetCmdsWorkDir(dir string, cmds []*common.Command)

Types

This section is empty.

Jump to

Keyboard shortcuts

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