util

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlagExist

func FlagExist(ocCommandOptions []string, flag string) bool

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 NetworkContains

func NetworkContains(network string, ip string) bool

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

func ParseOcHelpCommand

func ParseOcHelpCommand(cmdOut []byte) []string

func SetProxyToShellEnv

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

func ValidateOpenshiftMinVersion

func ValidateOpenshiftMinVersion(ver string, minVersion string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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