dockerlike

package
v0.0.0-...-2e41640 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerRunner

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

func New

func New(runner string) *DockerRunner

func NewDefault

func NewDefault() *DockerRunner

func (*DockerRunner) Pull

func (dr *DockerRunner) Pull(image string) error

func (*DockerRunner) RemoveImage

func (dr *DockerRunner) RemoveImage(image string) error

func (*DockerRunner) SaveImage

func (dr *DockerRunner) SaveImage(image string, filePath string) error

func (*DockerRunner) SaveImageTemp

func (dr *DockerRunner) SaveImageTemp(image string) (string, error)

type DockerRunnerInterface

type DockerRunnerInterface interface {
	Pull(image string) error
	SaveImage(image, filepath string) error
	SaveImageTemp(image string) (string, error)
	RemoveImage(image string) error
}

Jump to

Keyboard shortcuts

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