Versions in this module Expand all Collapse all v0 v0.0.2 Apr 23, 2024 Changes in this version + const Archive + const Daemon + func NewAPIClientProvider(name string, tmpDirGen *file.TempDirGenerator, imageStr string, ...) image.Provider + func NewArchiveProvider(tmpDirGen *file.TempDirGenerator, path string, ...) image.Provider + func NewDaemonProvider(tmpDirGen *file.TempDirGenerator, imageStr string, platform *image.Platform) image.Provider v0.0.1 Jan 31, 2024 Changes in this version + var ErrMultipleManifests = fmt.Errorf("cannot process multiple docker manifests") + type DaemonImageProvider struct + func NewProviderFromDaemon(imgStr string, tmpDirGen *file.TempDirGenerator, c client.APIClient, ...) (*DaemonImageProvider, error) + func (p *DaemonImageProvider) Provide(ctx context.Context, userMetadata ...image.AdditionalMetadata) (*image.Image, error) + type LayerID string + type LayerState struct + DownloadProgress progress.Progressable + Phase PullPhase + PhaseProgress progress.Progressable + type PullPhase int + const AlreadyExistsPhase + const DownloadCompletePhase + const DownloadingPhase + const ExtractingPhase + const PullCompletePhase + const PullingFsPhase + const UnknownPhase + const VerifyingChecksumPhase + const WaitingPhase + type PullStatus struct + func (p *PullStatus) Complete() bool + func (p *PullStatus) Current(layer LayerID) LayerState + func (p *PullStatus) Layers() []LayerID + type TarballImageProvider struct + func NewProviderFromTarball(path string, tmpDirGen *file.TempDirGenerator) *TarballImageProvider + func (p *TarballImageProvider) Provide(_ context.Context, userMetadata ...image.AdditionalMetadata) (*image.Image, error)