Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Docker ¶
type Docker interface {
// Run can be called with the following to set environment variables and exposed ports
// Run("containerName","imagePath",[]string{"MONGO_HOST=172.0.0.1"}, []string{"8080/tcp","127.0.0.1"})
// This utilises portSpecTemplate and the expected format for port specifications "ip:hostPort:containerPort"
Run(name, imagePath string, envVars []string, hostconfig []string) (Container, error)
Pull(imagePath string) error
}
Click to show internal directories.
Click to hide internal directories.