package
7.17.28
Repository: https://github.com/elastic/beats.git
Documentation: pkg.go.dev

# Functions

DeDotLabels returns a new common.MapStr containing a copy of the labels where the dots have been converted into nested structure, avoiding possible mapping errors.
ExtractContainerName strips the `/` characters that frequently appear in container names.
NewClient builds and returns a new Docker client.
NewWatcher returns a watcher running for the given settings.
NewWatcherWithClient creates a new Watcher from a given Docker client.

# Structs

Container info retrieved by the watcher.
TLSConfig for docker socket connection.

# Interfaces

Client for docker interface.
Watcher reads docker events and keeps a list of known containers.

# Type aliases

WatcherConstructor represent a function that creates a new Watcher from giving parameters.