mirror of
https://github.com/project-zot/zot.git
synced 2025-02-17 23:45:36 -05:00
23 lines
620 B
Protocol Buffer
23 lines
620 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
package oci_v1;
|
||
|
|
||
|
// https://github.com/opencontainers/image-spec/blob/main/specs-go/v1/descriptor.go
|
||
|
|
||
|
message Descriptor {
|
||
|
string MediaType = 1;
|
||
|
string Digest = 2;
|
||
|
int64 Size = 3;
|
||
|
repeated string URLs = 4;
|
||
|
bytes Data = 5;
|
||
|
optional Platform Platform = 6;
|
||
|
optional string ArtifactType = 7;
|
||
|
map <string,string> Annotations = 8;
|
||
|
}
|
||
|
|
||
|
message Platform {
|
||
|
string Architecture = 1;
|
||
|
string OS = 2;
|
||
|
optional string OSVersion = 3;
|
||
|
repeated string OSFeatures = 4;
|
||
|
optional string Variant = 5;
|
||
|
}
|