package
1.8.2
Repository: https://github.com/labkode/docker.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

GetLogDriver provides the logging driver builder for a logging driver name.
NewCopier creates new Copier.
NewLogWatcher returns a new LogWatcher.
RegisterLogDriver registers the given logging driver builder with given logging driver name.
No description provided by the author
No description provided by the author

# Constants

TimeFormat is the time format used for timestamps sent to log readers.

# Variables

ErrReadLogsNotSupported is returned when the logger does not support reading logs.

# Structs

Context provides enough information for a logging driver to do its function.
Copier can copy logs from specified sources to Logger and attach ContainerID and Timestamp.
LogWatcher is used when consuming logs read from the LogReader interface.
Message is datastructure that represents record from some container.
ReadConfig is the configuration passed into ReadLogs.

# Interfaces

Logger is the interface for docker logging drivers.
LogReader is the interface for reading log messages for loggers that support reading.

# Type aliases

Creator is a method that builds a logging driver instance with given context.
LogOptValidator is a method that validates the log opts provided.