libmachine

package
Version: v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2016 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API added in v0.5.2

type API interface {
	io.Closer
	NewHost(driverName string, rawDriver []byte) (*host.Host, error)
	Create(h *host.Host) error
	persist.Store
	GetMachinesDir() string
}

type Client added in v0.5.2

type Client struct {
	IsDebug        bool
	SSHClientType  ssh.ClientType
	GithubAPIToken string
	*persist.Filestore
	// contains filtered or unexported fields
}

func NewClient added in v0.5.2

func NewClient(storePath, certsDir string) *Client

func (*Client) Close added in v0.5.6

func (api *Client) Close() error

func (*Client) Create added in v0.5.2

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

Create is the wrapper method which covers all of the boilerplate around actually creating, provisioning, and persisting an instance in the store.

func (*Client) Load added in v0.5.6

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

func (*Client) NewHost added in v0.5.2

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

Source Files

Directories

Path Synopsis
rpc
provisiontest
Package provisiontest provides utilities for testing provisioners
Package provisiontest provides utilities for testing provisioners
ssh

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL