Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 103 for responses (0.14 sec)

  1. pilot/cmd/pilot-agent/status/server_test.go

    	"istio.io/istio/pkg/test/util/retry"
    )
    
    type handler struct {
    	// LastALPN stores the most recent ALPN requested. This is needed to determine info about a request,
    	// since the appProber strips all headers/responses.
    	lastAlpn *atomic.String
    }
    
    const (
    	testHeader      = "Some-Header"
    	testHeaderValue = "some-value"
    	testHostValue   = "test.com:9999"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. security/pkg/server/ca/server_test.go

    		}
    		response, err := server.CreateCertificate(ctx, request)
    
    		s, _ := status.FromError(err)
    		code := s.Code()
    		if code != c.code {
    			t.Errorf("Case %s: expecting code to be (%d) but got (%d): %s", id, c.code, code, s.Message())
    		} else if c.code == codes.OK {
    			if len(response.CertChain) != len(mockCertChain) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. tests/integration/security/egress_gateway_origination_test.go

    		},
    		Check: check.And(
    			check.NoErrorAndStatus(statusCode),
    			check.Each(func(r echoClient.Response) error {
    				if _, f := r.RequestHeaders["Handled-By-Egress-Gateway"]; useGateway && !f {
    					return fmt.Errorf("expected to be handled by gateway. response: %s", r)
    				}
    				return nil
    			})),
    	}
    }
    
    func newTLSGatewayTest(t framework.TestContext) *echotest.T {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. tests/integration/security/filebased_tls_origination/egress_gateway_origination_test.go

    							},
    							Check: check.And(
    								check.NoError(),
    								check.Status(tc.code),
    								check.Each(func(r echoClient.Response) error {
    									if _, f := r.RequestHeaders["Handled-By-Egress-Gateway"]; tc.gateway && !f {
    										return fmt.Errorf("expected to be handled by gateway. response: %s", r)
    									}
    									return nil
    								})),
    						}
    
    						internalClient[0].CallOrFail(t, opts)
    					})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. istioctl/pkg/wait/wait.go

    	}
    	sdcnum = 0
    	versionCount := make(map[string]int)
    	for _, response := range pilotResponses {
    		var configVersions []xds.SyncedVersions
    		err = json.Unmarshal(response, &configVersions)
    		if err != nil {
    			respStr := string(response)
    			if strings.Contains(respStr, xds.DistributionTrackingDisabledMessage) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 17 12:24:17 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. pilot/pkg/model/context.go

    	node.Lock()
    	defer node.Unlock()
    
    	node.WatchedResources[typeURL] = &WatchedResource{TypeUrl: typeURL, ResourceNames: names}
    	// For all EDS requests that we have already responded with in the same stream let us
    	// force the response. It is important to respond to those requests for Envoy to finish
    	// warming of those resources(Clusters).
    	// This can happen with the following sequence
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  7. pkg/istio-agent/xds_proxy_delta_test.go

    		t.Fatalf("Expected to get cluster response but got %v", res)
    	}
    	err = downstream.Send(&discovery.DeltaDiscoveryRequest{TypeUrl: v3.ListenerType, Node: node})
    	if err != nil {
    		t.Fatal(err)
    	}
    	res, err = downstream.Recv()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if res == nil || res.TypeUrl != v3.ListenerType {
    		t.Fatalf("Expected to get listener response but got %v", res)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 04:48:02 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. istioctl/pkg/internaldebug/internal-debug.go

    	writer io.Writer,
    	istioNamespace string,
    	xdsResponses map[string]*discovery.DiscoveryResponse,
    ) (map[string]*discovery.DiscoveryResponse, error) {
    	for _, response := range xdsResponses {
    		for _, resource := range response.Resources {
    			eString := string(resource.Value)
    			switch {
    			case strings.Contains(eString, "You must provide a proxyID in the query string"):
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 04:16:55 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/deploymentcontroller_test.go

    	defaultGateway.Annotations = map[string]string{ControllerVersionAnnotation: fmt.Sprint(ControllerVersion)}
    	gws.Update(defaultGateway)
    	expectReconciled()
    	// We shouldn't write in response to our write.
    	assert.ChannelIsEmpty(t, writes)
    
    	defaultGateway.Annotations["foo"] = "bar"
    	gws.Update(defaultGateway)
    	expectReconciled()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  10. pkg/dns/server/name_table.go

    						// We take only cluster-local endpoints. While this seems contradictory to
    						// our logic other parts of the code, where cross-cluster is the default.
    						// However, this only impacts the DNS response. If we were to send all
    						// endpoints, cross network routing would break, as we do passthrough LB and
    						// don't go through the network gateway. While we could, hypothetically, send
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top