runtime

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinNerdctlVersion    = "2.1.3"
	MinContainerdVersion = "2.0.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Registry   string
	ConfigJSON string
}

type Runtime

type Runtime interface {
	Commit(ctx context.Context, containerID, image string, pause bool, message, author string) error
	ImageExists(ctx context.Context, image string) bool
	Pull(ctx context.Context, image string, auth *Auth, args ...string) error
	Push(ctx context.Context, image string, auth *Auth) error
}

func NewContainerdCompatibleRuntime added in v0.2.8

func NewContainerdCompatibleRuntime(cmd string, globalArgs ...string) (Runtime, error)

func NewDockerCompatibleRuntime

func NewDockerCompatibleRuntime(cmd string, globalArgs ...string) Runtime

Jump to

Keyboard shortcuts

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