- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for convertToV1IPFamily (0.49 sec)
-
pkg/registry/core/service/ipallocator/cidrallocator.go
ready := true if !isReady(serviceCIDR) || !serviceCIDR.DeletionTimestamp.IsZero() { ready = false } for _, cidr := range serviceCIDR.Spec.CIDRs { if c.ipFamily == api.IPFamily(convertToV1IPFamily(netutils.IPFamilyOfCIDRString(cidr))) { cidrsSet.Insert(cidr) cidrReady[cidr] = ready } } } // obtain the existing allocators and set the existing state treeSet := sets.New[string]()
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/controller/servicecidrs/servicecidrs_controller.go
for _, cidr := range serviceCIDR.Spec.CIDRs { // get all the IPv4 addresses ipLabelSelector := labels.Set(map[string]string{ networkingapiv1alpha1.LabelIPAddressFamily: string(convertToV1IPFamily(netutils.IPFamilyOfCIDRString(cidr))), networkingapiv1alpha1.LabelManagedBy: ipallocator.ControllerName, }).AsSelectorPreValidated() ips, err := c.ipAddressLister.List(ipLabelSelector) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 18K bytes - Viewed (0)