Documentation ¶
Index ¶
Constants ¶
const DefaultPort = "8080"
DefaultPort defines a default port used through out This should be a dependency
Variables ¶
This section is empty.
Functions ¶
func EnsureHTTPS ¶
EnsureHTTPS attempts to ensure that the address passed to it has the correct protocol for dealing with the cluster.
func InMemoryNetwork ¶
InMemoryNetwork creates a fully in-memory listener and dial function.
Each time the dial function is invoked a new pair of net.Conn objects will be created using net.Pipe: the listener's Accept method will unblock and return one end of the pipe and the other end will be returned by the dial function.
func ListenAddresses ¶
ListenAddresses returns a list of host:port combinations at which this machine can be reached
func ProxyFromEnvironment ¶
ProxyFromEnvironment is basically the same as golang's ProxyFromEnvironment, except it doesn't fall back to http_proxy when https_proxy isn't around, which is incorrect behavior. It still respects HTTP_PROXY, HTTPS_PROXY, and NO_PROXY.
Types ¶
This section is empty.