summaryrefslogtreecommitdiff
path: root/test/endpoint/config.go
blob: 84f8ecb4cb7776d7d3c820fac0b1c8568d05226b (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"
	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)
}