Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerRunningByImageName ¶
ContainerRunningByImageName returns true if a container, built on the given image, is running
func EnsureDockerInit ¶
func EnsureDockerInit()
EnsureDockerInit ensures that the Docker client is properly initialized
func ImagePull ¶
ImagePull pulls the image corresponding to th given name and wait for the download to be completed.
The completion of the download will be notified using the chanel
func StartContainer ¶
func StartContainer(url string, imageName string, done chan bool, ef util.ExchangeFolder, action action.ActionID)
StartContainer builds or updates a container base on the provided image name Once built the container will be started. The method will wait until the container is started and will notify it using the chanel
func StopContainerById ¶
stopContainerById stops a container corresponding to the provider id
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.