From 632f7ff2111ab54d4837fbdd7bf9e0c08673142b Mon Sep 17 00:00:00 2001 From: Qian Zhang Date: Mon, 13 Feb 2017 17:01:21 +0800 Subject: [PATCH] spec-go: Add "Annotations" field to Descriptor. Signed-off-by: Qian Zhang --- specs-go/v1/descriptor.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specs-go/v1/descriptor.go b/specs-go/v1/descriptor.go index 0e081eb0d..20518f5d0 100644 --- a/specs-go/v1/descriptor.go +++ b/specs-go/v1/descriptor.go @@ -30,4 +30,7 @@ type Descriptor struct { // URLs specifies a list of URLs from which this object MAY be downloaded URLs []string `json:"urls,omitempty"` + + // Annotations contains arbitrary metadata for the descriptor. + Annotations map[string]string `json:"annotations,omitempty"` }