Documentation
¶
Index ¶
Constants ¶
View Source
const ( APIEndpoint = "https://api.deps.dev/v3alpha/querycontainerimages/" // DigestSHA256EmptyTar is the canonical sha256 digest of empty tar file - // (1024 NULL bytes) DigestSHA256EmptyTar = digest.Digest("sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type DepsDevBaseImageMatcher ¶
type DepsDevBaseImageMatcher struct {
HTTPClient http.Client
Config ClientConfig
}
DepsDevBaseImageMatcher is an implementation of clientinterfaces.BaseImageMatcher that uses the deps.dev API to match base images.
It sends out requests for every package version and does not perform caching.
func (*DepsDevBaseImageMatcher) MatchBaseImages ¶
func (matcher *DepsDevBaseImageMatcher) MatchBaseImages(ctx context.Context, layerMetadata []models.LayerMetadata) ([][]models.BaseImageDetails, error)
Click to show internal directories.
Click to hide internal directories.