Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for servicecidrs (0.11 sec)

  1. pkg/proxy/nftables/proxier_test.go

    	// invocation into a Run() method.
    	nftablesFamily := knftables.IPv4Family
    	podCIDR := "10.0.0.0/8"
    	serviceCIDRs := "172.30.0.0/16"
    	if ipFamily == v1.IPv6Protocol {
    		nftablesFamily = knftables.IPv6Family
    		podCIDR = "fd00:10::/64"
    		serviceCIDRs = "fd00:10:96::/112"
    	}
    	detectLocal := proxyutil.NewDetectLocalByCIDR(podCIDR)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers_test.go

    	ipv4CIDR := "10.1.0.0/16"
    	ipv6CIDR := "fd00:1:1::/64"
    
    	tests := []struct {
    		ccc      networking.ServiceCIDR
    		options  printers.GenerateOptions
    		expected []metav1.TableRow
    	}{
    		{
    			// Test name, IPv4 only.
    			ccc: networking.ServiceCIDR{
    				ObjectMeta: metav1.ObjectMeta{Name: "test1"},
    				Spec: networking.ServiceCIDRSpec{
    					CIDRs: []string{ipv4CIDR},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers.go

    		if err != nil {
    			return nil, err
    		}
    		rows = append(rows, r...)
    	}
    	return rows, nil
    }
    
    func printServiceCIDR(obj *networking.ServiceCIDR, options printers.GenerateOptions) ([]metav1.TableRow, error) {
    	row := metav1.TableRow{
    		Object: runtime.RawExtension{Object: obj},
    	}
    
    	cidrs := strings.Join(obj.Spec.CIDRs, ",")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
Back to top