command

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args string, log logr.Logger) (string, error)

Run command and grab the default timeout environment variable, if set

func RunAs added in v0.1.5

func RunAs(args string, log logr.Logger, uid, gid uint32) (string, error)

Run command as a specific UID/GID

func RunAsWithTimeout added in v0.1.5

func RunAsWithTimeout(args string, timeout int, log logr.Logger, uid, gid *uint32) (string, error)

Run command as a specific UID/GID with a specific timeout

func RunWithTimeout

func RunWithTimeout(args string, timeout int, log logr.Logger) (string, error)

Run with a specific timeout

Types

This section is empty.

Jump to

Keyboard shortcuts

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