Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 103 for responses (0.29 sec)

  1. 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)
  2. 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)
  3. pkg/istio-agent/xds_proxy_delta.go

    		case resp := <-con.deltaResponsesChan:
    			// TODO: separate upstream response handling from requests sending, which are both time costly
    			proxyLog.WithLabels(
    				"id", con.conID,
    				"type", model.GetShortType(resp.TypeUrl),
    				"nonce", resp.Nonce,
    				"resources", len(resp.Resources),
    				"removes", len(resp.RemovedResources),
    			).Debugf("upstream response")
    			metrics.XdsProxyResponses.Increment()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. pkg/dns/client/dns_test.go

    		},
    		{
    			// This is not a NXDOMAIN, but empty response
    			name: "success: Error response if only AAAA records exist for typeA",
    			host: "ipv6.localhost.",
    		},
    		{
    			// This is not a NXDOMAIN, but empty response
    			name:      "success: Error response if only A records exist for typeAAAA",
    			host:      "ipv4.localhost.",
    			queryAAAA: true,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. 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)
  6. pilot/pkg/model/jwks_resolver.go

    // (right now calls it from initDiscoveryService in pkg/bootstrap/server.go).
    func (r *JwksResolver) Close() {
    	closeChan <- true
    }
    
    // Compare two JWKS responses, returning true if there is a difference and false otherwise
    func compareJWKSResponse(oldKeyString string, newKeyString string) (bool, error) {
    	if oldKeyString == newKeyString {
    		return false, nil
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. pilot/pkg/xds/workload.go

    // and supports *on-demand* client usage. A client can subscribe with a wildcard subscription and get all
    // resources (with delta updates), or on-demand and only get responses for specifically subscribed resources.
    //
    // Incoming requests may be for VIP or Pod IP addresses. However, all responses are Workload resources, which are pod based.
    // This means subscribing to a VIP may end up pushing many resources of different name than the request.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 14:14:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    package configdump
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"text/tabwriter"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/maps"
    )
    
    // ConfigWriter is a writer for processing responses from the Ztunnel Admin config_dump endpoint
    type ConfigWriter struct {
    	Stdout      io.Writer
    	ztunnelDump *ZtunnelDump
    	FullDump    []byte
    }
    
    type rawDump struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/configgen.go

    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pilot/pkg/model"
    	dnsProto "istio.io/istio/pkg/dns/proto"
    )
    
    // ConfigGenerator represents the interfaces to be implemented by code that generates xDS responses
    type ConfigGenerator interface {
    	// BuildListeners returns the list of inbound/outbound listeners for the given proxy. This is the LDS output
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. tests/integration/pilot/tunneling_test.go

    		HTTP: echo.HTTP{
    			Path: "/" + testName,
    		},
    	})
    	if err != nil {
    		return fmt.Errorf("failed to request to external service: %s", err)
    	}
    	if res.Responses[0].Code != "200" {
    		return fmt.Errorf("expected to get 200 status code, got: %s", res.Responses[0].Code)
    	}
    	return nil
    }
    
    func verifyThatRequestWasTunneled(target echo.Instance, expectedSourceIPs []corev1.PodIP, expectedPath string) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top