util

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HostIPs

func HostIPs() []string

HostIPs returns the IP addresses assigned to the host

func IsIPReachable

func IsIPReachable(driver drivers.Driver, ip string, printOutput bool) bool

IsIPReachable returns true is IP address is reachable from the virtual instance

func IsRetrievable added in v1.4.0

func IsRetrievable(driver drivers.Driver, url string, printOutput bool) bool

func NetworkContains

func NetworkContains(network string, ip string) bool

NetworkContains returns true if the IP address belongs to the network given

func SetProxyToShellEnv

func SetProxyToShellEnv(host *host.Host, shellProxyEnv string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL