Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 88 for responses (0.12 sec)

  1. tests/integration/pilot/original_src_addr_test.go

    	t.Helper()
    	checker := func(result echo.CallResult, inErr error) error {
    		// Check that each response saw one of the workload IPs for the src echo instance
    		for _, r := range result.Responses {
    			found := false
    			for _, ip := range expected {
    				if r.IP == ip {
    					found = true
    				}
    			}
    			if !found {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/kube/instance.go

    		if err != nil {
    			aggErr = multierror.Append(aggErr, err)
    			continue
    		}
    		resps = append(resps, out.Responses...)
    	}
    	if aggErr.ErrorOrNil() != nil {
    		return echo.CallResult{}, aggErr
    	}
    
    	return echo.CallResult{
    		From:      c,
    		Opts:      opts,
    		Responses: resps,
    	}, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 16 18:55:23 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. tests/integration/pilot/headers_test.go

    				"x-envoy-peer-metadata-id",
    				// Tracing decorator. We may consider disabling this if tracing is off?
    				"x-envoy-decorator-operation",
    			)
    
    			checkNoProxyHeaders := check.Each(func(response echoClient.Response) error {
    				for k, v := range response.RequestHeaders {
    					hn := strings.ToLower(k)
    					if allowedClientHeaders.Contains(hn) {
    						// This is allowed
    						continue
    					}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. tests/integration/pilot/locality_test.go

    		}
    		got := map[string]int{}
    		for _, r := range result.Responses {
    			// Hostname will take form of svc-v1-random. We want to extract just 'svc'
    			parts := strings.SplitN(r.Hostname, "-", 2)
    			if len(parts) < 2 {
    				return fmt.Errorf("unexpected hostname: %v", r)
    			}
    			gotHost := parts[0]
    			got[gotHost]++
    		}
    		scopes.Framework.Infof("Got responses: %+v", got)
    		for svc, reqs := range got {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. pilot/pkg/networking/apigen/apigen.go

    // TODO: support WorkloadEntry - to generate endpoints (equivalent with EDS)
    // TODO: based on lessons from MCP, we want to send 'chunked' responses, like apiserver does.
    // A first attempt added a 'sync' record at the end. Based on feedback and common use, a
    // different approach can be used - for large responses, we can mark the last one as 'hasMore'
    // by adding a field to the envelope.
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 05 19:01:38 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. pkg/kube/kclient/delayed.go

    	"istio.io/istio/pkg/ptr"
    )
    
    // delayedClient is a client wrapper that initially starts with an "empty client",
    // but can later be swapped with a real client.
    // The "empty client" returns empty responses for all reads, and fails all writes.
    type delayedClient[T controllers.ComparableObject] struct {
    	inf *atomic.Pointer[Informer[T]]
    
    	delayed kubetypes.DelayedFilter
    
    	hm       sync.Mutex
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 31 02:32:59 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/configdump.go

    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    	sdscompare "istio.io/istio/istioctl/pkg/writer/compare/sds"
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // ConfigWriter is a writer for processing responses from the Envoy Admin config_dump endpoint
    type ConfigWriter struct {
    	Stdout     io.Writer
    	configDump *configdump.Wrapper
    }
    
    // includeConfigType is a flag to indicate whether to include the config type in the output
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/util/traffic/result.go

    	_, _ = fmt.Fprintf(buf, "Errors:              %v\n", r.Error)
    
    	return buf.String()
    }
    
    func (r *Result) add(result echo.CallResult, err error) {
    	count := result.Responses.Len()
    	if count == 0 {
    		count = 1
    	}
    
    	r.TotalRequests += count
    	if err != nil {
    		r.Error = multierror.Append(r.Error, fmt.Errorf("request %d: %v", r.TotalRequests, err))
    	} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  9. pilot/pkg/networking/grpcgen/grpcgen.go

    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pkg/config/host"
    	istiolog "istio.io/istio/pkg/log"
    )
    
    // Support generation of 'ApiListener' LDS responses, used for native support of gRPC.
    // The same response can also be used by other apps using XDS directly.
    
    // GRPC proposal:
    // https://github.com/grpc/proposal/blob/master/A27-xds-global-load-balancing.md
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. pkg/lazy/lazy.go

    	Get() (T, error)
    }
    
    type lazyImpl[T any] struct {
    	getter func() (T, error)
    	// retry, if true, will ensure getter() is called for each Get() until a non-nil error is returned.
    	retry bool
    
    	// Cached responses. Note: with retry enabled, this will be unset until a non-nil error
    	res T
    	err error
    
    	done uint32
    	m    sync.Mutex
    }
    
    var _ Lazy[any] = &lazyImpl[any]{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 17 22:54:10 UTC 2022
    - 2.2K bytes
    - Viewed (0)
Back to top