aboutsummaryrefslogtreecommitdiff
path: root/test/endpoint/config.go
blob: 9d2a5a2396bbbbb16592091bb9d644998fefc532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// +build varlink

package endpoint

import "encoding/json"

var (
	STORAGE_FS               = "vfs"
	STORAGE_OPTIONS          = "--storage-driver vfs"
	ROOTLESS_STORAGE_FS      = "vfs"
	ROOTLESS_STORAGE_OPTIONS = "--storage-driver vfs"
	CACHE_IMAGES             = []string{ALPINE, BB, fedoraMinimal, nginx, redis, registry, infra, labels}
	nginx                    = "quay.io/libpod/alpine_nginx:latest"
	BB_GLIBC                 = "docker.io/library/busybox:glibc"
	registry                 = "docker.io/library/registry:2.6"
	labels                   = "quay.io/libpod/alpine_labels:latest"
)

func makeNameMessage(name string) string {
	n := make(map[string]string)
	n["name"] = name
	b, _ := json.Marshal(n)
	return string(b)
}