package
0.20.0
Repository: https://github.com/drud/ddev.git
Documentation: pkg.go.dev

# Functions

CheckDockerCompose determines if docker-compose is present and executable on the host system.
CheckDockerVersion determines if the docker version of the host system meets the provided version constraints.
CheckForHTTPS determines if a container has the HTTPS_EXPOSE var set to route 443 traffic to 80.
ComposeCmd executes docker-compose commands via shell.
ComposeNoCapture executes a docker-compose command while leaving the stdin/stdout/stderr untouched so that people can interact with them directly, for example with ddev ssh.
ContainerName returns the containers human readable name.
ContainerWait provides a wait loop to check for container in "healthy" status.
EnsureDdevNetwork just creates or ensures the ddev_default network exists or exits with fatal.
EnsureNetwork will ensure the docker network for ddev is created.
FindContainerByLabels takes a map of label names and values and returns any docker containers which match all labels.
FindContainersByLabels takes a map of label names and values and returns any docker containers which match all labels.
GetAppContainers retrieves docker containers for a given sitename.
GetContainerEnv returns the value of a given environment variable from a given container.
GetContainerHealth retrieves the status of a given container.
GetDockerClient returns a docker client for a docker-machine.
GetDockerContainers returns a slice of all docker containers on the host system.
GetDockerIP returns either the default Docker IP address (127.0.0.1) or the value as configured by $DOCKER_HOST.
GetPublishedPort returns the published port for a given private port.
NetExists checks to see if the docker network for ddev exists.

# Constants

NetName provides the default network name for ddev.