mirror of
https://github.com/containers/podman.git
synced 2025-05-26 03:47:53 +08:00

add the ability to write integration tests similar to our e2e tests for the varlink endpoints. Signed-off-by: baude <bbaude@redhat.com>
23 lines
712 B
Go
23 lines
712 B
Go
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)
|
|
}
|