| Lorenz Brun | 901c732 | 2023-07-13 20:10:37 +0200 | [diff] [blame] | 1 | syntax = "proto3"; |
| 2 | |
| 3 | package monogon.metropolis.pkg.localregistry; |
| 4 | |
| 5 | option go_package = "source.monogon.dev/metropolis/pkg/localregistry/spec"; |
| 6 | |
| Lorenz Brun | 901c732 | 2023-07-13 20:10:37 +0200 | [diff] [blame] | 7 | // Single image metadata |
| 8 | message Image { |
| 9 | // Name of the image (no domain or tag, just slash-separated path) |
| 10 | string name = 1; |
| Tim Windelschmidt | 0974b22 | 2024-01-16 14:04:15 +0100 | [diff] [blame] | 11 | // Path to the image |
| 12 | string path = 2; |
| Lorenz Brun | 901c732 | 2023-07-13 20:10:37 +0200 | [diff] [blame] | 13 | } |
| 14 | |
| 15 | // Main message |
| 16 | message Manifest { |
| 17 | // List of images for the local registry |
| 18 | repeated Image images = 1; |
| 19 | } |