Documentation ¶
Overview ¶
Package repository is an implementation of Docker2ACIBackend for Docker remote registries.
Note: this package is an implementation detail and shouldn't be used outside of docker2aci.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepositoryBackend ¶
type RepositoryBackend struct {
// contains filtered or unexported fields
}
func NewRepositoryBackend ¶
func NewRepositoryBackend(username, password string, insecure common.InsecureConfig, debug log.Logger, mediaTypes common.MediaTypeSet, registryOptions common.RegistryOptionSet) *RepositoryBackend
func (*RepositoryBackend) BuildACI ¶
func (rb *RepositoryBackend) BuildACI(layerIDs []string, manhash string, dockerURL *common.ParsedDockerURL, outputDir string, tmpBaseDir string, compression common.Compression) ([]string, []*schema.ImageManifest, error)
func (*RepositoryBackend) GetImageInfo ¶
func (rb *RepositoryBackend) GetImageInfo(url string) ([]string, string, *common.ParsedDockerURL, error)
GetImageInfo, given the url for a docker image, will return the following: - []string: an ordered list of all layer hashes - string: a unique identifier for this image, like a hash of the manifest - *common.ParsedDockerURL: a parsed docker URL - error: an error if one occurred
Click to show internal directories.
Click to hide internal directories.