Documentation
¶
Index ¶
Constants ¶
View Source
const LOG_CAPABILITIES_REQUEST string = "/LogDriver.Capabilities"
View Source
const START_LOGGING_REQUEST string = "/LogDriver.StartLogging"
View Source
const STOP_LOGGING_REQUEST string = "/LogDriver.StopLogging"
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(h *sdk.Handler, region string, cluster string)
Types ¶
type CapabilitiesResponse ¶
type CapabilitiesResponse struct {
Err string
Cap logger.Capability
}
type LogDriver ¶
type LogDriver interface {
StartLogging(file string, logCtx logger.Info) error
StopLogging(file string) error
GetCapability() logger.Capability
}
LogDriver defines the docker log driver interface.
type ReadLogsRequest ¶
type ReadLogsRequest struct {
Info logger.Info
Config logger.ReadConfig
}
type StartLoggingRequest ¶
type StartLoggingRequest struct {
File string
Info logger.Info
}
type StopLoggingRequest ¶
type StopLoggingRequest struct {
File string
}
Click to show internal directories.
Click to hide internal directories.