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
- 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 ¶
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 }
Source Files ¶
- Version
- v0.11.0-rc1
- Published
- Nov 24, 2022
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 6 hours ago –
Tools for package owners.