From d61bed2b2dcca27d8baecc2b63255f9df456ba2f Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Fri, 27 Jul 2018 01:16:00 +0200 Subject: Split refNamesFromImageReference from Runtime.getPullListFromRef MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Again, that makes the core logic independent from Runtime == containers-storage, and easier to test independently. So, this also adds tests. Should not change behavior. Signed-off-by: Miloslav Trmač Closes: #1176 Approved by: rhatdan --- libpod/image/testdata/docker-name-only.tar.xz | Bin 0 -> 1024 bytes libpod/image/testdata/docker-registry-name.tar.xz | Bin 0 -> 1028 bytes libpod/image/testdata/docker-two-images.tar.xz | Bin 0 -> 1416 bytes libpod/image/testdata/docker-two-names.tar.xz | Bin 0 -> 1040 bytes libpod/image/testdata/docker-unnamed.tar.xz | Bin 0 -> 968 bytes libpod/image/testdata/oci-name-only.tar.gz | Bin 0 -> 975 bytes libpod/image/testdata/oci-non-docker-name.tar.gz | Bin 0 -> 991 bytes libpod/image/testdata/oci-registry-name.tar.gz | Bin 0 -> 979 bytes libpod/image/testdata/oci-unnamed.tar.gz | Bin 0 -> 928 bytes 9 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 libpod/image/testdata/docker-name-only.tar.xz create mode 100644 libpod/image/testdata/docker-registry-name.tar.xz create mode 100644 libpod/image/testdata/docker-two-images.tar.xz create mode 100644 libpod/image/testdata/docker-two-names.tar.xz create mode 100644 libpod/image/testdata/docker-unnamed.tar.xz create mode 100644 libpod/image/testdata/oci-name-only.tar.gz create mode 100644 libpod/image/testdata/oci-non-docker-name.tar.gz create mode 100644 libpod/image/testdata/oci-registry-name.tar.gz create mode 100644 libpod/image/testdata/oci-unnamed.tar.gz (limited to 'libpod/image/testdata') diff --git a/libpod/image/testdata/docker-name-only.tar.xz b/libpod/image/testdata/docker-name-only.tar.xz new file mode 100644 index 000000000..0cad9f108 Binary files /dev/null and b/libpod/image/testdata/docker-name-only.tar.xz differ diff --git a/libpod/image/testdata/docker-registry-name.tar.xz b/libpod/image/testdata/docker-registry-name.tar.xz new file mode 100644 index 000000000..181816c2e Binary files /dev/null and b/libpod/image/testdata/docker-registry-name.tar.xz differ diff --git a/libpod/image/testdata/docker-two-images.tar.xz b/libpod/image/testdata/docker-two-images.tar.xz new file mode 100644 index 000000000..148d8a86b Binary files /dev/null and b/libpod/image/testdata/docker-two-images.tar.xz differ diff --git a/libpod/image/testdata/docker-two-names.tar.xz b/libpod/image/testdata/docker-two-names.tar.xz new file mode 100644 index 000000000..07fbc479c Binary files /dev/null and b/libpod/image/testdata/docker-two-names.tar.xz differ diff --git a/libpod/image/testdata/docker-unnamed.tar.xz b/libpod/image/testdata/docker-unnamed.tar.xz new file mode 100644 index 000000000..ba6ea1bae Binary files /dev/null and b/libpod/image/testdata/docker-unnamed.tar.xz differ diff --git a/libpod/image/testdata/oci-name-only.tar.gz b/libpod/image/testdata/oci-name-only.tar.gz new file mode 100644 index 000000000..57bc07564 Binary files /dev/null and b/libpod/image/testdata/oci-name-only.tar.gz differ diff --git a/libpod/image/testdata/oci-non-docker-name.tar.gz b/libpod/image/testdata/oci-non-docker-name.tar.gz new file mode 100644 index 000000000..5ffc0eabd Binary files /dev/null and b/libpod/image/testdata/oci-non-docker-name.tar.gz differ diff --git a/libpod/image/testdata/oci-registry-name.tar.gz b/libpod/image/testdata/oci-registry-name.tar.gz new file mode 100644 index 000000000..e6df87339 Binary files /dev/null and b/libpod/image/testdata/oci-registry-name.tar.gz differ diff --git a/libpod/image/testdata/oci-unnamed.tar.gz b/libpod/image/testdata/oci-unnamed.tar.gz new file mode 100644 index 000000000..de445fdf8 Binary files /dev/null and b/libpod/image/testdata/oci-unnamed.tar.gz differ -- cgit v1.2.3-54-g00ecf