Documentation
¶
Overview ¶
Package dns contains DNS related functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsLocalhost ¶ added in v0.51.0
IsLocalhost returns whether or not a URL without an existing scheme is on localhost
func IsServiceURL ¶
IsServiceURL returns true if the give url complies with the service url format.
func ParseServiceURL ¶
ParseServiceURL takes a serviceURL and parses it to find the service info for connecting to the cluster. The string is expected to follow the following format: Example serviceURL: http://{SERVICE_NAME}.{NAMESPACE}.svc.cluster.local:{PORT}.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.