Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for IsProxylessGRPC (0.18 sec)

  1. pkg/test/framework/components/echo/echotest/filters.go

    // HasL7 only allows traffic where there is some L7 processing occurring on the path
    var HasL7 CombinationFilter = func(from echo.Instance, to echo.Instances) echo.Instances {
    	if from.Config().HasSidecar() || from.Config().IsProxylessGRPC() {
    		// client has l7
    		return to
    	}
    	// otherwise give only serverside l7 endpoints
    	return match.Matcher(func(instance echo.Instance) bool {
    		return instance.Config().HasServiceAddressedWaypointProxy() ||
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 29 23:48:45 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/kube/workload_manager.go

    func newWorkloadManager(ctx resource.Context, cfg echo.Config, handler workloadHandler) (*workloadManager, error) {
    	// Get the gRPC port and TLS settings.
    	var grpcInstancePort int
    	var tls *echoCommon.TLSSettings
    	if cfg.IsProxylessGRPC() {
    		grpcInstancePort = grpcMagicPort
    	}
    	if grpcInstancePort == 0 {
    		if grpcPort, found := cfg.Ports.ForProtocol(protocol.GRPC); found {
    			if grpcPort.TLS {
    				tls = cfg.TLSSettings
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 02:12:37 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/match/matchers.go

    var NotHeadless = Not(Headless)
    
    // ProxylessGRPC matches instances that are Pods with a SidecarInjectTemplate annotation equal to grpc.
    var ProxylessGRPC Matcher = func(i echo.Instance) bool {
    	return i.Config().IsProxylessGRPC()
    }
    
    // NotProxylessGRPC is equivalent to Not(ProxylessGRPC)
    var NotProxylessGRPC = Not(ProxylessGRPC)
    
    var TProxy Matcher = func(i echo.Instance) bool {
    	return i.Config().IsTProxy()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. pilot/pkg/xds/xdsgen.go

    	// See https://www.envoyproxy.io/docs/envoy/latest/api-docs/xds_protocol#deleting-resources.
    	// This means if there are only removals, we will not respond.
    	var logFiltered string
    	if !req.Delta.IsEmpty() && !con.proxy.IsProxylessGrpc() {
    		logFiltered = " filtered:" + strconv.Itoa(len(w.ResourceNames)-len(req.Delta.Subscribed))
    		w = &model.WatchedResource{
    			TypeUrl:       w.TypeUrl,
    			ResourceNames: req.Delta.Subscribed.UnsortedList(),
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/kube/instance.go

    func (c *instance) aggregateResponses(opts echo.CallOptions) (echo.CallResult, error) {
    	// TODO put this somewhere else, or require users explicitly set the protocol - quite hacky
    	if c.Config().IsProxylessGRPC() && (opts.Scheme == scheme.GRPC || opts.Port.Name == "grpc" || opts.Port.Protocol == protocol.GRPC) {
    		// for gRPC calls, use XDS resolver
    		opts.Scheme = scheme.XDS
    	}
    
    	resps := make(echoClient.Responses, 0)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 16 18:55:23 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top