2020-06-26 12:09:10 -07:00
|
|
|
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
|
|
|
|
|
|
|
|
package search
|
|
|
|
|
2020-08-18 23:53:04 -07:00
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
2020-06-26 12:09:10 -07: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 10:04:03 -08: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 12:09:10 -07:00
|
|
|
type ImgResultForCve struct {
|
|
|
|
Name *string `json:"Name"`
|
|
|
|
Tags []*string `json:"Tags"`
|
|
|
|
}
|
|
|
|
|
2021-05-26 20:22:31 +03:00
|
|
|
type ImgResultForDigest struct {
|
|
|
|
Name *string `json:"Name"`
|
|
|
|
Tags []*string `json:"Tags"`
|
|
|
|
}
|
|
|
|
|
2020-08-18 23:53:04 -07:00
|
|
|
type ImgResultForFixedCve struct {
|
|
|
|
Tags []*TagInfo `json:"Tags"`
|
|
|
|
}
|
|
|
|
|
2022-02-02 02:02:05 +00:00
|
|
|
type LayerInfo struct {
|
|
|
|
Size *string `json:"Size"`
|
|
|
|
Digest *string `json:"Digest"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ManifestInfo struct {
|
|
|
|
Digest *string `json:"Digest"`
|
|
|
|
Tag *string `json:"Tag"`
|
|
|
|
IsSigned *bool `json:"IsSigned"`
|
|
|
|
Layers []*LayerInfo `json:"Layers"`
|
|
|
|
}
|
|
|
|
|
2020-06-26 12:09:10 -07:00
|
|
|
type PackageInfo struct {
|
|
|
|
Name *string `json:"Name"`
|
|
|
|
InstalledVersion *string `json:"InstalledVersion"`
|
|
|
|
FixedVersion *string `json:"FixedVersion"`
|
|
|
|
}
|
2020-08-18 23:53:04 -07:00
|
|
|
|
2022-02-02 02:02:05 +00:00
|
|
|
type RepoInfo struct {
|
|
|
|
Manifests []*ManifestInfo `json:"Manifests"`
|
|
|
|
}
|
|
|
|
|
2020-08-18 23:53:04 -07:00
|
|
|
type TagInfo struct {
|
|
|
|
Name *string `json:"Name"`
|
2021-01-25 10:04:03 -08:00
|
|
|
Digest *string `json:"Digest"`
|
2020-08-18 23:53:04 -07:00
|
|
|
Timestamp *time.Time `json:"Timestamp"`
|
|
|
|
}
|