package
Version:
v0.0.0-...-e5e3d13
Opens a new window with list of versions in this module.
Published: Oct 24, 2019
License: AGPL-3.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
FullScan does a full scan of all the images in the registry and imports them
func ProcessEvents(events []Event)
ProcessEvents takes an events array and process all the events of type "push"
type Event struct {
ID string `json:"id"`
Timestamp time.Time `json:"timestamp"`
Action string `json:"action"`
Target Target `json:"target"`
}
type Events struct {
Events []Event `json:"events"`
}
type Target struct {
MediaType string `json:"mediaType"`
Size int `json:"size"`
Digest string `json:"digest"`
Length int `json:"length"`
Repository string `json:"repository"`
URL string `json:"url"`
Tag string `json:"tag"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.