David K. Bainbridge | 215e024 | 2017-09-05 23:18:24 -0700 | [diff] [blame] | 1 | // Copyright 2016 The Linux Foundation |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | package v1 |
| 16 | |
| 17 | const ( |
| 18 | // ImageLayoutFile is the file name of oci image layout file |
| 19 | ImageLayoutFile = "oci-layout" |
| 20 | // ImageLayoutVersion is the version of ImageLayout |
| 21 | ImageLayoutVersion = "1.0.0" |
| 22 | ) |
| 23 | |
| 24 | // ImageLayout is the structure in the "oci-layout" file, found in the root |
| 25 | // of an OCI Image-layout directory. |
| 26 | type ImageLayout struct { |
| 27 | Version string `json:"imageLayoutVersion"` |
| 28 | } |