mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
Implement a way to search for an image by manifest, config or layer digest
``` Usage: zot images [config-name] [flags] Flags: -d, --digest string List images containing a specific manifest, config, or layer digest [...] ```
This commit is contained in:
committed by
Ramkumar Chinchani
parent
97628e69c9
commit
519ea75d9a
@@ -28,6 +28,11 @@ type ImgResultForFixedCVE {
|
||||
Tags: [TagInfo]
|
||||
}
|
||||
|
||||
type ImgResultForDigest {
|
||||
Name: String
|
||||
Tags: [String]
|
||||
}
|
||||
|
||||
type TagInfo {
|
||||
Name: String
|
||||
Timestamp: Time
|
||||
@@ -37,4 +42,5 @@ type Query {
|
||||
CVEListForImage(image: String!) :CVEResultForImage
|
||||
ImageListForCVE(id: String!) :[ImgResultForCVE]
|
||||
ImageListWithCVEFixed(id: String!, image: String!) :ImgResultForFixedCVE
|
||||
ImageListForDigest(id: String!) :[ImgResultForDigest]
|
||||
}
|
||||
Reference in New Issue
Block a user