Skip to main content

Module prelude

Module prelude 

Source
Expand description

Common OCI primitive re-exports.

Structs§

Annotation
An OCI annotation key/value pair.
AnnotationKey
A validated OCI annotation key.
AnnotationValue
A validated OCI annotation value.
ArchitectureTag
An architecture-looking OCI tag.
DescriptorSize
Descriptor size in bytes.
DescriptorUrl
A descriptor URL string. This type does not fetch anything.
DigestAlgorithm
A validated OCI digest algorithm label.
DigestValue
A validated encoded digest value.
DigestedReference
A name plus digest reference.
DistributionRoute
A distribution route path. This type performs no HTTP calls.
ImageId
OCI image ID metadata, represented by a digest.
ImageMetadata
OCI image metadata composed from focused primitive crates.
ImageName
A lightweight image name label.
ImageReference
A parsed OCI image reference with optional tag and digest.
IndexManifest
A platform-specific manifest reference in an OCI image index.
LayerMediaType
An OCI layer media type.
LayerSize
Layer size in bytes.
LayoutVersion
OCI image layout version marker.
Mount
OCI mount metadata. This type does not mount filesystems.
Namespace
Namespace metadata without platform syscalls.
OciDescriptor
OCI descriptor metadata.
OciDigest
A parsed OCI digest such as sha256:<hex>.
OciIndex
OCI image index metadata.
OciLayer
OCI layer metadata. This type does not extract or decompress layers.
OciLayoutPaths
Lexical OCI image layout paths. This type does not create directories or files.
OciManifest
OCI image manifest primitives.
OciPlatform
OCI platform metadata.
OciTag
A validated OCI tag.
RegistryHost
A registry host label.
RepositoryName
A validated repository name.
RootFilesystem
RuntimeSpec
OCI runtime metadata. This type does not execute a runtime.
SchemaVersion
OCI manifest schema version.
TaggedReference
A name plus tag reference.
VersionTag
A version-looking OCI tag.

Enums§

ImageKind
OCI image kind labels.
KnownMediaType
Known OCI media type labels.
ManifestReference
A manifest reference by tag or digest.
MountKind
OCI mount kind metadata.
NamespaceKind
OCI/Linux namespace kind labels.
OciArchitecture
OCI architecture labels.
OciMediaType
A known or custom OCI media type.
OciOs
OCI operating system labels.

Type Aliases§

CanonicalReference
A reference that includes a digest.