Documentation
¶
Overview ¶
Package standardflags contains flags that multiple CSI sidecars and drivers may want to support.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAutomaxprocs ¶
func AddAutomaxprocs(printf func(format string, args ...interface{}))
AddAutomaxprocs adds the -automaxprocs boolean flag to the commandline options. By default the flag is disabled, use EnableAutomaxprocs to enable it during startup of an application.
The printf function that is passed as an argument, will be used by the maxprocs.Logger option when the GOMAXPROCS runtime configuration is adjusted.
func EnableAutomaxprocs ¶
func EnableAutomaxprocs()
EnableAutomaxprocs can be used as an equivalent of -automaxprocs=true on the commandline.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.