- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ParseHostPort (0.17 sec)
-
cmd/kubeadm/app/util/endpoint.go
url := formatURL(localEndpointIP.String(), localEndpointPort) return url.String(), nil } // ParseHostPort parses a network address of the form "host:port", "ipv4:port", "[ipv6]:port" into host and port; // ":port" can be eventually omitted. // If the string is not a valid representation of network address, ParseHostPort returns an error. func ParseHostPort(hostport string) (string, string, error) { var host, port string var err error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jan 11 15:08:59 UTC 2022 - 5.3K bytes - Viewed (0)