app/imageoper: index only for OCI manifests

This commit is contained in:
2026-03-13 15:34:53 +02:00
parent 920423ffeb
commit bebbf79c7a
3 changed files with 24 additions and 14 deletions
+19
View File
@@ -0,0 +1,19 @@
/*
* Copyright 2026 Oleg Borodin <onborodin@gmail.com>
*
* This work is published and licensed under a Creative Commons
* Attribution-NonCommercial-NoDerivatives 4.0 International License.
*
* Distribution of this work is permitted, but commercial use and
* modifications are strictly prohibited.
*/
package imageoper
const (
ddmMediaType = "application/vnd.docker.distribution.manifest.v2+json"
oimMediaType = "application/vnd.oci.image.manifest.v1+json"
oiiMediaType = "application/vnd.oci.image.index.v1+json"
XXXoicMediaType = "application/vnd.oci.image.config.v1+json"
XXXdciMediaType = "application/vnd.docker.container.image.v1+json"
)