podman

Форк
0
/
runtime.go 
28 строк · 1.0 Кб
1
package define
2

3
import "time"
4

5
// RuntimeStateStore is a constant indicating which state store implementation
6
// should be used by libpod
7
type RuntimeStateStore int
8

9
const (
10
	// InvalidStateStore is an invalid state store
11
	InvalidStateStore 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
15
	InMemoryStateStore RuntimeStateStore = iota
16
	// SQLiteStateStore is a state backed by a SQLite database
17
	// It is presently disabled
18
	SQLiteStateStore RuntimeStateStore = iota
19
	// BoltDBStateStore is a state backed by a BoltDB database
20
	BoltDBStateStore 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.
27
	ContainerCreateTimeout = 240 * time.Second
28
)
29

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.