Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ParseCIDR (0.08 sec)

  1. cni/pkg/nodeagent/cni-watcher_test.go

    	invalid := string(payload) + "funkyjunk"
    
    	_, err := processAddEvent([]byte(invalid))
    
    	assert.Error(t, err)
    }
    
    func TestCNIPluginServer(t *testing.T) {
    	fakePodIP := "11.1.1.12"
    	_, addr, _ := net.ParseCIDR(fakePodIP + "/32")
    	valid := CNIPluginAddEvent{
    		Netns:        "/var/netns/foo",
    		PodName:      "pod-bingo",
    		PodNamespace: "funkyns",
    		IPs: []IPConfig{{
    			Address: *addr,
    		}},
    	}
    
    	setupLogging()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. cni/pkg/iptables/iptables_linux.go

    			cidrs = append(cidrs, "0::0/0")
    		} else {
    			log.Debugf("IPv6 is enabled, but the loopback interface has IPv6 disabled; skipping")
    		}
    	}
    	for _, fullCIDR := range cidrs {
    		_, localhostDst, err := net.ParseCIDR(fullCIDR)
    		if err != nil {
    			return fmt.Errorf("parse CIDR: %v", err)
    		}
    
    		netlinkRoutes := []*netlink.Route{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Sep 06 09:44:28 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.23.md

    - Removed deprecated `--seccomp-profile-root`/`seccompProfileRoot` config. ([#103941](https://github.com/kubernetes/kubernetes/pull/103941), [@saschagrunert](https://github.com/saschagrunert))
    - Since golang 1.17 both net.ParseIP and net.ParseCIDR rejects leading zeros in the dot-decimal notation of IPv4 addresses,
      Kubernetes will keep allowing leading zeros on IPv4 address to not break the compatibility.
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Feb 28 21:06:52 UTC 2023
    - 424.5K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg net, func LookupPort(string, string) (int, error)
    pkg net, func LookupSRV(string, string, string) (string, []*SRV, error)
    pkg net, func LookupTXT(string) ([]string, error)
    pkg net, func ParseCIDR(string) (IP, *IPNet, error)
    pkg net, func ParseIP(string) IP
    pkg net, func ParseMAC(string) (HardwareAddr, error)
    pkg net, func Pipe() (Conn, Conn)
    pkg net, func ResolveIPAddr(string, string) (*IPAddr, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top