package
6.8.15+incompatible
Repository: https://github.com/agilebits/beats.git
Documentation: pkg.go.dev

# Functions

NewClient builds and returns a new Docker client It uses version 1.30 by default, and negotiates it with the server so it is downgraded if 1.30 is too high.
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.