Merge pull request #958 from crazy-max/buildinfo-deps
build: send buildinfo dependenciespull/963/head
						commit
						9c0a23996d
					
				@ -0,0 +1,28 @@
 | 
			
		||||
package exptypes
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	digest "github.com/opencontainers/go-digest"
 | 
			
		||||
	ocispecs "github.com/opencontainers/image-spec/specs-go/v1"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	ExporterConfigDigestKey      = "config.digest"
 | 
			
		||||
	ExporterImageDigestKey       = "containerimage.digest"
 | 
			
		||||
	ExporterImageConfigKey       = "containerimage.config"
 | 
			
		||||
	ExporterImageConfigDigestKey = "containerimage.config.digest"
 | 
			
		||||
	ExporterImageDescriptorKey   = "containerimage.descriptor"
 | 
			
		||||
	ExporterInlineCache          = "containerimage.inlinecache"
 | 
			
		||||
	ExporterBuildInfo            = "containerimage.buildinfo"
 | 
			
		||||
	ExporterPlatformsKey         = "refs.platforms"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
const EmptyGZLayer = digest.Digest("sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1")
 | 
			
		||||
 | 
			
		||||
type Platforms struct {
 | 
			
		||||
	Platforms []Platform
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type Platform struct {
 | 
			
		||||
	ID       string
 | 
			
		||||
	Platform ocispecs.Platform
 | 
			
		||||
}
 | 
			
		||||
					Loading…
					
					
				
		Reference in New Issue