kubernetes/staging/src/k8s.io/component-base/metrics/options.go

type Options

// NewOptions returns default metrics options
func NewOptions() *Options {}

// Validate validates metrics flags options.
func (o *Options) Validate() []error {}

// AddFlags adds flags for exposing component metrics.
func (o *Options) AddFlags(fs *pflag.FlagSet) {}

// Apply applies parameters into global configuration of metrics.
func (o *Options) Apply() {}

func validateShowHiddenMetricsVersion(currentVersion semver.Version, targetVersionStr string) error {}

func validateAllowMetricLabel(allowListMapping map[string]string) error {}