- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ipToAddr (0.08 sec)
-
pkg/registry/core/service/ipallocator/cidrallocator.go
} } // assume the ServiceCIDR is Ready, in order to handle scenarios where kcm is not running return true } // ipToAddr converts a net.IP to a netip.Addr // if the net.IP is not valid it returns an empty netip.Addr{} func ipToAddr(ip net.IP) netip.Addr { // https://pkg.go.dev/net/netip#AddrFromSlice can return an IPv4 in IPv6 format
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 13.2K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/controller/repairip.go
return false } return managedByController(ip) } // TODO(aojea) move to utils, already in pkg/registry/core/service/ipallocator/cidrallocator.go // ipToAddr converts a net.IP to a netip.Addr // if the net.IP is not valid it returns an empty netip.Addr{} func ipToAddr(ip net.IP) netip.Addr { // https://pkg.go.dev/net/netip#AddrFromSlice can return an IPv4 in IPv6 format
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 24.7K bytes - Viewed (0)