Documentation
¶
Index ¶
- func CheckAuth(workspace string, apiKey string) (bool, error)
- func Detect(img *v1.Image, excludeSelf bool, workspace string, apiKey string) (*[]types.Image, int, error)
- func ForBaseImageInDb(digest digest.Digest, workspace string, apiKey string) (*[]types.Image, error)
- func ForBaseImageInGraphQL(cfg *v1.ConfigFile, excludeSelf bool) (*types.BaseImagesByDiffIdsQuery, error)
- func ForBaseImageInIndex(digest digest.Digest, workspace string, apiKey string) (*[]types.Image, error)
- func ForBaseImageWithoutCve(cve string, name string, img *v1.Image, workspace string, apiKey string) (*[]types.Image, error)
- func ForRepositoryInDb(repo string, workspace string, apiKey string) (*types.Repository, error)
- func QueryCves(sb *types.Sbom, cve string, workspace string, apiKey string) (*[]types.Cve, error)
- type CveResult
- type ImageQueryResult
- type QueryResult
- type RepositoryQueryResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForBaseImageInDb ¶ added in v0.0.7
func ForBaseImageInDb(digest digest.Digest, workspace string, apiKey string) (*[]types.Image, error)
ForBaseImageInDb returns images with matching digest in :docker.image/blob-digest or :docker.image/diff-chain-id
func ForBaseImageInGraphQL ¶ added in v0.0.11
func ForBaseImageInGraphQL(cfg *v1.ConfigFile, excludeSelf bool) (*types.BaseImagesByDiffIdsQuery, error)
func ForBaseImageInIndex ¶ added in v0.0.7
func ForBaseImageWithoutCve ¶ added in v0.0.7
func ForRepositoryInDb ¶ added in v0.0.7
Types ¶
type ImageQueryResult ¶ added in v0.0.7
type QueryResult ¶
type QueryResult struct { Query struct { Data []CveResult `edn:"data"` } `edn:"query"` }
type RepositoryQueryResult ¶ added in v0.0.7
type RepositoryQueryResult struct { Query struct { Data [][]types.Repository `edn:"data"` } `edn:"query"` }
Click to show internal directories.
Click to hide internal directories.