Implement path spec for manifest storage
This commit is contained in:
parent
e158e3cd65
commit
4bbabc6e36
2 changed files with 28 additions and 7 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue