2020-06-26 14:09:10 -05:00
|
|
|
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
|
|
|
|
|
|
|
|
package search
|
|
|
|
|
2020-08-19 01:53:04 -05:00
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
2020-06-26 14:09:10 -05:00
|
|
|
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"`
|
|
|
|
}
|
|
|
|
|
2021-01-25 13:04:03 -05:00
|
|
|
type ImageInfo struct {
|
|
|
|
Name *string `json:"Name"`
|
|
|
|
Latest *string `json:"Latest"`
|
|
|
|
LastUpdated *time.Time `json:"LastUpdated"`
|
|
|
|
Description *string `json:"Description"`
|
|
|
|
Licenses *string `json:"Licenses"`
|
|
|
|
Vendor *string `json:"Vendor"`
|
|
|
|
Size *string `json:"Size"`
|
|
|
|
Labels *string `json:"Labels"`
|
|
|
|
}
|
|
|
|
|
2020-06-26 14:09:10 -05:00
|
|
|
type ImgResultForCve struct {
|
|
|
|
Name *string `json:"Name"`
|
|
|
|
Tags []*string `json:"Tags"`
|
|
|
|
}
|
|
|
|
|
2021-05-26 12:22:31 -05:00
|
|
|
type ImgResultForDigest struct {
|
|
|
|
Name *string `json:"Name"`
|
|
|
|
Tags []*string `json:"Tags"`
|
|
|
|
}
|
|
|
|
|
2020-08-19 01:53:04 -05:00
|
|
|
type ImgResultForFixedCve struct {
|
|
|
|
Tags []*TagInfo `json:"Tags"`
|
|
|
|
}
|
|
|
|
|
2020-06-26 14:09:10 -05:00
|
|
|
type PackageInfo struct {
|
|
|
|
Name *string `json:"Name"`
|
|
|
|
InstalledVersion *string `json:"InstalledVersion"`
|
|
|
|
FixedVersion *string `json:"FixedVersion"`
|
|
|
|
}
|
2020-08-19 01:53:04 -05:00
|
|
|
|
|
|
|
type TagInfo struct {
|
|
|
|
Name *string `json:"Name"`
|
2021-01-25 13:04:03 -05:00
|
|
|
Digest *string `json:"Digest"`
|
2020-08-19 01:53:04 -05:00
|
|
|
Timestamp *time.Time `json:"Timestamp"`
|
|
|
|
}
|