Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MockLookupIPAddrIPv6 (0.21 sec)

  1. pilot/pkg/util/network/ip_test.go

    	ret := []netip.Addr{
    		netip.MustParseAddr("2001:db8::68"),
    		netip.MustParseAddr("1.2.3.4"),
    		netip.MustParseAddr("1.2.3.5"),
    	}
    	return ret, nil
    }
    
    func MockLookupIPAddrIPv6(_ context.Context, _ string) ([]netip.Addr, error) {
    	ret := []netip.Addr{
    		netip.MustParseAddr("2001:db8::68"),
    	}
    	return ret, nil
    }
    
    func TestResolveAddr(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 08 16:24:15 UTC 2022
    - 6.7K bytes
    - Viewed (0)
Back to top