Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { sync.Mutex //Volume config VolumeConfig volume.Config // Network config NetworkConfg network.Config // Whether enable cri manager. IsCriEnabled bool `json:"enable-cri,omitempty"` // CRI config. CriConfig cri.Config // Server listening address. Listen []string `json:"listen,omitempty"` // ListenCRI is the listening address which serves CRI. ListenCRI string `json:"listen-cri,omitempty"` // Debug refers to the log mode. Debug bool `json:"debug,omitempty"` // ContainerdAddr refers to the unix socket path of containerd. ContainerdAddr string `json:"containerd,omitempty"` // DefaultRegistry is daemon's default registry which is to pull/push/search images. DefaultRegistry string `json:"default-registry,omitempty"` // DefaultRegistryNS is daemon's default registry namespace used in pull/push/search images. DefaultRegistryNS string `json:"default-registry-namespace,omitempty"` // Home directory. HomeDir string `json:"home-dir,omitempty"` // ContainerdPath is the absolute path of containerd binary, // /usr/local/bin is the default. ContainerdPath string `json:"containerd-path"` // TLS configuration TLS client.TLSConfig // Default OCI Runtime DefaultRuntime string `json:"default-runtime,omitempty"` // Enable lxcfs IsLxcfsEnabled bool `json:"enable-lxcfs,omitempty"` // LxcfsBinPath is the absolute path of lxcfs binary LxcfsBinPath string `json:"lxcfs,omitempty"` // LxcfsHome is the absolute path of lxcfs LxcfsHome string `json:"lxcfs-home,omitempty"` // ImagxeProxy is a http proxy to pull image ImageProxy string `json:"image-proxy,omitempty"` // QuotaDriver is used to set the driver of Quota QuotaDriver string `json:"quota-driver,omitempty"` // Configuration file of pouchd ConfigFile string `json:"config-file,omitempty"` // CgroupParent is to set parent cgroup for all containers CgroupParent string `json:"cgroup-parent,omitempty"` // PluginPath is set the path where plugin so file put PluginPath string `json:"plugin"` // Labels is the metadata of daemon Labels []string `json:"labels,omitempty"` // EnableProfiler indicates whether pouchd setup profiler like pprof and stack dumping etc EnableProfiler bool `json:"enableProfiler"` }
Config refers to daemon's whole configurations.
Click to show internal directories.
Click to hide internal directories.