Discover Packages
a1.zhujicn2.com/rancher/os
Godeps
_workspace
src
github.com
docker
libnetwork
resolvconf
dns
package
Version:
v0.4.0-rc10
Opens a new window with list of versions in this module.
Published: Oct 4, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const IPLocalhost = `((127\.([0-9]{1,3}.){2}[0-9]{1,3})|(::1))`
IPLocalhost is a regex patter for localhost IP address range.
IsLocalhost returns true if ip matches the localhost IP regular expression.
Used for determining if nameserver settings are being passed which are
localhost addresses
Source Files
¶
Click to show internal directories.
Click to hide internal directories.