mirror of
https://github.com/project-zot/zot.git
synced 2024-12-23 22:27:35 -05:00
40 lines
879 B
Go
40 lines
879 B
Go
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
|
|
|
|
package search
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Cve struct {
|
|
ID *string `json:"Id"`
|
|
Title *string `json:"Title"`
|
|
Description *string `json:"Description"`
|
|
Severity *string `json:"Severity"`
|
|
PackageList []*PackageInfo `json:"PackageList"`
|
|
}
|
|
|
|
type CVEResultForImage struct {
|
|
Tag *string `json:"Tag"`
|
|
CVEList []*Cve `json:"CVEList"`
|
|
}
|
|
|
|
type ImgResultForCve struct {
|
|
Name *string `json:"Name"`
|
|
Tags []*string `json:"Tags"`
|
|
}
|
|
|
|
type ImgResultForFixedCve struct {
|
|
Tags []*TagInfo `json:"Tags"`
|
|
}
|
|
|
|
type PackageInfo struct {
|
|
Name *string `json:"Name"`
|
|
InstalledVersion *string `json:"InstalledVersion"`
|
|
FixedVersion *string `json:"FixedVersion"`
|
|
}
|
|
|
|
type TagInfo struct {
|
|
Name *string `json:"Name"`
|
|
Timestamp *time.Time `json:"Timestamp"`
|
|
}
|