package
0.1.2
Repository: https://github.com/danhale-git/craft.git
Documentation: pkg.go.dev

# Functions

All returns a client for each active server.
BuildDockerImage builds the server image.
DockerImageExists returns true if the craft server image exists.
Get searches for a server with the given name (stopped or running) and checks that it has a label identifying it as a craft server.
New creates a new craft server container and returns a docker client for it.

# Constants

Label used to identify craft servers.
The name of the docker image to use.
No description provided by the author

# Structs

NotCraftError reports the instance where a container is found with a given name but lacks the label indicating that it is managed using craft.
NotFoundError tells the caller that no containers were found with the given name.
Server is a wrapper for docker's client.ContainerAPIClient which operates on a specific container.