docker

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2018 License: Apache-2.0 Imports: 18 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 CreateNetwork added in v0.4.0

func CreateNetwork(name string, subnet string) (tesseract.Network, error)

func CreateVolume added in v0.3.2

func CreateVolume(name string) (tesseract.Volume, error)

func FindNetworkByName added in v0.4.0

func FindNetworkByName(name string) (tesseract.Network, error)

func FindVolumeByName added in v0.3.2

func FindVolumeByName(name string) (tesseract.Volume, error)

func GetHostIpAddress added in v0.3.0

func GetHostIpAddress() string

func GetPorts added in v0.2.2

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

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 RemoveVolume added in v0.4.0

func RemoveVolume(name string, force bool) error

func StartContainer

func StartContainer(containerBody container.ContainerCreateCreatedBody) (types.ContainerJSON, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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