0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-27 23:01:43 -05:00
zot/pkg/meta/proto/oci/manifest.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

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