machine

package
v0.0.0-...-80cfa99 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2017 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIClient

func NewAPIClient() (libmachine.API, error)

NewAPIClient gets a new client.

func NewRPCClient

func NewRPCClient(storePath, certsDir string) libmachine.API

func StartDriver

func StartDriver()

Types

type CertGenerator

type CertGenerator struct {
	cert.X509CertGenerator
}

CertGenerator is used to override the default machine CertGenerator with a longer timeout.

func (*CertGenerator) ValidateCertificate

func (cg *CertGenerator) ValidateCertificate(addr string, authOptions *auth.Options) (bool, error)

ValidateCertificate is a reimplementation of the default generator with a longer timeout.

type ConnChecker

type ConnChecker struct {
}

func (*ConnChecker) Check

func (cc *ConnChecker) Check(h *host.Host, swarm bool) (string, *auth.Options, error)

type LocalClient

type LocalClient struct {
	*persist.Filestore
	// contains filtered or unexported fields
}

LocalClient is a non-RPC implemenation of the libmachine API

func (*LocalClient) Close

func (api *LocalClient) Close() error

func (*LocalClient) Create

func (api *LocalClient) Create(h *host.Host) error

func (*LocalClient) Load

func (api *LocalClient) Load(name string) (*host.Host, error)

func (*LocalClient) NewHost

func (api *LocalClient) NewHost(driverName string, rawDriver []byte) (*host.Host, error)

Directories

Path Synopsis
drivers

Jump to

Keyboard shortcuts

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