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"`
|
|
|
|
}
|
|
|
|
|
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"`
|
|
|
|
}
|
|
|
|
|
2022-02-01 21:02:05 -05: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 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"`
|
|
|
|
}
|
|
|
|
|
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"`
|
|
|
|
}
|