- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isPreferredIPFamily (0.18 sec)
-
pkg/kubelet/nodestatus/setters.go
) Setter { var nodeIP, secondaryNodeIP net.IP if len(nodeIPs) > 0 { nodeIP = nodeIPs[0] } preferIPv4 := nodeIP == nil || nodeIP.To4() != nil isPreferredIPFamily := func(ip net.IP) bool { return (ip.To4() != nil) == preferIPv4 } nodeIPSpecified := nodeIP != nil && !nodeIP.IsUnspecified() if len(nodeIPs) > 1 { secondaryNodeIP = nodeIPs[1] }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 12:12:04 UTC 2024 - 30.5K bytes - Viewed (0)