Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MagicArgv1 is the magic argv1 for the containerd runtime v2 logging plugin mode. MagicArgv1 = "_NERDCTL_INTERNAL_LOGGING" MaxSize = "max-size" MaxFile = "max-file" )
Variables ¶
This section is empty.
Functions ¶
func LogConfigFilePath ¶ added in v0.20.0
LogConfigFilePath returns the path of log-config.json
Types ¶
type LogConfig ¶ added in v0.20.0
type LogConfig struct {
Drivers []LogDriverConfig `json:"drivers,omitempty"`
}
LogConfig is marshalled as "log-config.json"
type LogDriverConfig ¶ added in v0.20.0
type LogDriverConfig struct {
Driver string `json:"driver"`
Opts map[string]string `json:"opts,omitempty"`
}
LogDriverConfig is defined per a driver
Click to show internal directories.
Click to hide internal directories.