Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 266 for Req (0.57 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/filters/webhook_duration.go

    	return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		ctx := req.Context()
    		requestInfo, ok := request.RequestInfoFrom(ctx)
    		if !ok {
    			handleError(w, req, http.StatusInternalServerError, nil, "no RequestInfo found in context, handler chain must be wrong")
    			return
    		}
    
    		if watchVerbs.Has(requestInfo.Verb) {
    			handler.ServeHTTP(w, req)
    			return
    		}
    
    		req = req.WithContext(request.WithLatencyTrackers(ctx))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 21:12:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. pilot/pkg/xds/lds.go

    			return true
    		}
    		// Otherwise, only handle full pushes (skip endpoint-only updates)
    		if !req.Full {
    			return false
    		}
    	default:
    		if !req.Full {
    			// LDS only handles full push
    			return false
    		}
    	}
    	// If none set, we will always push
    	if len(req.ConfigsUpdated) == 0 {
    		return true
    	}
    	for config := range req.ConfigsUpdated {
    		if !skippedLdsConfigs[proxy.Type].Contains(config.Kind) {
    			return true
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 15:58:06 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/filters/watch_termination.go

    		// that it is shutting down.
    		ctx = apirequest.WithServerShutdownSignal(req.Context(), termination)
    		req = req.WithContext(ctx)
    
    		defer wg.Done()
    		handler.ServeHTTP(w, req)
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:49 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ioctl_zos.go

    }
    
    // IoctlSetTermios performs an ioctl on fd with a *Termios.
    //
    // The req value is expected to be TCSETS, TCSETSW, or TCSETSF
    func IoctlSetTermios(fd int, req int, value *Termios) error {
    	if (req != TCSETS) && (req != TCSETSW) && (req != TCSETSF) {
    		return ENOSYS
    	}
    	err := Tcsetattr(fd, int(req), value)
    	runtime.KeepAlive(value)
    	return err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. pilot/pkg/xds/workload.go

    func (e WorkloadGenerator) GenerateDeltas(
    	proxy *model.Proxy,
    	req *model.PushRequest,
    	w *model.WatchedResource,
    ) (model.Resources, model.DeletedResources, model.XdsLogDetails, bool, error) {
    	updatedAddresses := model.ConfigNameOfKind(req.ConfigsUpdated, kind.Address)
    	isReq := req.IsRequest()
    	if len(updatedAddresses) == 0 && len(req.ConfigsUpdated) > 0 {
    		// Nothing changed..
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 14:14:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. internal/kms/secret-key.go

    	if req.Name != s.keyID {
    		return ErrNotSupported
    	}
    	return ErrKeyExists
    }
    
    // GenerateKey decrypts req.Ciphertext. The key name req.Name must match the key
    // name of the secretKey.
    //
    // The returned DEK is encrypted using AES-GCM and the ciphertext format is compatible
    // with KES and MinKMS.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. pkg/ctrlz/home.go

    		if req.URL.Path == "/" {
    			// home page
    			fw.RenderHTML(w, homeTmpl, getHomeInfo())
    		} else if req.URL.Path == "/homej" || req.URL.Path == "/homej/" {
    			fw.RenderJSON(w, http.StatusOK, getHomeInfo())
    		} else if a, err := assets.FS.ReadFile("static" + req.URL.Path); err == nil {
    			// static asset
    			ext := strings.ToLower(filepath.Ext(req.URL.Path))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/httplog/httplog.go

    		return rl
    	}
    	return nil
    }
    
    func respLoggerFromRequest(req *http.Request) *respLogger {
    	return respLoggerFromContext(req.Context())
    }
    
    func newLoggedWithStartTime(req *http.Request, w http.ResponseWriter, startTime time.Time) *respLogger {
    	logger := &respLogger{
    		startTime:         startTime,
    		req:               req,
    		userAgent:         req.UserAgent(),
    		w:                 w,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 10:10:35 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  9. maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java

        }
    
        public void add(ModelProblemCollectorRequest req) {
            switch (req.getSeverity()) {
                case FATAL:
                    if (!fatals.contains(req.getMessage())) {
                        fatals.add(req.getMessage());
                    }
                    break;
                case ERROR:
                    if (!errors.contains(req.getMessage())) {
                        errors.add(req.getMessage());
                    }
                    break;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Sep 11 16:17:26 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. cmd/post-policy-fan-out.go

    				}
    			}()
    
    			userDefined := make(map[string]string, len(req.UserMetadata))
    			for k, v := range req.UserMetadata {
    				userDefined[k] = v
    			}
    			userDefined[xhttp.AmzObjectTagging] = s3utils.TagEncode(req.UserTags)
    
    			if opts.Kind != nil {
    				encrd, objectEncryptionKey, err := newEncryptReader(ctx, hr, opts.Kind, opts.KeyID, opts.Key, bucket, req.Key, userDefined, opts.KmsCtx)
    				if err != nil {
    					errs[idx] = err
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top