docker

package
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchHostHostname

func FetchHostHostname() string

FetchHostName returns the hostname of the Docker host OS. In case of any errors an empty string is returned.

func FetchHostInfo

func FetchHostInfo() string

FetchHostInfo returns the Docker servers https://godoc.org/github.com/docker/engine-api/client#Client.Info data structure. It is converted to a string and formatted in a nice way by go-spew.

func GetDockerClientForUrl added in v0.2.5

func GetDockerClientForUrl(dockerUrl string, version string) (*client.Client, error)

getDockerClientForUrl returns a Docker HTTP client specific for one URL. The HTTP client will pool and reuse idle connections to Docker.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL