Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPrometheusMetrics ¶
RegisterPrometheusMetrics is a convenient function to create and register prometheus metrics
Types ¶
type Config ¶
type Config struct { SyncInterval time.Duration SourceConfigmapName string SourceConfigmapNamespace string PrometheusExporterBindAddress string }
Config contains static configuration
type KubeSync ¶
type KubeSync struct { Conf *Config // contains filtered or unexported fields }
KubeSync contains the state
func NewKubeSync ¶
NewKubeSync creates a new KubeSync
Click to show internal directories.
Click to hide internal directories.