Versions in this module Expand all Collapse all v0 v0.15.15 Oct 9, 2023 Changes in this version + var ErrNotFound = errors.New("not found") + var ErrUnauthorized = errors.New("unauthorized") + type Authorization struct + Basic *UsernameAndPassword + type Client struct + func NewClient(baseURL string, authorization Authorization) (*Client, error) + func (c *Client) Images() ImagesInterface + func (c *Client) Registries() RegistriesInterface + type Clientset interface + Images func() ImagesInterface + Registries func() RegistriesInterface + type Images struct + func (i *Images) Vulnerabilities(registry, repo, tag string) (VulnerabilitiesResponse, error) + type ImagesInterface interface + Vulnerabilities func(registry, repo, tag string) (VulnerabilitiesResponse, error) + type Registries struct + func (r *Registries) List() ([]RegistryResponse, error) + type RegistriesInterface interface + List func() ([]RegistryResponse, error) + type RegistryResponse struct + Description string + Name string + Prefixes []string + Type string + URL string + type Resource struct + Format string + Name string + Path string + Type string + Version string + type UsernameAndPassword struct + Password string + Username string + type VulnerabilitiesResponse struct + Count int + Results []VulnerabilitiesResponseResult + type VulnerabilitiesResponseResult struct + Description string + FixVersion string + ImageRepositoryName string + KhulnasoftScoringSystem string + KhulnasoftSeverity string + KhulnasoftVectors string + Name string + Registry string + Resource Resource