Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ipToCidrs (0.08 sec)

  1. pkg/controller/servicecidrs/servicecidrs_controller_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    			if got := controller.containingServiceCIDRs(tt.ip); !cmp.Equal(got, tt.want, cmpopts.SortSlices(func(a, b string) bool { return a < b })) {
    				t.Errorf("Controller.ipToCidrs() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestController_cidrToCidrs(t *testing.T) {
    	tests := []struct {
    		name  string
    		cidrs []*networkingapiv1alpha1.ServiceCIDR
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top