util

package
v1.0.0-alpha.19 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTimeout = 5 * time.Second
View Source
var Version string

Functions

func DockerShowProgress

func DockerShowProgress(reader io.Reader) error

DockerShowProgress shows docker like progress output on terminal

func Error

func Error(err error, msg string)

func GetContext

func GetContext(ctx context.Context) (context.Context, context.CancelFunc)

func IsTTY

func IsTTY(f *os.File) bool

func LogConfigure

func LogConfigure(cfg *config.Log)

func Stdout

func Stdout(format string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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