Merge pull request #5135 from AkihiroSuda/default-config-crypt

add imgcrypt stream processors to the default config
This commit is contained in:
Fu, Wei
2021-03-25 14:31:38 +08:00
committed by GitHub
13 changed files with 88 additions and 59 deletions

View File

@@ -49,6 +49,9 @@ const (
MediaTypeContainerd1CheckpointRuntimeOptions = "application/vnd.containerd.container.checkpoint.runtime.options+proto"
// Legacy Docker schema1 manifest
MediaTypeDockerSchema1Manifest = "application/vnd.docker.distribution.manifest.v1+prettyjws"
// Encypted media types
MediaTypeImageLayerEncrypted = ocispec.MediaTypeImageLayer + "+encrypted"
MediaTypeImageLayerGzipEncrypted = ocispec.MediaTypeImageLayerGzip + "+encrypted"
)
// DiffCompression returns the compression as defined by the layer diff media