Versions in this module Expand all Collapse all v0 v0.49.5 Feb 12, 2024 v0.49.2 Feb 12, 2024 v0.48.3 Feb 19, 2024 v0.48.2 Feb 13, 2024 v0.0.5 Feb 12, 2024 v0.0.4 Feb 9, 2024 v0.0.3 Feb 9, 2024 v0.0.2 Feb 9, 2024 Changes in this version + var DefaultDockerSDConfig = DockerSDConfig + var DefaultDockerSwarmSDConfig = DockerSwarmSDConfig + type Discovery struct + func NewDiscovery(conf *DockerSwarmSDConfig, logger log.Logger, ...) (*Discovery, error) + type DockerDiscovery struct + func NewDockerDiscovery(conf *DockerSDConfig, logger log.Logger, metrics discovery.DiscovererMetrics) (*DockerDiscovery, error) + type DockerSDConfig struct + Filters []Filter + HTTPClientConfig config.HTTPClientConfig + Host string + HostNetworkingHost string + Port int + RefreshInterval model.Duration + func (*DockerSDConfig) Name() string + func (*DockerSDConfig) NewDiscovererMetrics(_ prometheus.Registerer, rmi discovery.RefreshMetricsInstantiator) discovery.DiscovererMetrics + func (c *DockerSDConfig) NewDiscoverer(opts discovery.DiscovererOptions) (discovery.Discoverer, error) + func (c *DockerSDConfig) SetDirectory(dir string) + func (c *DockerSDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type DockerSwarmSDConfig struct + Filters []Filter + HTTPClientConfig config.HTTPClientConfig + Host string + Port int + RefreshInterval model.Duration + Role string + func (*DockerSwarmSDConfig) Name() string + func (*DockerSwarmSDConfig) NewDiscovererMetrics(reg prometheus.Registerer, rmi discovery.RefreshMetricsInstantiator) discovery.DiscovererMetrics + func (c *DockerSwarmSDConfig) NewDiscoverer(opts discovery.DiscovererOptions) (discovery.Discoverer, error) + func (c *DockerSwarmSDConfig) SetDirectory(dir string) + func (c *DockerSwarmSDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type Filter struct + Name string + Values []string