2020-06-26 14:09:10 -05:00
|
|
|
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
|
|
|
|
|
2022-07-15 06:10:51 -05:00
|
|
|
package gql_generated
|
2020-06-26 14:09:10 -05:00
|
|
|
|
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"`
|
|
|
|
}
|
|
|
|
|
2022-07-12 07:58:04 -05:00
|
|
|
type GlobalSearchResult struct {
|
|
|
|
Images []*ImageSummary `json:"Images"`
|
|
|
|
Repos []*RepoSummary `json:"Repos"`
|
|
|
|
Layers []*LayerSummary `json:"Layers"`
|
|
|
|
}
|
|
|
|
|
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"`
|
|
|
|
}
|
|
|
|
|
2022-07-12 07:58:04 -05:00
|
|
|
type ImageSummary struct {
|
|
|
|
RepoName *string `json:"RepoName"`
|
|
|
|
Tag *string `json:"Tag"`
|
|
|
|
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"`
|
|
|
|
}
|
|
|
|
|
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"`
|
|
|
|
}
|
|
|
|
|
2022-02-01 21:02:05 -05:00
|
|
|
type LayerInfo struct {
|
|
|
|
Size *string `json:"Size"`
|
|
|
|
Digest *string `json:"Digest"`
|
|
|
|
}
|
|
|
|
|
2022-07-12 07:58:04 -05:00
|
|
|
type LayerSummary struct {
|
|
|
|
Size *string `json:"Size"`
|
|
|
|
Digest *string `json:"Digest"`
|
|
|
|
Score *int `json:"Score"`
|
|
|
|
}
|
|
|
|
|
2022-02-01 21:02:05 -05:00
|
|
|
type ManifestInfo struct {
|
|
|
|
Digest *string `json:"Digest"`
|
|
|
|
Tag *string `json:"Tag"`
|
|
|
|
IsSigned *bool `json:"IsSigned"`
|
|
|
|
Layers []*LayerInfo `json:"Layers"`
|
|
|
|
}
|
|
|
|
|
2022-07-12 07:58:04 -05:00
|
|
|
type OsArch struct {
|
|
|
|
Os *string `json:"Os"`
|
|
|
|
Arch *string `json:"Arch"`
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2022-02-01 21:02:05 -05:00
|
|
|
type RepoInfo struct {
|
|
|
|
Manifests []*ManifestInfo `json:"Manifests"`
|
|
|
|
}
|
|
|
|
|
2022-07-12 07:58:04 -05:00
|
|
|
type RepoSummary struct {
|
2022-07-22 15:01:38 -05: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"`
|
|
|
|
NewestTag *ImageSummary `json:"NewestTag"`
|
2022-07-12 07:58:04 -05:00
|
|
|
}
|
|
|
|
|
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"`
|
|
|
|
}
|