Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 88 for Freq (0.04 sec)

  1. pkg/istio-agent/xds_proxy.go

    			Node:                   req.Node,
    			TypeUrl:                req.TypeUrl,
    			ResourceNamesSubscribe: req.ResourceNames,
    		})
    	} else {
    		connection.sendRequest(req)
    	}
    
    	delay := time.NewTimer(timeout)
    	defer delay.Stop()
    
    	// Wait for expected response or timeout
    	for {
    		select {
    		case res := <-p.tapResponseChannel:
    			if res.TypeUrl == req.TypeUrl {
    				return res, nil
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  2. cmd/signature-v4.go

    	for k, v := range req.Form {
    		if !defaultSigParams.Contains(k) {
    			query[k] = v
    		}
    	}
    
    	// Get the encoded query.
    	encodedQuery := query.Encode()
    
    	// Verify if date query is same.
    	if req.Form.Get(xhttp.AmzDate) != query.Get(xhttp.AmzDate) {
    		return ErrSignatureDoesNotMatch
    	}
    	// Verify if expires query is same.
    	if req.Form.Get(xhttp.AmzExpires) != query.Get(xhttp.AmzExpires) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. cmd/post-policy_test.go

    	req.Header.Set("Content-Type", contentTypeHdr)
    	req.Header.Set("User-Agent", "Mozilla")
    
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    
    	ctx, cancel := context.WithCancel(GlobalContext)
    	defer cancel()
    
    	// Now check if we actually wrote to backend (regardless of the response
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. cmd/utils.go

    	req := logger.GetReqInfo(ctx)
    	if req != nil {
    		req.Lock()
    		defer req.Unlock()
    		req.Objects = make([]logger.ObjectVersion, 0, len(objects))
    		for _, ov := range objects {
    			req.Objects = append(req.Objects, logger.ObjectVersion{
    				ObjectName: ov.ObjectName,
    				VersionID:  ov.VersionID,
    			})
    		}
    		return logger.SetReqInfo(ctx, req)
    	}
    	return ctx
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 22:00:34 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  5. pkg/kube/inject/webhook.go

    func injectPod(req InjectionParameters) ([]byte, error) {
    	checkPreconditions(req)
    
    	// The patch will be built relative to the initial pod, capture its current state
    	originalPodSpec, err := json.Marshal(req.pod)
    	if err != nil {
    		return nil, err
    	}
    
    	// Run the injection template, giving us a partial pod spec
    	mergedPod, injectedPodData, err := RunTemplate(req)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_builder.go

    	// If stat name is configured, build the alt statname.
    	if len(cb.req.Push.Mesh.InboundClusterStatName) != 0 {
    		localCluster.cluster.AltStatName = telemetry.BuildStatPrefix(cb.req.Push.Mesh.InboundClusterStatName,
    			string(instance.Service.Hostname), "", instance.Port.ServicePort, clusterPort, &instance.Service.Attributes)
    	}
    
    	opts := buildClusterOpts{
    		mesh:            cb.req.Push.Mesh,
    		mutable:         localCluster,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go

    	return func(w http.ResponseWriter, req *http.Request) {
    		ctx := req.Context()
    		// For performance tracking purposes.
    		ctx, span := tracing.Start(ctx, "Patch", traceFields(req)...)
    		defer span.End(500 * time.Millisecond)
    
    		// Do this first, otherwise name extraction can fail for unrecognized content types
    		// TODO: handle this in negotiation
    		contentType := req.Header.Get("Content-Type")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. pkg/xds/server.go

    		if firstRequest {
    			// probe happens before envoy sends first xDS request
    			if req.TypeUrl == model.HealthInfoType {
    				log.Warnf("ADS: %q %s send health check probe before normal xDS request", con.peerAddr, con.conID)
    				continue
    			}
    			firstRequest = false
    			if req.Node == nil || req.Node.Id == "" {
    				con.errorChan <- status.New(codes.InvalidArgument, "missing node information").Err()
    				return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. pkg/kubelet/server/server.go

    		return
    	}
    
    	handlePprofEndpoint := func(req *restful.Request, resp *restful.Response) {
    		name := strings.TrimPrefix(req.Request.URL.Path, pprofBasePath)
    		switch name {
    		case "profile":
    			pprof.Profile(resp, req.Request)
    		case "symbol":
    			pprof.Symbol(resp, req.Request)
    		case "cmdline":
    			pprof.Cmdline(resp, req.Request)
    		case "trace":
    			pprof.Trace(resp, req.Request)
    		default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  10. cmd/streaming-signature-v4.go

    func newSignV4ChunkedReader(req *http.Request, trailer bool) (io.ReadCloser, APIErrorCode) {
    	cred, seedSignature, region, seedDate, errCode := calculateSeedSignature(req, trailer)
    	if errCode != ErrNone {
    		return nil, errCode
    	}
    
    	if trailer {
    		// Discard anything unsigned.
    		req.Trailer = make(http.Header)
    		trailers := req.Header.Values(awsTrailerHeader)
    		for _, key := range trailers {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top