Discover Packages
github.com/AlexGustafsson/cupdate
internal
models
package
Version:
v0.14.1
Opens a new window with list of versions in this module.
Published: Jan 7, 2025
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
const (
EventTypeImageUpdated EventType = "imageUpdated"
)
type GraphNode struct {
Domain string `json:"domain"`
Type string `json:"type"`
Name string `json:"name"`
}
type Image struct {
Reference string `json:"reference"`
Created *time .Time `json:"created,omitempty"`
LatestReference string `json:"latestReference,omitempty"`
LatestCreated *time .Time `json:"latestCreated,omitempty"`
VersionDiffSortable uint64 `json:"-"`
Description string `json:"description,omitempty"`
Tags []string `json:"tags"`
Links []ImageLink `json:"links"`
Vulnerabilities []ImageVulnerability `json:"vulnerabilities"`
LastModified time .Time `json:"lastModified"`
Image string `json:"image,omitempty"`
}
type ImageDescription struct {
HTML string `json:"html,omitempty"`
Markdown string `json:"markdown,omitempty"`
}
type ImageEvent struct {
Reference string `json:"reference"`
Type EventType `json:"type"`
}
type ImageLink struct {
Type string `json:"type"`
URL string `json:"url"`
}
type ImagePageSummary struct {
Images int `json:"images"`
Outdated int `json:"outdated"`
Vulnerable int `json:"vulnerable"`
Processing int `json:"processing"`
}
type ImageReleaseNotes struct {
Title string `json:"title"`
HTML string `json:"html,omitempty"`
Markdown string `json:"markdown,omitempty"`
Released time .Time `json:"released,omitempty"`
}
type ImageVulnerability struct {
ID int `json:"id"`
Severity string `json:"severity"`
Authority string `json:"authority"`
Description string `json:"description,omitempty"`
Links []string `json:"links"`
}
type PaginationMetadata struct {
}
type RawImage struct {
Reference string `json:"reference"`
Tags []string `json:"tags"`
Graph Graph `json:"graph"`
LastProcessed time .Time `json:"lastProcessed,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.