File tree Expand file tree Collapse file tree 5 files changed +3
-13
lines changed
Expand file tree Collapse file tree 5 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 99 "os"
1010
1111 ctlbundle "carvel.dev/imgpkg/pkg/imgpkg/bundle"
12+ "carvel.dev/imgpkg/pkg/imgpkg/image"
1213 "carvel.dev/imgpkg/pkg/imgpkg/imageset"
1314 ctlimgset "carvel.dev/imgpkg/pkg/imgpkg/imageset"
1415 "carvel.dev/imgpkg/pkg/imgpkg/imagetar"
@@ -17,15 +18,6 @@ import (
1718 "carvel.dev/imgpkg/pkg/imgpkg/plainimage"
1819 "carvel.dev/imgpkg/pkg/imgpkg/registry"
1920 regname "github.com/google/go-containerregistry/pkg/name"
20- ctlbundle "github.com/vmware-tanzu/carvel-imgpkg/pkg/imgpkg/bundle"
21- "github.com/vmware-tanzu/carvel-imgpkg/pkg/imgpkg/image"
22- "github.com/vmware-tanzu/carvel-imgpkg/pkg/imgpkg/imageset"
23- ctlimgset "github.com/vmware-tanzu/carvel-imgpkg/pkg/imgpkg/imageset"
24- "github.com/vmware-tanzu/carvel-imgpkg/pkg/imgpkg/imagetar"
25- "github.com/vmware-tanzu/carvel-imgpkg/pkg/imgpkg/internal/util"
26- "github.com/vmware-tanzu/carvel-imgpkg/pkg/imgpkg/lockconfig"
27- "github.com/vmware-tanzu/carvel-imgpkg/pkg/imgpkg/plainimage"
28- "github.com/vmware-tanzu/carvel-imgpkg/pkg/imgpkg/registry"
2921)
3022
3123type SignatureRetriever interface {
Original file line number Diff line number Diff line change 88 "github.com/google/go-containerregistry/pkg/v1/types"
99)
1010
11+ // intermediate struct for Image and ImageIndex to convert to imagwithref type for oci image
1112type ImageIndexIntermediate struct {
1213 Index regv1.ImageIndex
1314 ref string
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ type ImageOrIndex struct {
1818
1919 OrigRef string
2020}
21+
2122type ImageWithRef interface {
2223 regv1.Image
2324 Ref () string
Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ import (
1414 "github.com/google/go-containerregistry/pkg/name"
1515 v1 "github.com/google/go-containerregistry/pkg/v1"
1616 "github.com/google/go-containerregistry/pkg/v1/layout"
17- "github.com/vmware-tanzu/carvel-imgpkg/pkg/imgpkg/imagedesc"
18- "github.com/vmware-tanzu/carvel-imgpkg/pkg/imgpkg/imageutils/verify"
1917)
2018
2119type TarReader struct {
Original file line number Diff line number Diff line change @@ -410,8 +410,6 @@ func (r *SimpleRegistry) MultiWrite(imageOrIndexesToUpload map[regname.Reference
410410 if updatesCh != nil {
411411 rOpts = append (rOpts , regremote .WithProgress (updatesCh ))
412412 }
413-
414- //THIS HERE FINAL PUSHES
415413 return regremote .MultiWrite (overriddenImageOrIndexesToUploadRef , rOpts ... )
416414}
417415
You can’t perform that action at this time.
0 commit comments