Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LoggingDriverMinimumVersion = map[LoggingDriver]DockerVersion{ JsonFileDriver: Version_1_18, SyslogDriver: Version_1_18, JournaldDriver: Version_1_19, GelfDriver: Version_1_20, FluentdDriver: Version_1_20, }
Functions ¶
This section is empty.
Types ¶
type DockerVersion ¶ added in v1.5.0
type DockerVersion string
const ( Version_1_17 DockerVersion = "1.17" Version_1_18 DockerVersion = "1.18" Version_1_19 DockerVersion = "1.19" Version_1_20 DockerVersion = "1.20" )
type Factory ¶ added in v1.5.0
type Factory interface { // GetDefaultClient returns a versioned client for the default version GetDefaultClient() (dockeriface.Client, error) // GetClient returns a client with the specified version GetClient(version DockerVersion) (dockeriface.Client, error) // FindAvailableVersions tests each supported version and returns a slice // of available versions FindAvailableVersions() []DockerVersion }
func NewFactory ¶ added in v1.5.0
type LoggingDriver ¶ added in v1.5.0
type LoggingDriver string
const ( JsonFileDriver LoggingDriver = "json-file" SyslogDriver LoggingDriver = "syslog" JournaldDriver LoggingDriver = "journald" GelfDriver LoggingDriver = "gelf" FluentdDriver LoggingDriver = "fluentd" )
Click to show internal directories.
Click to hide internal directories.