Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tryFindFQDN (0.17 sec)

  1. pilot/pkg/networking/grpcgen/lds_test.go

    		{"foo.ns.svc.cluster.local.extra", ""},
    		{"xds.istio.io/grpc/lds/inbound/0.0.0.0:1234", ""},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.in, func(t *testing.T) {
    			if got := tryFindFQDN(tc.in, node); got != tc.want {
    				t.Errorf("want %q but got %q", tc.want, got)
    			}
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 30 20:07:58 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/grpcgen/lds.go

    		hasPort := err == nil
    
    		// attempt to expand shortname to FQDN
    		requestedName := name
    		if hasPort {
    			requestedName = host
    		}
    		allNames := []string{requestedName}
    		if fqdn := tryFindFQDN(requestedName, node); fqdn != "" {
    			allNames = append(allNames, fqdn)
    		}
    
    		for _, name := range allNames {
    			ln, ok := filter[name]
    			if !ok {
    				ln = listenerName{RequestedNames: sets.New[string]()}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top