containerd

package
v0.0.0-...-0ea8511 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (containerRuntime.Runner, error)

New returns an instantiated container runtime for Docker.

Types

type ContainerD

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

ContainerD is a container runtime powered by the ContainerD SDK.

func (*ContainerD) Run

func (c *ContainerD) Run(ctx context.Context, workloadDir, cmd string) (string, error)

Run implements containerRuntime.Runner.

Jump to

Keyboard shortcuts

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