Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/kube-proxy/app/server.go

    func badBindAddress(bindAddress string, wrongFamily netutils.IPFamily) bool {
    	if host, _, _ := net.SplitHostPort(bindAddress); host != "" {
    		ip := netutils.ParseIPSloppy(host)
    		if ip != nil && netutils.IPFamilyOf(ip) == wrongFamily && !ip.IsUnspecified() {
    			return true
    		}
    	}
    	return false
    }
    
    // createClient creates a kube client from the given config and masterOverride.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
Back to top