Default to shelling out to SSH when available. Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
20 lines
349 B
Go
20 lines
349 B
Go
package libmachine
|
|
|
|
import (
|
|
"errors"
|
|
"fmt"
|
|
)
|
|
|
|
var (
|
|
ErrInvalidHostname = errors.New("Invalid hostname specified")
|
|
ErrUnknownProviderType = errors.New("Unknown hypervisor type")
|
|
)
|
|
|
|
type ErrHostDoesNotExist struct {
|
|
Name string
|
|
}
|
|
|
|
func (e ErrHostDoesNotExist) Error() string {
|
|
return fmt.Sprintf("Error: Host does not exist: %s", e.Name)
|
|
}
|