docker

package
v0.0.0-...-470a87a Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2018 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pull

func Pull(ctx context.Context, progress bool, image string) error

func Run

func Run(
	ctx context.Context,
	image string,
	containerName string,
	env []string,
	volumes map[string]struct{},
	input interface{},
	preExitHandler ContainerRunHandler,
	postExitHandler ContainerRunHandler) *errors.Error

Types

type ContainerRunHandler

type ContainerRunHandler func(ctx context.Context, c container.ContainerCreateCreatedBody) error

func CreateJsonResultParser

func CreateJsonResultParser(path string, schema *assets.Schema, response interface{}) ContainerRunHandler

Jump to

Keyboard shortcuts

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