package
17.12.1-ce-rc2+incompatible
Repository: https://github.com/ikedam/cli.git
Documentation: pkg.go.dev
# Packages
Package awslogs provides the logdriver for forwarding container logs to Amazon CloudWatch Logs.
Package fluentd provides the log driver for forwarding server logs to fluentd endpoints.
No description provided by the author
Package gelf provides the log driver for forwarding server logs to endpoints that support the Graylog Extended Log Format.
Package journald provides the log driver for forwarding server logs to endpoints that receive the systemd format.
Package jsonfilelog provides the default Logger implementation for Docker logging.
Package logentries provides the log driver for forwarding server logs to logentries endpoints.
No description provided by the author
Package splunk provides the log driver for forwarding server logs to Splunk HTTP Event Collector endpoint.
Package syslog provides the logdriver for forwarding server logs to syslog endpoints.
No description provided by the author
# Functions
GetLogDriver provides the logging driver builder for a logging driver name.
ListDrivers gets the list of registered log driver names.
NewCopier creates a new Copier.
NewLogWatcher returns a new LogWatcher.
NewMessage returns a new message from the message sync.Pool.
NewRingLogger creates a new Logger that is implemented as a RingBuffer wrapping the passed in logger.
PutMessage puts the specified message back n the message pool.
RegisterLogDriver registers the given logging driver builder with given logging driver name.
RegisterLogOptValidator registers the logging option validator with the given logging driver name.
RegisterPluginGetter sets the plugingetter.
ValidateLogOpts checks the options for the given log driver.
# Structs
Capability defines the list of capabilties that a driver can implement These capabilities are not required to be a logging driver, however do determine how a logging driver can be used.
Copier can copy logs from specified sources to Logger and attach Timestamp.
ErrReadLogsNotSupported is returned when the underlying log driver does not support reading.
Info provides enough information for a logging driver to do its function.
LogWatcher is used when consuming logs read from the LogReader interface.
ReadConfig is the configuration passed into ReadLogs.
RingLogger is a ring buffer that implements the Logger interface.
# Interfaces
Logger is the interface for docker logging drivers.
LogReader is the interface for reading log messages for loggers that support reading.
SizedLogger is the interface for logging drivers that can control the size of buffer used for their messages.
# Type aliases
Creator builds a logging driver instance with given context.
LogOptValidator checks the options specific to the underlying logging implementation.
MarshalFunc is a func that marshals a message into an arbitrary format.
Message is datastructure that represents piece of output produced by some container.