github.com/mgoltzsche/ctnr@v0.7.1-alpha/bundle/image.go (about) 1 package bundle 2 3 import ( 4 digest "github.com/opencontainers/go-digest" 5 ispecs "github.com/opencontainers/image-spec/specs-go/v1" 6 ) 7 8 type BundleImage interface { 9 ID() digest.Digest 10 // Returns the image's configuration - never nil 11 Config() *ispecs.Image 12 Unpack(dest string) error 13 }