# Functions
BuildVersionString builds a version string containing both the version and the build.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DockerComposeServices returns all docker-compose services found inside the project.
DockerComposeServicesExcluding same as DockerComposeServices(), but will exclude any services that has an image declaration in the 'excluded' slice.
No description provided by the author
No description provided by the author
No description provided by the author
DockerImageExists returns true if docker image:tag exists in local docker daemon.
No description provided by the author
EnsureDockerConnectivity will return an error if the docker daemon is not accessible.
* extract tag name from git tag or git branch
* gives priority to git tag
*/.
* extract tag name from branch
* branch: `master` becomes tag `latest`
* branch: `origin/release/xxx` becomes tag `xxx`
* branch: `origin/aaa/xxx` becomes tag `snapshot.aaa.xxx`
* branch: `origin/xxx` becomes tag `snapshot.xxx`
*/.
extractTagFromTag will extract the docker tag from the git tag
gitTag must be of format 'v.X.Y.Z-q', where X, Y, and Z are ints and q is some character-baed qualifier.
GetComposeFileVersion of the current repo Will return the defaultVersion if it cannot determine the actual version.
No description provided by the author
GetDockerComposeVersion returns version of the docker-compose binary first return value is the human readable version second return value is an array of the {majorVersion, minorVersion, patchVersion}.
GetDockerVersion returns version of the docker binary first return value is the human readable version second return value is an array of the {majorVersion, minorVersion, patchVersion}.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PullDockerImage blindly pulls the image:tag.
RemoveContainersOfImage will remove all containers created from the provided image.
No description provided by the author
No description provided by the author
ServiceLogs simply returns the both stderr and stdout logs for a service.
Version returns the raw version string.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
ComposeFileVersion inside the repo.
No description provided by the author
No description provided by the author