containers

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 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 ContainerRuntime

type ContainerRuntime interface {
	CopyResources(ctx context.Context, image string, files map[string]string) error

	image.Runtime
}

func NewContainerRuntime

func NewContainerRuntime(endpoint, cgroupDriver string) (ContainerRuntime, error)

type ContainerRuntimeImpl

type ContainerRuntimeImpl struct {
	*image.RuntimeImpl
	// contains filtered or unexported fields
}

func (*ContainerRuntimeImpl) CopyResources

func (runtime *ContainerRuntimeImpl) CopyResources(
	ctx context.Context,
	image string,
	files map[string]string,
) error

CopyResources copies binary and configuration file from the image to the host. The same way as func (runtime *DockerRuntime) CopyResources

Jump to

Keyboard shortcuts

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