clair

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL