Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for responses (0.58 sec)

  1. istioctl/pkg/writer/compare/comparator.go

    		err := json.Unmarshal(resp, istiodDump)
    		if err != nil {
    			continue
    		}
    		c.istiod = istiodDump
    		break
    	}
    	if c.istiod == nil {
    		return nil, fmt.Errorf("unable to find config dump in Istiod responses")
    	}
    	envoyDump := &configdump.Wrapper{}
    	err := json.Unmarshal(envoyResponse, envoyDump)
    	if err != nil {
    		return nil, err
    	}
    	c.envoy = envoyDump
    	c.w = w
    	c.context = 7
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. pkg/xds/monitoring.go

    		"pilot_xds_rds_reject",
    		"Pilot rejected RDS.",
    	)
    
    	totalXDSRejects = monitoring.NewSum(
    		"pilot_total_xds_rejects",
    		"Total number of XDS responses from pilot rejected by proxy.",
    	)
    
    	ResponseWriteTimeouts = monitoring.NewSum(
    		"pilot_xds_write_timeout",
    		"Pilot XDS response write timeouts.",
    	)
    
    	sendTime = monitoring.NewDistribution(
    		"pilot_xds_send_time",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pilot/pkg/xds/deltatest.go

    )
    
    var knownOptimizationGaps = sets.New(
    	"BlackHoleCluster",
    	"InboundPassthroughCluster",
    	"PassthroughCluster",
    )
    
    // compareDiff compares a Delta and SotW XDS response. This allows checking that the Delta XDS
    // response returned the optimal result. Checks include correctness checks (e.g. if a config changed,
    // we must include it) and possible optimizations (e.g. we sent a config, but it was not changed).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. pkg/webhooks/validation/server/server.go

    		} else {
    			reviewResponse = admit(ar.Request)
    		}
    	}
    
    	response := kube.AdmissionReview{}
    	response.Response = reviewResponse
    	var responseKube runtime.Object
    	var apiVersion string
    	if ar != nil {
    		apiVersion = ar.APIVersion
    		response.TypeMeta = ar.TypeMeta
    		if response.Response != nil {
    			if ar.Request != nil {
    				response.Response.UID = ar.Request.UID
    			}
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 04 06:13:56 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    		_, _, codec := cmdtesting.NewExternalScheme()
    		tf.UnstructuredClient = &fake.RESTClient{
    			NegotiatedSerializer: resource.UnstructuredPlusDefaultContentConfig().NegotiatedSerializer,
    			Resp: &http.Response{
    				StatusCode: http.StatusOK,
    				Header:     cmdtesting.DefaultHeader(),
    				Body: cmdtesting.ObjBody(codec,
    					cmdtesting.NewInternalType("", "", "foo")),
    			},
    		}
    		return tf
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top