Documentation
¶
Index ¶
- Variables
- func DockerShowProgress(reader io.Reader) error
- func Error(err error, msg string, args ...interface{}) error
- func ExecTemplate(w io.Writer, tmpl string, vars interface{})
- func Fatal(err error, msg string, args ...interface{})
- func GetContext(ctx context.Context) (context.Context, context.CancelFunc)
- func GetTimeout() time.Duration
- func IsTTY(f *os.File) bool
- func LogConfigure(cfg *config.Log)
- func PrettyJSON(s any) error
- func PrintError(err error)
- func Stderrf(format string, args ...interface{})
- func Stdoutf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version string DefaultTimeout = 5 * time.Second )
Functions ¶
func DockerShowProgress ¶
DockerShowProgress shows docker like progress output on terminal.
func ExecTemplate ¶
func GetContext ¶
func GetTimeout ¶
func LogConfigure ¶
func PrettyJSON ¶
func PrintError ¶
func PrintError(err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.