github.com/containerd/Containerd@v1.4.13/api/types/descriptor.proto (about) 1 syntax = "proto3"; 2 3 package containerd.types; 4 5 import weak "gogoproto/gogo.proto"; 6 7 option go_package = "github.com/containerd/containerd/api/types;types"; 8 9 // Descriptor describes a blob in a content store. 10 // 11 // This descriptor can be used to reference content from an 12 // oci descriptor found in a manifest. 13 // See https://godoc.org/github.com/opencontainers/image-spec/specs-go/v1#Descriptor 14 message Descriptor { 15 string media_type = 1; 16 string digest = 2 [(gogoproto.customtype) = "github.com/opencontainers/go-digest.Digest", (gogoproto.nullable) = false]; 17 int64 size = 3; 18 map<string, string> annotations = 5; 19 }