Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for DNSLookupFamily (0.13 sec)

  1. pilot/pkg/networking/core/envoyfilter/cluster_patch_test.go

    	}
    	sidecarInboundServiceOut := []*cluster.Cluster{
    		{
    			Name: "inbound|7443||", ClusterDiscoveryType: &cluster.Cluster_Type{Type: cluster.Cluster_EDS},
    			DnsLookupFamily: cluster.Cluster_V6_ONLY, LbPolicy: cluster.Cluster_RING_HASH,
    		},
    	}
    
    	gatewayInput := []*cluster.Cluster{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. pkg/bootstrap/config.go

    			option.Localhost(option.LocalhostIPv4),
    			option.Wildcard(option.WildcardIPv4),
    			option.DNSLookupFamily(option.DNSLookupFamilyIPv4))
    	} else if network.AllIPv6(cfg.Metadata.InstanceIPs) {
    		// IPv6 only
    		opts = append(opts,
    			option.Localhost(option.LocalhostIPv6),
    			option.Wildcard(option.WildcardIPv6),
    			option.DNSLookupFamily(option.DNSLookupFamilyIPv6))
    	} else {
    		// Dual Stack
    		if features.EnableDualStack {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. pkg/bootstrap/option/instances_test.go

    		},
    		{
    			testName: "dns lookup family v4",
    			key:      "dns_lookup_family",
    			option:   option.DNSLookupFamily(option.DNSLookupFamilyIPv4),
    			expected: option.DNSLookupFamilyValue("V4_ONLY"),
    		},
    		{
    			testName: "dns lookup family v6",
    			key:      "dns_lookup_family",
    			option:   option.DNSLookupFamily(option.DNSLookupFamilyIPv6),
    			expected: option.DNSLookupFamilyValue("V6_ONLY"),
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_builder.go

    			// IPv4 only
    			c.DnsLookupFamily = cluster.Cluster_V4_ONLY
    		} else if networkutil.AllIPv6(cb.proxyIPAddresses) {
    			// IPv6 only
    			c.DnsLookupFamily = cluster.Cluster_V6_ONLY
    		} else {
    			// Dual Stack
    			if features.EnableDualStack {
    				// using Cluster_ALL to enable Happy Eyeballsfor upstream connections
    				c.DnsLookupFamily = cluster.Cluster_ALL
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  5. pkg/bootstrap/option/instances.go

    func AdditionalWildCard(value WildcardValue) Instance {
    	return newOption("additional_wildcard", value)
    }
    
    func DualStack(value bool) Instance {
    	return newOption("dual_stack", value)
    }
    
    func DNSLookupFamily(value DNSLookupFamilyValue) Instance {
    	return newOption("dns_lookup_family", value)
    }
    
    func OutlierLogPath(value string) Instance {
    	return newOptionOrSkipIfZero("outlier_log_path", value)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_builder_test.go

    			if defaultCluster.build().DnsLookupFamily != tt.expectedFamily {
    				t.Errorf("Unexpected DnsLookupFamily, got: %v, want: %v", defaultCluster.build().DnsLookupFamily, tt.expectedFamily)
    			}
    		})
    	}
    }
    
    func TestBuildLocalityLbEndpoints(t *testing.T) {
    	proxy := &model.Proxy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
Back to top