From ae439188a0b559bb04d3eedb55b1b9e95ef5bb29 Mon Sep 17 00:00:00 2001 From: Evan Hazlett Date: Mon, 9 Mar 2015 10:30:21 -0400 Subject: [PATCH] use GetSSHAddress based on feedback from @sthulb Signed-off-by: Evan Hazlett --- drivers/drivers.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/drivers.go b/drivers/drivers.go index 68d565e8ea..84440820a8 100644 --- a/drivers/drivers.go +++ b/drivers/drivers.go @@ -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