Versions in this module Expand all Collapse all v0 v0.1.40 Jun 15, 2026 v0.1.39 Jun 14, 2026 Changes in this version + func DetectPGVersionFromImage(imageName string) (string, bool) + type Client struct + func NewClient() (*Client, error) + func (c *Client) CheckImageExists(imageName string) ([]string, bool) + func (c *Client) CreateContainer(name, version, image string, port int, password string, cpuCores, ramMB int, ...) (string, error) + func (c *Client) GetContainerLogs(containerID, tail string) (string, error) + func (c *Client) GetContainerStatus(containerID string) (string, error) + func (c *Client) GetDockerClient() *client.Client + func (c *Client) PullImage(imageName string) error + func (c *Client) RecreateContainer(name, version, image string, port int, password string, cpuCores, ramMB int, ...) (string, error) + func (c *Client) RemoveContainer(containerID string) error + func (c *Client) RemoveHelperContainers() (int, error) + func (c *Client) RemoveVolume(volumeName string) error + func (c *Client) StartContainer(containerID string) error + func (c *Client) StopContainer(containerID string) error + func (c *Client) StreamContainerLogs(ctx context.Context, containerID, tail string, w io.Writer) error