dockercompose

package
v1.0.0-alpha.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(verbose bool, projectName string, dockerComposeFile string, args ...string) (err error)

Build run docker-compose build with the given arguments

func Down

func Down(verbose bool, projectName string, dockerComposeFile string, args ...string) (err error)

Down run docker-compose down with the given arguments

func Exec

func Exec(verbose bool, projectName string, dockerComposeFile string, args ...string) (err error)

Exec run docker-compose exec with the given arguments

func GetContainers

func GetContainers(projectName string, dockerComposeFile string) (containers []string, err error)

GetContainers return the list of containers for the given project and docker-compose file

func List

func List(verbose bool, projectName string, dockerComposeFile string, args ...string) (err error)

List run docker-compose ps with the given arguments

func Start

func Start(verbose bool, projectName string, dockerComposeFile string, args ...string) (err error)

Start run docker-compose start with the given arguments

func Stop

func Stop(verbose bool, projectName string, dockerComposeFile string, args ...string) (err error)

Stop run docker-compose stop with the given arguments

func Up

func Up(verbose bool, projectName string, dockerComposeFile string, args ...string) (err error)

Up run docker-compose up with the given arguments

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL