Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgPassable ¶
type ArgPassable interface { // AsArgs outputs all fields that can be passed to a commandline. AsArgs() []string }
type KlogOptions ¶
type KlogOptions struct { // V is number for the log level verbosity V string // VModule is comma-separated list of pattern=N settings for file-filtered logging VModule string }
KlogOptions contains a list of all passed options from the klog library
func (*KlogOptions) AsArgs ¶
func (o *KlogOptions) AsArgs() []string
func (*KlogOptions) BindFlags ¶
func (o *KlogOptions) BindFlags(fs *pflag.FlagSet)
type Options ¶
type Options struct {
VGManager *VGmanagerOptions
}
Options represents all pass-through options for logging verbosity
func NewOptions ¶
func NewOptions() *Options
NewOptions creates a new option set and binds it's values against a given flagset.
type VGmanagerOptions ¶
type VGmanagerOptions struct { KlogOptions ZapOptions }
func (*VGmanagerOptions) AsArgs ¶
func (o *VGmanagerOptions) AsArgs() []string
func (*VGmanagerOptions) BindFlags ¶
func (o *VGmanagerOptions) BindFlags(fs *pflag.FlagSet)
type ZapOptions ¶
type ZapOptions struct { // ZapLogLevel is the Zap Level to configure the verbosity of logging. Can be one of 'debug', 'info', 'error', or any integer value > 0 which corresponds to custom debug levels of increasing verbosity ZapLogLevel string }
ZapOptions contains a list of all passed options from zap-logging
func (*ZapOptions) AsArgs ¶
func (o *ZapOptions) AsArgs() []string
func (*ZapOptions) BindFlags ¶
func (o *ZapOptions) BindFlags(fs *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.