mirror of
https://github.com/project-zot/zot.git
synced 2025-01-13 22:50:38 -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>
16 lines
No EOL
435 B
Protocol Buffer
16 lines
No EOL
435 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/index.go
|
|
|
|
message Index {
|
|
Versioned Versioned = 1;
|
|
optional string MediaType = 2;
|
|
optional string ArtifactType = 3;
|
|
repeated Descriptor Manifests = 4;
|
|
optional Descriptor Subject = 5;
|
|
map<string,string> Annotations = 6;
|
|
} |