Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps the Docker API client with our custom methods
func NewClient ¶
NewClient creates a new Docker client connection It connects to the Docker socket (usually /var/run/docker.sock)
func (*Client) GetServerVersion ¶
GetServerVersion returns Docker server version info
func (*Client) ListContainers ¶
ListContainers returns all running containers with their security info
func (*Client) ListNetworks ¶
func (c *Client) ListNetworks() ([]models.NetworkInfo, error)
ListNetworks returns all Docker networks with their configuration
Click to show internal directories.
Click to hide internal directories.