- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ParseCIDRs (0.21 sec)
-
cmd/cloud-controller-manager/nodeipamcontroller.go
// error if failed to parse any of the cidrs func processCIDRs(cidrsList string) ([]*net.IPNet, bool, error) { cidrsSplit := strings.Split(strings.TrimSpace(cidrsList), ",") cidrs, err := netutils.ParseCIDRs(cidrsSplit) if err != nil { return nil, false, err } // if cidrs has an error then the previous call will fail // safe to ignore error checking on next call
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 14 19:06:22 UTC 2023 - 8.9K bytes - Viewed (0)