Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_SOCKET_PATH = "/var/run/docker.sock" DEFAULT_TIMEOUT = 2 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerClient ¶
type DockerClient struct {
// contains filtered or unexported fields
}
func NewDockerClient ¶
func NewDockerClient(path string) (*DockerClient, error)
func (*DockerClient) Close ¶
func (c *DockerClient) Close() error
func (*DockerClient) PidFromContainerId ¶
func (c *DockerClient) PidFromContainerId(containerID string) (int, error)
Click to show internal directories.
Click to hide internal directories.