libmachine

package
v0.15.0-rancher21 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 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)

Directories

Path Synopsis
ssh
Package versioncmp provides functions for comparing version strings.
Package versioncmp provides functions for comparing version strings.

Jump to

Keyboard shortcuts

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