aboutsummaryrefslogtreecommitdiff
path: root/test/endpoint/config.go
blob: 15ee23547eb9b2556b940112781d906f537ceac6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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"
	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)
}