mirror of
https://github.com/project-zot/zot.git
synced 2024-12-23 22:27:35 -05:00
37d150e32f
DetailedRepoInfo graphql api returns detailed repo info given repo name repo contains its manifests info Each manifest entry contains digest,signed, tag and layers info Each layer info containes digest, size Signed-off-by: Shivam Mishra <shimish2@cisco.com>
73 lines
1.7 KiB
Go
73 lines
1.7 KiB
Go
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
|
|
|
|
package search
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
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"`
|
|
}
|
|
|
|
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"`
|
|
}
|
|
|
|
type ImgResultForCve struct {
|
|
Name *string `json:"Name"`
|
|
Tags []*string `json:"Tags"`
|
|
}
|
|
|
|
type ImgResultForDigest struct {
|
|
Name *string `json:"Name"`
|
|
Tags []*string `json:"Tags"`
|
|
}
|
|
|
|
type ImgResultForFixedCve struct {
|
|
Tags []*TagInfo `json:"Tags"`
|
|
}
|
|
|
|
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"`
|
|
}
|
|
|
|
type PackageInfo struct {
|
|
Name *string `json:"Name"`
|
|
InstalledVersion *string `json:"InstalledVersion"`
|
|
FixedVersion *string `json:"FixedVersion"`
|
|
}
|
|
|
|
type RepoInfo struct {
|
|
Manifests []*ManifestInfo `json:"Manifests"`
|
|
}
|
|
|
|
type TagInfo struct {
|
|
Name *string `json:"Name"`
|
|
Digest *string `json:"Digest"`
|
|
Timestamp *time.Time `json:"Timestamp"`
|
|
}
|