Documentation ¶
Index ¶
- func BuildAllImages(opts BaseOptions) error
- func BuildImage(opts ImageOptions) error
- func CreateNewContainer(opts ImageOptions) error
- func KillAllContainers(opts BaseOptions) error
- func KillContainer(opts ImageOptions) error
- func PullAllImages(opts BaseOptions) error
- func PullImage(opts ImageOptions) error
- func RestartContainer(opts ImageOptions) error
- func RunImages(opts ImagesOptions) (*execplus.CmdPlus, error)
- type BaseOptions
- type ImageOptions
- type ImagesOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAllImages ¶
func BuildAllImages(opts BaseOptions) error
BuildAllImages builds all the docker images defined in docker-compose.yml
func BuildImage ¶ added in v0.28.1
func BuildImage(opts ImageOptions) error
BuildImage builds the given docker image
func CreateNewContainer ¶
func CreateNewContainer(opts ImageOptions) error
CreateNewContainer creates a new docker container for the given service
func KillAllContainers ¶
func KillAllContainers(opts BaseOptions) error
KillAllContainers kills all the containers
func KillContainer ¶
func KillContainer(opts ImageOptions) error
KillContainer kills the docker container of the given service
func PullAllImages ¶
func PullAllImages(opts BaseOptions) error
PullAllImages pulls all the docker images defined in docker-compose.yml
func PullImage ¶ added in v0.28.1
func PullImage(opts ImageOptions) error
PullImage builds the given docker image
func RestartContainer ¶
func RestartContainer(opts ImageOptions) error
RestartContainer starts the docker container of the given service
Types ¶
type BaseOptions ¶
BaseOptions are the options passed into docker compose functions
Click to show internal directories.
Click to hide internal directories.