Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Resources []Image `json:"resources"` Repository Repository `json:"repository"` }
Data represents the actual data within the PushEvent.
type Image ¶
type Image struct { Digest string `json:"digest"` Tag string `json:"tag"` ResourceURL string `json:"resource_url"` }
Image represents the docker image.
type PushEvent ¶
type PushEvent struct { SpecVersion string `json:"specversion"` ID string `json:"id"` Source string `json:"source"` Type string `json:"type"` Time time.Time `json:"time"` DataContentType string `json:"datacontenttype"` Data Data `json:"data"` }
PushEvent represents the harbor push event with its metadata.
Click to show internal directories.
Click to hide internal directories.