2020-06-26 12:09:10 -07:00
|
|
|
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
|
|
|
|
|
2022-07-15 11:10:51 +00:00
|
|
|
package gql_generated
|
2020-06-26 12:09:10 -07:00
|
|
|
|
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"`
|
|
|
|
}
|
|
|
|
|
2022-07-12 15:58:04 +03:00
|
|
|
type GlobalSearchResult struct {
|
|
|
|
Images []*ImageSummary `json:"Images"`
|
|
|
|
Repos []*RepoSummary `json:"Repos"`
|
|
|
|
Layers []*LayerSummary `json:"Layers"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ImageSummary struct {
|
2022-01-19 17:57:10 +02:00
|
|
|
RepoName *string `json:"RepoName"`
|
|
|
|
Tag *string `json:"Tag"`
|
|
|
|
Digest *string `json:"Digest"`
|
|
|
|
ConfigDigest *string `json:"ConfigDigest"`
|
|
|
|
LastUpdated *time.Time `json:"LastUpdated"`
|
|
|
|
IsSigned *bool `json:"IsSigned"`
|
|
|
|
Size *string `json:"Size"`
|
|
|
|
Platform *OsArch `json:"Platform"`
|
|
|
|
Vendor *string `json:"Vendor"`
|
|
|
|
Score *int `json:"Score"`
|
|
|
|
DownloadCount *int `json:"DownloadCount"`
|
|
|
|
Layers []*LayerSummary `json:"Layers"`
|
|
|
|
Description *string `json:"Description"`
|
|
|
|
Licenses *string `json:"Licenses"`
|
|
|
|
Labels *string `json:"Labels"`
|
2022-02-02 02:02:05 +00:00
|
|
|
}
|
|
|
|
|
2022-07-12 15:58:04 +03:00
|
|
|
type LayerSummary struct {
|
|
|
|
Size *string `json:"Size"`
|
|
|
|
Digest *string `json:"Digest"`
|
|
|
|
Score *int `json:"Score"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type OsArch struct {
|
|
|
|
Os *string `json:"Os"`
|
|
|
|
Arch *string `json:"Arch"`
|
|
|
|
}
|
|
|
|
|
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 {
|
2022-01-19 17:57:10 +02:00
|
|
|
Images []*ImageSummary `json:"Images"`
|
|
|
|
Summary *RepoSummary `json:"Summary"`
|
2022-02-02 02:02:05 +00:00
|
|
|
}
|
|
|
|
|
2022-07-12 15:58:04 +03:00
|
|
|
type RepoSummary struct {
|
2022-01-19 17:57:10 +02:00
|
|
|
Name *string `json:"Name"`
|
|
|
|
LastUpdated *time.Time `json:"LastUpdated"`
|
|
|
|
Size *string `json:"Size"`
|
|
|
|
Platforms []*OsArch `json:"Platforms"`
|
|
|
|
Vendors []*string `json:"Vendors"`
|
|
|
|
Score *int `json:"Score"`
|
|
|
|
NewestImage *ImageSummary `json:"NewestImage"`
|
|
|
|
DownloadCount *int `json:"DownloadCount"`
|
|
|
|
StarCount *int `json:"StarCount"`
|
|
|
|
IsBookmarked *bool `json:"IsBookmarked"`
|
2020-08-18 23:53:04 -07:00
|
|
|
}
|