Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIClient ¶ added in v0.17.0
func NewAPIClient(clientType ClientType) (libmachine.API, error)
Gets a new client depending on the clientType specified defaults to the libmachine client
func StartDriver ¶
func StartDriver()
Types ¶
type CertGenerator ¶ added in v0.15.0
type CertGenerator struct {
cert.X509CertGenerator
}
CertGenerator is used to override the default machine CertGenerator with a longer timeout.
func (*CertGenerator) ValidateCertificate ¶ added in v0.15.0
ValidateCertificate is a reimplementation of the default generator with a longer timeout.
type ClientType ¶ added in v0.17.0
type ClientType int
const ( ClientTypeLocal ClientType = iota ClientTypeRPC )
type ConnChecker ¶ added in v0.16.0
type ConnChecker struct { }
type LocalClient ¶ added in v0.17.0
LocalClient is a non-RPC implemenation of the libmachine API
func (*LocalClient) Close ¶ added in v0.17.0
func (api *LocalClient) Close() error
func (*LocalClient) Create ¶ added in v0.17.0
func (api *LocalClient) Create(h *host.Host) error
TODO(r2d4): We can rewrite the create function, for now, just defer to libmachine's implementation
Click to show internal directories.
Click to hide internal directories.