docker

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToSlashedPath added in v0.3.0

func ConvertToSlashedPath(srcPath string) string

func CreateContainer added in v0.2.0

func CreateContainer(containerImage tesseract.ContainerImage, srcPath string, destPath string, port string) (container.ContainerCreateCreatedBody, error)

func GetHostIpAddress added in v0.3.0

func GetHostIpAddress() string

func GetPorts added in v0.2.2

func GetPorts() ([]types.Port, error)

todo : create test case

func HasImage

func HasImage(name string) (bool, error)

func IsContainerExist added in v0.3.0

func IsContainerExist(name string) bool

func KillContainer added in v0.2.2

func KillContainer(id string) error

func MakeICodeLogDir added in v0.3.0

func MakeICodeLogDir(logDirPath string) error

func PullImage

func PullImage(imageName string) error

func RemoveContainer added in v0.2.2

func RemoveContainer(id string) error

func StartContainer

func StartContainer(containerBody container.ContainerCreateCreatedBody) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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