Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsResourceRequest (0.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer.go

    	GetUser() user.Info
    	GetVerb() string
    	IsReadOnly() bool
    	GetNamespace() string
    	GetResource() string
    	GetSubresource() string
    	GetName() string
    	GetAPIGroup() string
    	GetAPIVersion() string
    	IsResourceRequest() bool
    	GetPath() string
    })(nil)
    
    // The user info accessors known to cache key construction. If this fails to compile, the cache
    // implementation may need to be updated.
    var _ user.Info = (interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/filters/traces.go

    		otelhttp.WithTracerProvider(tp),
    		otelhttp.WithSpanNameFormatter(func(operation string, r *http.Request) string {
    			ctx := r.Context()
    			info, exist := request.RequestInfoFrom(ctx)
    			if !exist || !info.IsResourceRequest {
    				return r.Method
    			}
    			return getSpanNameFromRequestInfo(info, r)
    		}),
    	}
    	wrappedHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 15 01:42:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top