Skip to content

Commit 1309a15

Browse files
committed
specs-go: adding structure of oci-layout file
This file found in an image-layout only had a described content, but not a referenced structure. Signed-off-by: Vincent Batts <[email protected]>
1 parent 985d354 commit 1309a15

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

specs-go/v1/layout.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package v1
2+
3+
// ImageLayout is the structure in the "oci-layout" file, found in the root
4+
// of an OCI Image-layout directory.
5+
type ImageLayout struct {
6+
Version string `json:"imageLayoutVersion"`
7+
}

0 commit comments

Comments
 (0)