Documentation ¶
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
- type Platform
- type Platforms
Constants ¶
View Source
const ( AnnotationIndex = "index" AnnotationIndexDescriptor = "index-descriptor" AnnotationManifest = "manifest" AnnotationManifestDescriptor = "manifest-descriptor" )
View Source
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 ¶
View Source
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 ¶ added in v0.11.0
func AnnotationIndexKey ¶ added in v0.11.0
func AnnotationManifestDescriptorKey ¶ added in v0.11.0
func AnnotationManifestKey ¶ added in v0.11.0
Types ¶
type AnnotationKey ¶ added in v0.11.0
func ParseAnnotationKey ¶ added in v0.11.0
func ParseAnnotationKey(result string) (AnnotationKey, bool, error)
func (AnnotationKey) PlatformString ¶ added in v0.11.0
func (k AnnotationKey) PlatformString() string
func (AnnotationKey) String ¶ added in v0.11.0
func (k AnnotationKey) String() string
Click to show internal directories.
Click to hide internal directories.