Versions in this module Expand all Collapse all v2 v2.30.1 Jul 6, 2021 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) (*DockerDiscovery, error) + type DockerSDConfig struct + Filters []Filter + HTTPClientConfig config.HTTPClientConfig + Host string + Port int + RefreshInterval model.Duration + func (*DockerSDConfig) Name() string + 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 (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