container

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

README

Docker

Docker Object for smartcontract

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFailedPullImage = errors.New("failed to pull image")

Functions

func GetAvailablePort added in v0.4.4

func GetAvailablePort() (string, error)

Types

type DockerContainer

type DockerContainer struct {
	ID     tesseract.ContainerID
	Client *rpc.ClientStream
	Config tesseract.ContainerConfig
}

func Create

func (DockerContainer) Close

func (d DockerContainer) Close() error

close docker container

func (DockerContainer) GetID added in v0.2.3

func (d DockerContainer) GetID() string

func (DockerContainer) Request

func (d DockerContainer) Request(req tesseract.Request, callback tesseract.CallBack) error

send request

Jump to

Keyboard shortcuts

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