mirror of
https://github.com/mudler/luet.git
synced 2025-09-03 16:25:19 +00:00
update vendor
This commit is contained in:
4
vendor/github.com/google/go-containerregistry/pkg/crane/get.go
generated
vendored
4
vendor/github.com/google/go-containerregistry/pkg/crane/get.go
generated
vendored
@@ -44,7 +44,9 @@ func getManifest(r string, opt ...Option) (*remote.Descriptor, error) {
|
||||
return remote.Get(ref, o.remote...)
|
||||
}
|
||||
|
||||
func head(r string, opt ...Option) (*v1.Descriptor, error) {
|
||||
// Head performs a HEAD request for a manifest and returns a content descriptor
|
||||
// based on the registry's response.
|
||||
func Head(r string, opt ...Option) (*v1.Descriptor, error) {
|
||||
o := makeOptions(opt...)
|
||||
ref, err := name.ParseReference(r, o.name...)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user