Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsUnspecified (0.27 sec)

  1. src/net/netip/netip_test.go

    			private := tt.ip.IsPrivate()
    			if private != tt.private {
    				t.Errorf("IsPrivate(%v) = %v; want %v", tt.ip, private, tt.private)
    			}
    
    			unspecified := tt.ip.IsUnspecified()
    			if unspecified != tt.unspecified {
    				t.Errorf("IsUnspecified(%v) = %v; want %v", tt.ip, unspecified, tt.unspecified)
    			}
    		})
    	}
    }
    
    func TestAddrWellKnown(t *testing.T) {
    	tests := []struct {
    		name string
    		ip   Addr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  2. pkg/proxy/winkernel/proxier.go

    		if err != nil {
    			return nil, err
    		}
    		sourceVip = config.SourceVip
    		if len(sourceVip) == 0 {
    			return nil, fmt.Errorf("source-vip flag not set")
    		}
    
    		if nodeIP.IsUnspecified() {
    			// attempt to get the correct ip address
    			klog.V(2).InfoS("Node ip was unspecified, attempting to find node ip")
    			nodeIP, err = apiutil.ResolveBindAddress(nodeIP)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
Back to top