Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClairResponse ¶
type Request ¶
type Request struct {
Registries []RequestRegistry `json:"registries"`
}
For scan requests
type RequestRegistry ¶
type RequestRegistry struct { Name string `json:"name"` Repositories []RequestRepository `json:"repositories"` }
type RequestRepository ¶
type RequestResponse ¶
type RequestResponse struct {
ImageScanRequestName string `json:"imageScanRequestName"`
}
type ResultResponse ¶
type ResultResponse map[string][]reg.Vulnerability
For scan responses
func GetScanResult ¶
func GetScanResult(img *image.Image) (ResultResponse, error)
Click to show internal directories.
Click to hide internal directories.