docker

package
v0.0.0-...-a355528 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ClientVersion is the Docker client API version to use when connecting to Docker
	// See Makefile targets that may set this at build time.
	ClientVersion = "1.24"
)

Functions

This section is empty.

Types

type APIClientCloser

type APIClientCloser interface {
	io.Closer
	client.CommonAPIClient
}

APIClientCloser is a closeable API client.

func NewClient

func NewClient(host string, tls *tlsconfig.Options) (APIClientCloser, error)

NewClient creates a new API client.

type ConnectInfo

type ConnectInfo struct {
	Host string
	TLS  *tlsconfig.Options
}

ConnectInfo holds the connection parameters for connecting to a Docker engine to get join tokens, etc.

Jump to

Keyboard shortcuts

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