| Lorenz Brun | 901c732 | 2023-07-13 20:10:37 +0200 | [diff] [blame] | 1 | syntax = "proto3"; |
| 2 | |
| Tim Windelschmidt | 2f9f624 | 2025-01-11 08:25:54 +0100 | [diff] [blame] | 3 | package metropolis.test.localregistry.spec; |
| Lorenz Brun | 901c732 | 2023-07-13 20:10:37 +0200 | [diff] [blame] | 4 | |
| Tim Windelschmidt | 9f21f53 | 2024-05-07 15:14:20 +0200 | [diff] [blame] | 5 | option go_package = "source.monogon.dev/metropolis/test/localregistry/spec"; |
| Lorenz Brun | 901c732 | 2023-07-13 20:10:37 +0200 | [diff] [blame] | 6 | |
| Lorenz Brun | 901c732 | 2023-07-13 20:10:37 +0200 | [diff] [blame] | 7 | // Single image metadata |
| 8 | message Image { |
| Jan Schär | 9d2f3c6 | 2025-04-14 11:17:22 +0000 | [diff] [blame^] | 9 | // Repository where the image is served |
| 10 | string repository = 1; |
| 11 | // Tag where the image is served |
| 12 | string tag = 2; |
| 13 | // Path to the OCI layout directory containing the image |
| 14 | string path = 3; |
| Lorenz Brun | 901c732 | 2023-07-13 20:10:37 +0200 | [diff] [blame] | 15 | } |
| 16 | |
| 17 | // Main message |
| 18 | message Manifest { |
| 19 | // List of images for the local registry |
| 20 | repeated Image images = 1; |
| Jan Schär | 9d2f3c6 | 2025-04-14 11:17:22 +0000 | [diff] [blame^] | 21 | } |