mirror of
https://github.com/containers/podman.git
synced 2025-12-13 10:28:48 +08:00
Vendor in latest containers/(storage, common, image)
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
8
vendor/github.com/containers/common/pkg/config/config.go
generated
vendored
8
vendor/github.com/containers/common/pkg/config/config.go
generated
vendored
@@ -109,6 +109,10 @@ type ContainersConfig struct {
|
||||
// Default cgroup configuration
|
||||
Cgroups string `toml:"cgroups,omitempty"`
|
||||
|
||||
// CgroupConf entries specifies a list of cgroup files to write to and their values. For example
|
||||
// "memory.high=1073741824" sets the memory.high limit to 1GB.
|
||||
CgroupConf []string `toml:"cgroup_conf,omitempty"`
|
||||
|
||||
// Capabilities to add to all containers.
|
||||
DefaultCapabilities []string `toml:"default_capabilities,omitempty"`
|
||||
|
||||
@@ -180,6 +184,10 @@ type ContainersConfig struct {
|
||||
// NoHosts tells container engine whether to create its own /etc/hosts
|
||||
NoHosts bool `toml:"no_hosts,omitempty"`
|
||||
|
||||
// OOMScoreAdj tunes the host's OOM preferences for containers
|
||||
// (accepts values from -1000 to 1000).
|
||||
OOMScoreAdj *int `toml:"oom_score_adj,omitempty"`
|
||||
|
||||
// PidsLimit is the number of processes each container is restricted to
|
||||
// by the cgroup process number controller.
|
||||
PidsLimit int64 `toml:"pids_limit,omitempty,omitzero"`
|
||||
|
||||
Reference in New Issue
Block a user