Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 91 for pushContext (0.43 sec)

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

    }
    
    func buildMetricsNetworkFilters(push *model.PushContext, proxy *model.Proxy, class istionetworking.ListenerClass, svc *model.Service) []*listener.Filter {
    	return push.Telemetry.TCPFilters(proxy, class, svc)
    }
    
    // setAccessLogAndBuildTCPFilter sets the AccessLog configuration in the given
    // TcpProxy instance and builds a TCP filter out of it.
    func setAccessLogAndBuildTCPFilter(push *model.PushContext, node *model.Proxy,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route_test.go

    											},
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    
    		proxy := node(cg)
    		hashByDestination := route.GetConsistentHashForVirtualService(cg.PushContext(), proxy, virtualServicePlain)
    		routes, err := route.BuildHTTPRoutesForVirtualService(proxy, virtualServicePlain, serviceRegistry,
    			hashByDestination, 8080, gatewayNames, route.RouteOptions{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  3. pilot/pkg/security/authn/policy_applier.go

    	processedJwtRules []*v1beta1.JWTRule
    
    	consolidatedPeerPolicy MergedPeerAuthentication
    
    	push *model.PushContext
    }
    
    // newPolicyApplier returns new applier for v1beta1 authentication policies.
    func newPolicyApplier(rootNamespace string,
    	jwtPolicies []*config.Config,
    	peerPolicies []*config.Config,
    	push *model.PushContext,
    ) PolicyApplier {
    	processedJwtRules := []*v1beta1.JWTRule{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_builder_test.go

    				Services:       []*model.Service{tt.service},
    				MeshConfig:     tt.meshConfig,
    			})
    			proxy := cg.SetupProxy(nil)
    			cb := NewClusterBuilder(proxy, &model.PushRequest{Push: cg.PushContext()}, nil)
    
    			tt.cluster.CommonLbConfig = &cluster.Cluster_CommonLbConfig{}
    
    			ec := newClusterWrapper(tt.cluster)
    			// Set cluster wrapping with HTTP2 options if port protocol is HTTP2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listener_test.go

    			proxy := cg.SetupProxy(nil)
    			proxy.Metadata.InboundListenerExactBalance = true
    			proxy.Metadata.OutboundListenerExactBalance = true
    
    			listeners := NewListenerBuilder(proxy, cg.env.PushContext()).buildSidecarOutboundListeners(proxy, cg.env.PushContext())
    			listenersToCheck := make([]string, 0)
    			for _, l := range listeners {
    				if l.Address.GetSocketAddress().GetPortValue() == 9999 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  6. pilot/pkg/xds/monitoring.go

    		[]float64{.01, .1, 1, 3, 5, 10, 20, 30},
    	)
    
    	pushContextInitTime = monitoring.NewDistribution(
    		"pilot_pushcontext_init_seconds",
    		"Total time in seconds Pilot takes to init pushContext.",
    		[]float64{.01, .1, 0.5, 1, 3, 5},
    	)
    
    	pushTime = monitoring.NewDistribution(
    		"pilot_xds_push_time",
    		"Total time in seconds Pilot takes to push lds, rds, cds and eds.",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. pilot/pkg/security/authz/builder/builder_test.go

    		ConfigStore: store,
    	})
    	return authzPolicies
    }
    
    func push(t *testing.T, input string, mc *meshconfig.MeshConfig) *model.PushContext {
    	t.Helper()
    	p := &model.PushContext{
    		AuthzPolicies: yamlPolicy(t, basePath+input),
    		Mesh:          mc,
    	}
    	p.ServiceIndex.HostnameAndNamespace = map[host.Name]map[string]*model.Service{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/controller.go

    // Rather than watching the CRs directly, we depend on the existing model.ConfigStoreController which
    // already watches all CRs. When there are updates, a new PushContext will be computed, which will eventually
    // call Controller.Reconcile(). Once this happens, we will inspect the current state of the world, and transform
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/controller_test.go

    			Name:             "http-route",
    			Namespace:        "ns1",
    		},
    		Spec: httpRouteSpec,
    	})
    
    	cg := core.NewConfigGenTest(t, core.TestOptions{})
    	g.Expect(controller.Reconcile(cg.PushContext())).ToNot(HaveOccurred())
    	cfg := controller.List(gvk.Gateway, "ns1")
    	g.Expect(cfg).To(HaveLen(1))
    	for _, c := range cfg {
    		g.Expect(c.GroupVersionKind).To(Equal(gvk.Gateway))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 16:47:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. pilot/pkg/model/destination_rule.go

    // used.
    // 3. If the original rule did not have any exportTo, exportTo settings from the new rule will be used.
    func (ps *PushContext) mergeDestinationRule(p *consolidatedDestRules, destRuleConfig config.Config, exportToSet sets.Set[visibility.Instance]) {
    	rule := destRuleConfig.Spec.(*networking.DestinationRule)
    	resolvedHost := host.Name(rule.Host)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 07:22:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top