docker

package
v0.9.0-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonConfig

type CommonConfig struct {
	LogConfig
	ExecOptions  []string `json:"exec-opts,omitempty"`
	GraphDriver  string   `json:"storage-driver,omitempty"`
	GraphOptions []string `json:"storage-opts,omitempty"`
}

CommonConfig defines the bits of configuration for a docker daemon which is needed by WKS. See also: https://github.com/docker/engine/blob/v18.09.2/daemon/config/config.go#L111-L115 There were attempts to directly vendor the above, but this ended up in dependency hell, and someone almost being sent to the mental hospital, hence this partial copy.

type LogConfig

type LogConfig struct {
	Type   string            `json:"log-driver,omitempty"`
	Config map[string]string `json:"log-opts,omitempty"`
}

LogConfig represents the default log configuration. It includes json tags to deserialize configuration from a file using the same names that the flags in the command line use.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL