mirror of
https://github.com/containers/podman.git
synced 2025-12-13 02:09:16 +08:00
vendor latest c/common
Includes the default db backend changes. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
25
vendor/github.com/containers/common/pkg/config/config.go
generated
vendored
25
vendor/github.com/containers/common/pkg/config/config.go
generated
vendored
@@ -30,24 +30,6 @@ const (
|
||||
bindirPrefix = "$BINDIR"
|
||||
)
|
||||
|
||||
// RuntimeStateStore is a constant indicating which state store implementation
|
||||
// should be used by engine
|
||||
type RuntimeStateStore int
|
||||
|
||||
const (
|
||||
// InvalidStateStore is an invalid state store
|
||||
InvalidStateStore RuntimeStateStore = iota
|
||||
// InMemoryStateStore is an in-memory state that will not persist data
|
||||
// on containers and pods between engine instances or after system
|
||||
// reboot
|
||||
InMemoryStateStore RuntimeStateStore = iota
|
||||
// SQLiteStateStore is a state backed by a SQLite database
|
||||
// It is presently disabled
|
||||
SQLiteStateStore RuntimeStateStore = iota
|
||||
// BoltDBStateStore is a state backed by a BoltDB database
|
||||
BoltDBStateStore RuntimeStateStore = iota
|
||||
)
|
||||
|
||||
var validImageVolumeModes = []string{_typeBind, "tmpfs", "ignore"}
|
||||
|
||||
// ProxyEnv is a list of Proxy Environment variables
|
||||
@@ -483,13 +465,6 @@ type EngineConfig struct {
|
||||
// readiness using the SD_NOTIFY mechanism.
|
||||
SDNotify bool `toml:"-"`
|
||||
|
||||
// StateType is the type of the backing state store. Avoid using multiple
|
||||
// values for this with the same containers/storage configuration on the
|
||||
// same system. Different state types do not interact, and each will see a
|
||||
// separate set of containers, which may cause conflicts in
|
||||
// containers/storage. As such this is not exposed via the config file.
|
||||
StateType RuntimeStateStore `toml:"-"`
|
||||
|
||||
// ServiceTimeout is the number of seconds to wait without a connection
|
||||
// before the `podman system service` times out and exits
|
||||
ServiceTimeout uint `toml:"service_timeout,omitempty,omitzero"`
|
||||
|
||||
Reference in New Issue
Block a user