use GetSSHAddress based on feedback from @sthulb

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
Evan Hazlett 2015-03-09 10:30:21 -04:00
parent 007d83319d
commit ae439188a0
No known key found for this signature in database
GPG Key ID: A519480096146526
1 changed files with 4 additions and 1 deletions

View File

@ -19,12 +19,15 @@ type Driver interface {
// DriverName returns the name of the driver as it is registered
DriverName() string
// GetDockerPort returns the port specified for Docker
GetDockerPort() int
// GetIP returns an IP or hostname that this host is available at
// e.g. 1.2.3.4 or docker-host-d60b70a14d3a.cloudapp.net
GetIP() (string, error)
// GetSSHHostname returns hostname for use with ssh
GetSSHHostname() (string, error)
GetSSHAddress() (string, error)
// GetSSHKeyPath returns key path for use with ssh
GetSSHKeyPath() string