- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for overlappingServiceCIDRs (0.4 sec)
-
pkg/controller/servicecidrs/servicecidrs_controller.go
c.queue.Add(cidr) } } // overlappingServiceCIDRs, given a ServiceCIDR return the ServiceCIDRs that contain or are contained, // this is required because adding or removing a CIDR will require to recompute the // state of each ServiceCIDR to check if can be unblocked on deletion. func (c *Controller) overlappingServiceCIDRs(serviceCIDR *networkingapiv1alpha1.ServiceCIDR) []string { c.muTree.Lock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 18K bytes - Viewed (0) -
pkg/controller/servicecidrs/servicecidrs_controller_test.go
tCtx := ktesting.Init(t) _, controller := newController(tCtx, t, tt.cidrs, nil) err := controller.syncCIDRs() if err != nil { t.Fatal(err) } if got := controller.overlappingServiceCIDRs(tt.cidr); !cmp.Equal(got, tt.want, cmpopts.SortSlices(func(a, b string) bool { return a < b })) { t.Errorf("Controller.cidrToCidrs() = %v, want %v", got, tt.want) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 22K bytes - Viewed (0)