Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for sidecarProxy (0.19 sec)

  1. pilot/pkg/networking/core/cluster_test.go

    		{
    			clusterName:           "outbound|8080||*.example.org",
    			useDownStreamProtocol: false,
    			proxyType:             model.SidecarProxy,
    			clusters:              7,
    		},
    		{
    			clusterName:           "inbound|10001||",
    			useDownStreamProtocol: false,
    			proxyType:             model.SidecarProxy,
    			clusters:              7,
    		},
    		{
    			clusterName:           "outbound|9090||*.example.org",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_builder_test.go

    			},
    		},
    	}
    	cg := NewConfigGenTest(t, TestOptions{Configs: getEnvoyFilterConfigs(configPatches)})
    
    	gatewayProxy := cg.SetupProxy(&model.Proxy{Type: model.Router, ConfigNamespace: "not-default"})
    	sidecarProxy := cg.SetupProxy(&model.Proxy{ConfigNamespace: "not-default"})
    	type fields struct {
    		GatewayListeners        []*listener.Listener
    		InboundListeners        []*listener.Listener
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_builder.go

    func newClusterWrapper(cluster *cluster.Cluster) *clusterWrapper {
    	return &clusterWrapper{
    		cluster: cluster,
    	}
    }
    
    // sidecarProxy returns true if the clusters are being built for sidecar proxy otherwise false.
    func (cb *ClusterBuilder) sidecarProxy() bool {
    	return cb.proxyType == model.SidecarProxy
    }
    
    func (cb *ClusterBuilder) buildSubsetCluster(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listener_test.go

    func getIPv6Proxy() *model.Proxy {
    	pr := &model.Proxy{
    		Type:        model.SidecarProxy,
    		IPAddresses: []string{"2001:1::1"},
    		Metadata: &model.NodeMetadata{
    			Namespace: "not-default",
    		},
    		ConfigNamespace: "not-default",
    	}
    	return pr
    }
    
    var (
    	tnow        = time.Now()
    	proxyHTTP10 = model.Proxy{
    		Type:        model.SidecarProxy,
    		IPAddresses: []string{"1.1.1.1"},
    		ID:          "v0.default",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster.go

    	envoyFilterPatches := req.Push.EnvoyFilters(proxy)
    	cb := NewClusterBuilder(proxy, req, configgen.Cache)
    	instances := proxy.ServiceTargets
    	cacheStats := cacheStats{}
    	switch proxy.Type {
    	case model.SidecarProxy:
    		// Setup outbound clusters
    		outboundPatcher := clusterPatcher{efw: envoyFilterPatches, pctx: networking.EnvoyFilter_SIDECAR_OUTBOUND}
    		ob, cs := configgen.buildOutboundClusters(cb, proxy, outboundPatcher, services)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_builder_test.go

    	mc := newClusterWrapper(&cluster.Cluster{
    		Name: "test-cluster",
    	})
    	cb.setUseDownstreamProtocol(mc)
    	return mc
    }
    
    func newSidecarProxy() *model.Proxy {
    	return &model.Proxy{Type: model.SidecarProxy, Metadata: &model.NodeMetadata{}}
    }
    
    func newGatewayProxy() *model.Proxy {
    	return &model.Proxy{Type: model.Router, Metadata: &model.NodeMetadata{}}
    }
    
    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