Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricEmitterPluginOptions ¶
type MetricEmitterPluginOptions struct { PodMetricLabels []string PodSkipAnnotations string PodSkipLabels string PodSyncPeriod time.Duration PodMetricMapping map[string]string NodeMetricLabels []string NodeMetricMapping map[string]string MetricSyncers []string }
MetricEmitterPluginOptions holds the configurations for custom-metric emitter plugin.
func NewMetricEmitterPluginOptions ¶
func NewMetricEmitterPluginOptions() *MetricEmitterPluginOptions
NewMetricEmitterPluginOptions creates a new Options with a default config.
func (*MetricEmitterPluginOptions) AddFlags ¶
func (o *MetricEmitterPluginOptions) AddFlags(fss *cliflag.NamedFlagSets)
AddFlags adds flags to the specified FlagSet.
func (*MetricEmitterPluginOptions) ApplyTo ¶
func (o *MetricEmitterPluginOptions) ApplyTo(c *metricemitter.MetricEmitterPluginConfiguration) error
ApplyTo fills up config with options
Click to show internal directories.
Click to hide internal directories.