Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Docker ¶
Docker is a helper to manage container related actions within nwo.
func GetInstance ¶
GetInstance a Docker instance, returns nil and an error in case of a failure.
func (*Docker) CheckImagesExist ¶
CheckImagesExist returns an error if a given container images is not available, returns an error in case of a failure. It receives a list of container image names that are checked.
func (*Docker) Cleanup ¶
Cleanup is a helper function to release all container associated with `networkID`, returns an error in case of a failure. It removes all container that meet the condition of the `matchName` predicate function, removes the attached volumes, container images, the network.
func (*Docker) CreateNetwork ¶
CreateNetwork starts a docker network with the provided `networkID` as name, returns an error in case of a failure.