Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGlobalFlags ¶
AddGlobalFlags explicitly registers flags that libraries (klog, verflag, etc.) register against the global flagsets from "flag" and "k8s.io/klog/v2". We do this in order to prevent unwanted flags from leaking into the component's flagset.
k8s.io/component-base/logs.SkipLoggingConfigurationFlags must be used as option when the program also uses a LoggingConfiguration struct for configuring logging. Then only flags not covered by that get added.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.