mirror of
https://github.com/project-zot/zot.git
synced 2025-01-27 23:01:43 -05:00
56ad9e6707
Use protocol buffers and update the metadb interface to better suit our search needs Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com> Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com> Co-authored-by: Ramkumar Chinchani <rchincha@cisco.com>
17 lines
No EOL
481 B
Protocol Buffer
17 lines
No EOL
481 B
Protocol Buffer
syntax = "proto3";
|
|
package oci_v1;
|
|
|
|
import "oci/descriptor.proto";
|
|
import "oci/versioned.proto";
|
|
|
|
// https://github.com/opencontainers/image-spec/blob/main/specs-go/v1/manifest.go
|
|
|
|
message Manifest {
|
|
Versioned Versioned = 1;
|
|
optional string MediaType = 2;
|
|
optional string ArtifactType = 3;
|
|
Descriptor Config = 4;
|
|
repeated Descriptor Layers = 5;
|
|
optional Descriptor Subject = 6;
|
|
map<string,string> Annotations = 7;
|
|
} |