Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerGenericRegistry ¶
type DockerGenericRegistry struct { Auth RegistryAuth WebClient httpclient.HTTPClient }
DockerGenericRegistry is the main implementation of the Registry interface. It supports any v2 Registry API such as DockerHub, GHCR, etc.
func (DockerGenericRegistry) Digest ¶
func (dgr DockerGenericRegistry) Digest(image dockerimage.Image) (string, error)
Digest retrieves the digest of the provided docker image from the registry
type Registry ¶
type Registry interface {
Digest(image dockerimage.Image) (string, error)
}
Registry is an interface to any Registry-specific metadata retriever (e.g. to retrieve Docker images metadatas)
type RegistryAuth ¶
RegistryAuth holds the authentication element of a given registry
type RegistryEndpoints ¶
RegistryEndpoints holds the URL endpoints for a given registry
Click to show internal directories.
Click to hide internal directories.