client

package
v0.0.0-...-7676619 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultAPIVersion is the default docker API version set by libcompose
	DefaultAPIVersion = "v1.20"
)

Variables

This section is empty.

Functions

func Create

func Create(c Options) (client.APIClient, error)

Create creates a docker client based on the specified options.

Types

type Options

type Options struct {
	TLS        bool
	TLSVerify  bool
	TLSOptions tlsconfig.Options
	TrustKey   string
	Host       string
	APIVersion string
}

Options holds docker client options (host, tls, ..)

Jump to

Keyboard shortcuts

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