Skip to content

Commit

Permalink
specs-go/v1: add annotations field to descriptor
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen J Day <stephen.day@docker.com>
  • Loading branch information
stevvooe committed Feb 3, 2017
1 parent eee8749 commit 9bdb5c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions specs-go/v1/descriptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 arbitray metadata relating to the targeted content.
Annotations map[string]string
}

0 comments on commit 9bdb5c5

Please sign in to comment.