podman
1package define
2
3import "time"
4
5// RuntimeStateStore is a constant indicating which state store implementation
6// should be used by libpod
7type RuntimeStateStore int
8
9const (
10// InvalidStateStore is an invalid state store
11InvalidStateStore RuntimeStateStore = iota
12// InMemoryStateStore is an in-memory state that will not persist data
13// on containers and pods between libpod instances or after system
14// reboot
15InMemoryStateStore RuntimeStateStore = iota
16// SQLiteStateStore is a state backed by a SQLite database
17// It is presently disabled
18SQLiteStateStore RuntimeStateStore = iota
19// BoltDBStateStore is a state backed by a BoltDB database
20BoltDBStateStore RuntimeStateStore = iota
21// ContainerCreateTimeout is the timeout before we decide we've failed
22// to create a container.
23// TODO: Make this generic - all OCI runtime operations should use the
24// same timeout, this one.
25// TODO: Consider dropping from 240 to 60 seconds. I don't think waiting
26// 4 minutes versus 1 minute makes a real difference.
27ContainerCreateTimeout = 240 * time.Second
28)
29