docker

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: 10 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 Docker

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

Docker is a container runtime powered by the Docker SDK.

func (*Docker) Run

func (d *Docker) 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