replace reference/docker for github.com/distribution/reference v0.5.0

The reference/docker package was a fork of github.com/distribution/distribution,
which could not easily be used as a direct dependency, as it brought many other
dependencies with it.

The "reference' package has now moved to a separate repository, which means
we can replace the local fork, and use the upstream implementation again.

The new module was extracted from the distribution repository at commit:
b9b19409cf

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2023-08-30 22:17:58 +02:00
parent f9608c0027
commit 4923470902
44 changed files with 1241 additions and 2438 deletions

View File

@@ -26,8 +26,6 @@ import (
"net/http/httptest"
"net/url"
"strconv"
refDocker "github.com/containerd/containerd/reference/docker"
)
func FuzzFetcher(data []byte) int {
@@ -75,8 +73,3 @@ func FuzzFetcher(data []byte) int {
}
return 1
}
func FuzzParseDockerRef(data []byte) int {
_, _ = refDocker.ParseDockerRef(string(data))
return 1
}