Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
Driver maintains a mutex for synchronizing map access for tracking logpairs and maintains the logging interface for each container
func NewDriver ¶
func NewDriver() *Driver
NewDriver creates a driver which initializes the logpairs for each container
func (*Driver) ReadLogs ¶
func (d *Driver) ReadLogs(info logger.Info, config logger.ReadConfig) (io.ReadCloser, error)
ReadLogs reads from the log stream for the docker logs command
func (*Driver) StartLogging ¶
StartLogging initializes the logging endpoints for log stream, file and application insights
func (*Driver) StopLogging ¶
StopLogging will unregister all the handles to files and application insights
Click to show internal directories.
Click to hide internal directories.