Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for sidecarProxy (0.23 sec)

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

    									HttpFilters: []*hcm.HttpFilter{
    										{Name: "base"},
    									},
    								}),
    							},
    						},
    					},
    				},
    			},
    		},
    	}
    
    	sidecarProxy := &model.Proxy{
    		Type:            model.SidecarProxy,
    		ConfigNamespace: "not-default",
    		Metadata: &model.NodeMetadata{
    			IstioVersion: "1.2.2",
    			Raw: map[string]any{
    				"foo": "sidecar",
    				"bar": "proxy",
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  2. 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)
  3. pilot/pkg/model/push_context_test.go

    		labels   labels.Instance
    		sidecar  string
    		describe string
    	}{
    		{
    			proxy:    &Proxy{Type: SidecarProxy, ConfigNamespace: "default"},
    			labels:   labels.Instance{"app": "foo"},
    			sidecar:  "default/foo",
    			describe: "match local sidecar",
    		},
    		{
    			proxy:    &Proxy{Type: SidecarProxy, ConfigNamespace: "default"},
    			labels:   labels.Instance{"app": "bar"},
    			sidecar:  "default/global",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_tls_test.go

    					t.Fatalf("expected alpn list %v; got %v", util.ALPNInMeshH2WithMxc, got)
    				}
    			},
    		},
    	}
    
    	proxy := &model.Proxy{
    		Type:         model.SidecarProxy,
    		Metadata:     &model.NodeMetadata{},
    		IstioVersion: &model.IstioVersion{Major: 1, Minor: 5},
    	}
    	push := model.NewPushContext()
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listener.go

    func (configgen *ConfigGeneratorImpl) BuildListeners(node *model.Proxy,
    	push *model.PushContext,
    ) []*listener.Listener {
    	builder := NewListenerBuilder(node, push)
    
    	switch node.Type {
    	case model.SidecarProxy:
    		builder = configgen.buildSidecarListeners(builder)
    	case model.Waypoint:
    		builder = configgen.buildWaypointListeners(builder)
    	case model.Router:
    		builder = configgen.buildGatewayListeners(builder)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/route/route_test.go

    					Port:     8080,
    					Protocol: protocol.HTTP,
    				},
    			},
    		},
    	}
    
    	node := func(cg *core.ConfigGenTest) *model.Proxy {
    		return cg.SetupProxy(&model.Proxy{
    			Type:        model.SidecarProxy,
    			IPAddresses: []string{"1.1.1.1"},
    			ID:          "someID",
    			DNSDomain:   "foo.com",
    			IstioVersion: &model.IstioVersion{
    				Major: 1,
    				Minor: 20,
    			},
    		})
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  7. pilot/pkg/model/push_context.go

    		// We need to compute this namespace
    		computed := DefaultSidecarScopeForGateway(ps, proxy.ConfigNamespace)
    		ps.sidecarIndex.sidecarsForGatewayByNamespace[proxy.ConfigNamespace] = computed
    		return computed
    	case SidecarProxy:
    		if hasSidecar {
    			for _, wrapper := range sidecars {
    				if wrapper.Sidecar != nil {
    					sidecar := wrapper.Sidecar
    					// if there is no workload selector, the config applies to all workloads
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
Back to top