util

package
v0.43.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultDeleteRetries = 10

DefaultDeleteRetries defines a default retry count for resource deletion operations

Variables

This section is empty.

Functions

func AddToSSHKeyChain added in v0.35.0

func AddToSSHKeyChain(keyfile string) error

AddToSSHKeyChain is a helper func to setup ssh agent forwarding

func PrintCommand

func PrintCommand(cmd *exec.Cmd)

PrintCommand prints a command string

func RunAndLogCommand

func RunAndLogCommand(cmd *exec.Cmd, timeout time.Duration) ([]byte, error)

RunAndLogCommand logs the command with a timestamp when it's run, and the duration at end

Types

This section is empty.

Jump to

Keyboard shortcuts

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