Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLogger ¶
GetLogger returns a stdr.Logger that implements the logr.Logger interface and sets the verbosity of the returned logger. set v to 0 for info level messages, 1 for debug messages and 2 for trace level message. any other verbosity level will default to 0.
func MemUsageToStdErr ¶
MemUsageToStdErr logs the total PSI memory usage, and garbage collector calls
func ShowUsageAndExit ¶
func ShowUsageAndExit(usage func(), exitcode int)
ShowUsageAndExit displays the usage message to stdout and exit
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.