runtime

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 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