containerexec

package
v0.2.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine interface {
	// RunContainer runs a container
	RunContainer(image string, cmd string, volsrc string, voldest string) (output string, containerStarted bool, err error)
	// InspectImage gets Inspect output for a container
	InspectImage(image string) (types.ImageInspect, error)
}

Engine defines interface to manage containers

func GetEngine

func GetEngine() Engine

GetEngine gets a working container engine

Jump to

Keyboard shortcuts

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