Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for nonResource (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/audit/policy/checker_test.go

    	test(t, "nonResource", audit.LevelMetadata, stages, stages, "default")
    	test(t, "nonResource", audit.LevelNone, stages, stages, "create")
    	test(t, "nonResource", audit.LevelMetadata, stages, stages, "tims")
    	test(t, "nonResource", audit.LevelMetadata, stages, stages, "humans")
    	test(t, "nonResource", audit.LevelNone, stages, stages, "serviceAccounts")
    	test(t, "nonResource", audit.LevelNone, stages, stages, "getPods")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 12 15:06:14 UTC 2021
    - 15.1K bytes
    - Viewed (0)
  2. plugin/pkg/auth/authorizer/rbac/rbac_test.go

    				resourceRequest("verb2").Group("group2").Resource("resource2").Subresource("subresource1").New(): false,
    			},
    		},
    		{
    			name: "star nonresource, exact match other",
    			rule: rbacv1helpers.NewRule("verb1").URLs("*").RuleOrDie(),
    			requestsToExpected: map[authorizer.AttributesRecord]bool{
    				nonresourceRequest("verb1").URL("/foo").New():         true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 21.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo.go

    // /api/{version}/proxy/namespaces/{namespace}/{resource}/{resourceName}
    //
    // Special verbs with subresources:
    // /api/{version}/watch/{resource}
    // /api/{version}/watch/namespaces/{namespace}/{resource}
    //
    // NonResource paths
    // /apis/{api-group}/{version}
    // /apis/{api-group}
    // /apis
    // /api/{version}
    // /api
    // /healthz
    // /
    func (r *RequestInfoFactory) NewRequestInfo(req *http.Request) (*RequestInfo, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 23 13:24:29 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  4. src/cmd/trace/gstate.go

    	"strings"
    )
    
    // resource is a generic constraint interface for resource IDs.
    type resource interface {
    	trace.GoID | trace.ProcID | trace.ThreadID
    }
    
    // noResource indicates the lack of a resource.
    const noResource = -1
    
    // gState represents the trace viewer state of a goroutine in a trace.
    //
    // The type parameter on this type is the resource which is used to construct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. src/cmd/trace/gen.go

    }
    
    // StackSample implements a stack sample event handler. It expects ev to be one such event.
    func (g *stackSampleGenerator[R]) StackSample(ctx *traceContext, ev *trace.Event) {
    	id := g.getResource(ev)
    	if id == R(noResource) {
    		// We have nowhere to put this in the UI.
    		return
    	}
    	ctx.Instant(traceviewer.InstantEvent{
    		Name:     "CPU profile sample",
    		Ts:       ctx.elapsed(ev.Time()),
    		Resource: uint64(id),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. pkg/auth/authorizer/abac/abac_test.go

    		 {"apiVersion":"abac.authorization.kubernetes.io/v1beta1","kind":"Policy","spec":{"user":"noresource",                                                                         "nonResourcePath": "*"}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 40K bytes
    - Viewed (0)
Back to top