package exptypes
import "github.com/moby/buildkit/exporter/containerimage/exptypes"
Index ¶
- Constants
- Variables
- func AnnotationIndexDescriptorKey(key string) string
- func AnnotationIndexKey(key string) string
- func AnnotationManifestDescriptorKey(p *ocispecs.Platform, key string) string
- func AnnotationManifestKey(p *ocispecs.Platform, key string) string
- func ParseKey(meta map[string][]byte, key string, p Platform) []byte
- type AnnotationKey
- func ParseAnnotationKey(result string) (AnnotationKey, bool, error)
- func (k AnnotationKey) PlatformString() string
- func (k AnnotationKey) String() string
- type Platform
- type Platforms
Constants ¶
const ( AnnotationIndex = "index" AnnotationIndexDescriptor = "index-descriptor" AnnotationManifest = "manifest" AnnotationManifestDescriptor = "manifest-descriptor" )
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" ExporterEpochKey = "source.date.epoch" )
Variables ¶
var KnownRefMetadataKeys = []string{ ExporterImageConfigKey, ExporterInlineCache, ExporterBuildInfo, }
KnownRefMetadataKeys are the subset of exporter keys that can be suffixed by a platform to become platform specific
Functions ¶
func AnnotationIndexDescriptorKey ¶
func AnnotationIndexKey ¶
func AnnotationManifestDescriptorKey ¶
func AnnotationManifestKey ¶
func ParseKey ¶
Types ¶
type AnnotationKey ¶
func ParseAnnotationKey ¶
func ParseAnnotationKey(result string) (AnnotationKey, bool, error)
func (AnnotationKey) PlatformString ¶
func (k AnnotationKey) PlatformString() string
func (AnnotationKey) String ¶
func (k AnnotationKey) String() string
type Platform ¶
type Platforms ¶
type Platforms struct { Platforms []Platform }
func ParsePlatforms ¶
Source Files ¶
annotations.go parse.go types.go
- Version
- v0.11.0-rc3
- Published
- Dec 16, 2022
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 4 hours ago –
Tools for package owners.