containerd

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 32 Imported by: 3

Documentation

Index

Constants

Variables

This section is empty.

Functions

func NewDaemonProvider added in v0.0.2

func NewDaemonProvider(tmpDirGen *file.TempDirGenerator, registryOptions image.RegistryOptions, namespace string, imageStr string, platform *image.Platform) image.Provider

NewDaemonProvider creates a new provider instance for a specific image that will later be cached to the given directory.

Types

type LayerID

type LayerID string

type PullStatus

type PullStatus struct {
	// contains filtered or unexported fields
}

func (*PullStatus) Complete

func (ps *PullStatus) Complete() bool

func (*PullStatus) Current

func (ps *PullStatus) Current(layer LayerID) progress.Progressable

func (*PullStatus) Layers

func (ps *PullStatus) Layers() []LayerID

type StatusInfoStatus

type StatusInfoStatus string

StatusInfoStatus describes status info for an upload or download.

const (
	StatusResolved    StatusInfoStatus = "resolved"
	StatusResolving   StatusInfoStatus = "resolving"
	StatusWaiting     StatusInfoStatus = "waiting"
	StatusCommitting  StatusInfoStatus = "committing"
	StatusDone        StatusInfoStatus = "done"
	StatusDownloading StatusInfoStatus = "downloading"
	StatusUploading   StatusInfoStatus = "uploading"
	StatusExists      StatusInfoStatus = "exists"
)

Jump to

Keyboard shortcuts

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