0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-13 22:50:38 -05:00
zot/pkg/meta/proto/oci/index.proto
LaurentiuNiculae 56ad9e6707
refactor(metadb): improve UX by speeding up metadb serialize/deserialize (#1842)
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>
2023-10-30 13:06:04 -07:00

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;
}