mirror of
https://github.com/containers/podman.git
synced 2025-12-08 14:48:48 +08:00
Update vendor of containers/(storage,image)
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
7
vendor/github.com/containers/common/pkg/config/config.go
generated
vendored
7
vendor/github.com/containers/common/pkg/config/config.go
generated
vendored
@@ -51,7 +51,7 @@ const (
|
||||
BoltDBStateStore RuntimeStateStore = iota
|
||||
)
|
||||
|
||||
var validImageVolumeModes = []string{"bind", "tmpfs", "ignore"}
|
||||
var validImageVolumeModes = []string{_typeBind, "tmpfs", "ignore"}
|
||||
|
||||
// ProxyEnv is a list of Proxy Environment variables
|
||||
var ProxyEnv = []string{
|
||||
@@ -513,6 +513,11 @@ type EngineConfig struct {
|
||||
|
||||
// CompressionLevel is the compression level used to compress image layers.
|
||||
CompressionLevel *int `toml:"compression_level,omitempty"`
|
||||
|
||||
// PodmanshTimeout is the number of seconds to wait for podmansh logins.
|
||||
// In other words, the timeout for the `podmansh` container to be in running
|
||||
// state.
|
||||
PodmanshTimeout uint `toml:"podmansh_timeout,omitempty,omitzero"`
|
||||
}
|
||||
|
||||
// SetOptions contains a subset of options in a Config. It's used to indicate if
|
||||
|
||||
3
vendor/github.com/containers/common/pkg/config/config_darwin.go
generated
vendored
3
vendor/github.com/containers/common/pkg/config/config_darwin.go
generated
vendored
@@ -14,6 +14,9 @@ const (
|
||||
// DefaultSignaturePolicyPath is the default value for the
|
||||
// policy.json file.
|
||||
DefaultSignaturePolicyPath = "/etc/containers/policy.json"
|
||||
|
||||
// Mount type for mounting host dir
|
||||
_typeBind = "bind"
|
||||
)
|
||||
|
||||
// podman remote clients on darwin cannot use unshare.isRootless() to determine the configuration file locations.
|
||||
|
||||
3
vendor/github.com/containers/common/pkg/config/config_freebsd.go
generated
vendored
3
vendor/github.com/containers/common/pkg/config/config_freebsd.go
generated
vendored
@@ -14,6 +14,9 @@ const (
|
||||
// DefaultSignaturePolicyPath is the default value for the
|
||||
// policy.json file.
|
||||
DefaultSignaturePolicyPath = "/usr/local/etc/containers/policy.json"
|
||||
|
||||
// Mount type for mounting host dir
|
||||
_typeBind = "nullfs"
|
||||
)
|
||||
|
||||
// podman remote clients on freebsd cannot use unshare.isRootless() to determine the configuration file locations.
|
||||
|
||||
3
vendor/github.com/containers/common/pkg/config/config_linux.go
generated
vendored
3
vendor/github.com/containers/common/pkg/config/config_linux.go
generated
vendored
@@ -17,6 +17,9 @@ const (
|
||||
// DefaultSignaturePolicyPath is the default value for the
|
||||
// policy.json file.
|
||||
DefaultSignaturePolicyPath = "/etc/containers/policy.json"
|
||||
|
||||
// Mount type for mounting host dir
|
||||
_typeBind = "bind"
|
||||
)
|
||||
|
||||
func selinuxEnabled() bool {
|
||||
|
||||
3
vendor/github.com/containers/common/pkg/config/config_windows.go
generated
vendored
3
vendor/github.com/containers/common/pkg/config/config_windows.go
generated
vendored
@@ -12,6 +12,9 @@ const (
|
||||
// DefaultSignaturePolicyPath is the default value for the
|
||||
// policy.json file.
|
||||
DefaultSignaturePolicyPath = "/etc/containers/policy.json"
|
||||
|
||||
// Mount type for mounting host dir
|
||||
_typeBind = "bind"
|
||||
)
|
||||
|
||||
// podman remote clients on windows cannot use unshare.isRootless() to determine the configuration file locations.
|
||||
|
||||
3
vendor/github.com/containers/common/pkg/config/containers.conf
generated
vendored
3
vendor/github.com/containers/common/pkg/config/containers.conf
generated
vendored
@@ -669,6 +669,9 @@ default_sysctls = [
|
||||
# A value of 0 is treated as no timeout.
|
||||
#volume_plugin_timeout = 5
|
||||
|
||||
# Default timeout in seconds for podmansh logins.
|
||||
#podmansh_timeout = 30
|
||||
|
||||
# Paths to look for a valid OCI runtime (crun, runc, kata, runsc, krun, etc)
|
||||
[engine.runtimes]
|
||||
#crun = [
|
||||
|
||||
3
vendor/github.com/containers/common/pkg/config/default.go
generated
vendored
3
vendor/github.com/containers/common/pkg/config/default.go
generated
vendored
@@ -28,7 +28,7 @@ const (
|
||||
_defaultTransport = "docker://"
|
||||
|
||||
// _defaultImageVolumeMode is a mode to handle built-in image volumes.
|
||||
_defaultImageVolumeMode = "bind"
|
||||
_defaultImageVolumeMode = _typeBind
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -298,6 +298,7 @@ func defaultConfigFromMemory() (*EngineConfig, error) {
|
||||
c.CgroupManager = defaultCgroupManager()
|
||||
c.ServiceTimeout = uint(5)
|
||||
c.StopTimeout = uint(10)
|
||||
c.PodmanshTimeout = uint(30)
|
||||
c.ExitCommandDelay = uint(5 * 60)
|
||||
c.Remote = isRemote()
|
||||
c.OCIRuntimes = map[string][]string{
|
||||
|
||||
Reference in New Issue
Block a user