imageload

package
v0.18.13 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	ID() string
	Loader(context.Context) (*Loader, error)
}

func GetBackend

func GetBackend(name string) (Backend, error)

type Containerd

type Containerd struct{}

func (Containerd) ID

func (Containerd) ID() string

func (Containerd) Loader

func (loader Containerd) Loader(ctx context.Context) (_ *Loader, rerr error)

type Docker

type Docker struct{}

func (Docker) ID

func (Docker) ID() string

func (Docker) Loader

func (loader Docker) Loader(ctx context.Context) (_ *Loader, rerr error)

type Loader

type Loader struct {
	ID string

	TarballLoader TarballLoader

	ContentStore content.Store
	ImagesStore  images.Store
	LeaseManager leases.Manager
	// contains filtered or unexported fields
}

func (*Loader) Close

func (loader *Loader) Close() error

type TarballLoader

type TarballLoader func(ctx context.Context, name string, tarball io.Reader) error

Jump to

Keyboard shortcuts

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