From 73f386c3609bc2f9c75c59d4b5fd96a7a8ddd78b Mon Sep 17 00:00:00 2001 From: "Clarence \"Sparr\" Risher" Date: Fri, 2 Jun 2023 17:25:57 +0000 Subject: [PATCH] Add constants for "index.json" and "blobs" alongside "oci-layout" as parts of the layout specification Signed-off-by: Clarence "Sparr" Risher --- specs-go/v1/layout.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/specs-go/v1/layout.go b/specs-go/v1/layout.go index fc79e9e0d..c5503cb30 100644 --- a/specs-go/v1/layout.go +++ b/specs-go/v1/layout.go @@ -15,10 +15,14 @@ package v1 const ( - // ImageLayoutFile is the file name of oci image layout file + // ImageLayoutFile is the file name containing ImageLayout in an OCI Image Layout ImageLayoutFile = "oci-layout" // ImageLayoutVersion is the version of ImageLayout ImageLayoutVersion = "1.0.0" + // ImageIndexFile is the file name of the entry point for references and descriptors in an OCI Image Layout + ImageIndexFile = "index.json" + // ImageBlobsDir is the directory name containing content addressable blobs in an OCI Image Layout + ImageBlobsDir = "blobs" ) // ImageLayout is the structure in the "oci-layout" file, found in the root