Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Queries []prometheus.Query MetricFamiliesGetter prometheus.FetchAndFilterMetricsFamilies ServicesLister listersv1.ServiceLister }
type OptionFunc ¶
type OptionFunc func(kc *grouper) error
func WithLogger ¶
func WithLogger(logger *log.Logger) OptionFunc
WithLogger returns an OptionFunc to change the logger from the default noop logger.
Click to show internal directories.
Click to hide internal directories.