Implement path spec for manifest storage

This commit is contained in:
Stephen J Day 2014-11-21 17:04:35 -08:00
parent e158e3cd65
commit 4bbabc6e36
2 changed files with 28 additions and 7 deletions

View file

@ -16,6 +16,13 @@ func TestPathMapper(t *testing.T) {
expected string
err error
}{
{
spec: manifestPathSpec{
name: "foo/bar",
tag: "thetag",
},
expected: "/pathmapper-test/repositories/foo/bar/manifests/thetag",
},
{
spec: layerLinkPathSpec{
name: "foo/bar",