Add configurable layers in manifest events
Signed-off-by: Andrew Leung <anwleung@gmail.com>
This commit is contained in:
parent
749f6afb45
commit
276fdce3d9
9 changed files with 66 additions and 18 deletions
|
@ -71,6 +71,9 @@ type Event struct {
|
|||
|
||||
// Tag provides the tag
|
||||
Tag string `json:"tag,omitempty"`
|
||||
|
||||
// Layers provides the layers descriptors.
|
||||
Layers []distribution.Descriptor `json:"layers,omitempty"`
|
||||
} `json:"target,omitempty"`
|
||||
|
||||
// Request covers the request that generated the event.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue