Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutodiscoverBuilder ¶
AutodiscoverBuilder builds and returns an autodiscover provider
Types ¶
type Config ¶
type Config struct { InCluster bool `config:"in_cluster"` KubeConfig string `config:"kube_config"` Host string `config:"host"` Namespace string `config:"namespace"` SyncPeriod time.Duration `config:"sync_period"` CleanupTimeout time.Duration `config:"cleanup_timeout"` IncludeLabels []string `config:"include_labels"` ExcludeLabels []string `config:"exclude_labels"` IncludeAnnotations []string `config:"include_annotations"` Templates template.MapperSettings `config:"templates"` }
Config for kubernetes autodiscover provider
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider implements autodiscover provider for docker containers
func (*Provider) Start ¶
func (p *Provider) Start()
Start the autodiscover provider. Start and stop listeners work the conventional way. Update listener triggers a stop and then a start to simulate an update.
Click to show internal directories.
Click to hide internal directories.