Versions in this module Expand all Collapse all v0 v0.1.2 Aug 2, 2021 Changes in this version + const CraftLabel + const ImageName + const RunMCCommand + func BuildDockerImage(serverURL string, noCache bool) error + func DockerImageExists(c client.ImageAPIClient) (bool, error) + type NotCraftError struct + Name string + func (e *NotCraftError) Error() string + func (e *NotCraftError) Is(tgt error) bool + type NotFoundError struct + Name string + func (e *NotFoundError) Error() string + func (e *NotFoundError) Is(tgt error) bool + type Server struct + ContainerID string + ContainerName string + func All(c client.ContainerAPIClient) ([]*Server, error) + func Get(cl client.ContainerAPIClient, containerName string) (*Server, error) + func New(hostPort int, name string, mountVolume bool) (*Server, error) + func (s *Server) Command(args []string) error + func (s *Server) CommandWriter() (net.Conn, error) + func (s *Server) HasVolume() bool + func (s *Server) IsRunning() bool + func (s *Server) LogReader(tail int) (*bufio.Reader, error) + func (s *Server) Port() (int, error) + func (s *Server) RunBedrock() error + func (s *Server) Stop() error + func (s *Server) StopOrPanic()