mirror of
https://github.com/containers/skopeo.git
synced 2025-09-05 08:41:00 +00:00
Update github.com/containers/image/v5 digest to e14c1c5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
6
vendor/github.com/google/go-containerregistry/pkg/name/registry.go
generated
vendored
6
vendor/github.com/google/go-containerregistry/pkg/name/registry.go
generated
vendored
@@ -17,6 +17,7 @@ package name
|
||||
import (
|
||||
"net"
|
||||
"net/url"
|
||||
"path"
|
||||
"regexp"
|
||||
"strings"
|
||||
)
|
||||
@@ -50,6 +51,11 @@ func (r Registry) String() string {
|
||||
return r.Name()
|
||||
}
|
||||
|
||||
// Repo returns a Repository in the Registry with the given name.
|
||||
func (r Registry) Repo(repo ...string) Repository {
|
||||
return Repository{Registry: r, repository: path.Join(repo...)}
|
||||
}
|
||||
|
||||
// Scope returns the scope required to access the registry.
|
||||
func (r Registry) Scope(string) string {
|
||||
// The only resource under 'registry' is 'catalog'. http://goo.gl/N9cN9Z
|
||||
|
Reference in New Issue
Block a user