Documentation ¶
Index ¶
- func IsMaxRetries(err error) bool
- func KillContainer(containerName string) error
- func OrStrings(strs ...string) string
- func PullImage(imageName string) error
- func Retry(fn Func, maxRetries int) error
- func RunContainer(containerName string, imageName string, exposedPorts nat.PortSet, ...) error
- type Func
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsMaxRetries ¶
IsMaxRetries checks whether the error is due to hitting the maximum number of retries or not.
func KillContainer ¶ added in v0.2.0
KillContainer stops and removes specified container.
func PullImage ¶ added in v0.2.0
PullImage pulls an image from docker hub if image is not available or not up to date.
Types ¶
Click to show internal directories.
Click to hide internal directories.