container

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2018 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

This section is empty.

Types

type DockerContainer

type DockerContainer struct {
	ID     tesseract.ContainerID
	Client *rpc.ClientStream
	Port   string
}

func Create

func NewDockerContainer

func NewDockerContainer(id tesseract.ContainerID, client *rpc.ClientStream, port string) DockerContainer

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