Documentation ¶
Index ¶
- Constants
- type ClairClient
- func (c *ClairClient) Connect() error
- func (c *ClairClient) GetIndexManifestStatus(hash string) (string, error)
- func (c *ClairClient) GetVulnerabilityReport(hash string) (*apiclair.VulnerabilityReport, error)
- func (c *ClairClient) IndexManifest(manifest *schema2.DeserializedManifest, ...) (string, error)
Constants ¶
View Source
const IndexStatusFinished = "IndexFinished"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClairClient ¶
type ClairClient struct {
// contains filtered or unexported fields
}
func (*ClairClient) Connect ¶
func (c *ClairClient) Connect() error
func (*ClairClient) GetIndexManifestStatus ¶
func (c *ClairClient) GetIndexManifestStatus(hash string) (string, error)
func (*ClairClient) GetVulnerabilityReport ¶
func (c *ClairClient) GetVulnerabilityReport(hash string) (*apiclair.VulnerabilityReport, error)
func (*ClairClient) IndexManifest ¶
func (c *ClairClient) IndexManifest( manifest *schema2.DeserializedManifest, imageIdentifiers *docker.ImageIdentifiers, dockerRegistry string, dockerAuthToken string, ) (string, error)
Click to show internal directories.
Click to hide internal directories.