Documentation ¶
Overview ¶
Package docker provides an interface to work with Docker containers.
Index ¶
- func Exec(r runners.Runner, c *resources.AppConfig, cmd string) (string, error)
- func GetLogs(r runners.Runner, c *resources.AppConfig, sinceRelMins uint) (string, error)
- func ImageExists(r runners.Runner, dockerImage string) (bool, error)
- func ListContainers(r runners.Runner, clonePool string) ([]string, error)
- func PullImage(r runners.Runner, dockerImage string) error
- func RemoveContainer(r runners.Runner, cloneName string) (string, error)
- func RunContainer(r runners.Runner, c *resources.AppConfig) error
- func StopContainer(r runners.Runner, c *resources.AppConfig) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageExists ¶
ImageExists checks existence of Docker image.
func ListContainers ¶
ListContainers lists containers.
func RemoveContainer ¶
RemoveContainer removes specified container.
func RunContainer ¶
RunContainer runs specified container.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.