package
10.358.0+incompatible
Repository: https://github.com/aporeto-inc/trireme-lib.git
Documentation: pkg.go.dev

# Packages

Package mockdocker is a generated GoMock package.

# Functions

DefaultConfig provides a default configuration.
New returns a new docker monitor.
SetupDefaultConfig adds defaults to a partial configuration.

# Constants

DockerClientVersion is the version sent out as the client.
EventConnect represents the Docker "connect" event.
EventCreate represents the Docker "create" event.
EventDestroy represents the Docker "destroy" event.
EventDie represents the Docker "die" event.
EventPause represents the Docker "pause" event.
EventStart represents the Docker "start" event.
EventUnpause represents the Docker "unpause" event.

# Structs

Config is the configuration options to start a CNI monitor.
DockerMonitor implements the connection to Docker and monitoring based on docker events.

# Interfaces

DockerClientInterface creates an interface for the docker client so that we can do tests.

# Type aliases

Event is the type of various docker events.
A EventHandler is type of docker event handler functions.