mirror of https://github.com/docker/docs.git
use GetSSHAddress based on feedback from @sthulb
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
007d83319d
commit
ae439188a0
|
@ -19,12 +19,15 @@ type Driver interface {
|
||||||
// DriverName returns the name of the driver as it is registered
|
// DriverName returns the name of the driver as it is registered
|
||||||
DriverName() string
|
DriverName() string
|
||||||
|
|
||||||
|
// GetDockerPort returns the port specified for Docker
|
||||||
|
GetDockerPort() int
|
||||||
|
|
||||||
// GetIP returns an IP or hostname that this host is available at
|
// GetIP returns an IP or hostname that this host is available at
|
||||||
// e.g. 1.2.3.4 or docker-host-d60b70a14d3a.cloudapp.net
|
// e.g. 1.2.3.4 or docker-host-d60b70a14d3a.cloudapp.net
|
||||||
GetIP() (string, error)
|
GetIP() (string, error)
|
||||||
|
|
||||||
// GetSSHHostname returns hostname for use with ssh
|
// GetSSHHostname returns hostname for use with ssh
|
||||||
GetSSHHostname() (string, error)
|
GetSSHAddress() (string, error)
|
||||||
|
|
||||||
// GetSSHKeyPath returns key path for use with ssh
|
// GetSSHKeyPath returns key path for use with ssh
|
||||||
GetSSHKeyPath() string
|
GetSSHKeyPath() string
|
||||||
|
|
Loading…
Reference in New Issue