Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,198 for verb (0.22 sec)

  1. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go

    			Namespace:   attr.GetNamespace(),
    			Verb:        attr.GetVerb(),
    			Group:       attr.GetAPIGroup(),
    			Version:     attr.GetAPIVersion(),
    			Resource:    attr.GetResource(),
    			Subresource: attr.GetSubresource(),
    			Name:        attr.GetName(),
    		}
    	} else {
    		r.Spec.NonResourceAttributes = &authorizationv1.NonResourceAttributes{
    			Path: attr.GetPath(),
    			Verb: attr.GetVerb(),
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/watch_termination_test.go

    			requestInfo:        &apirequest.RequestInfo{Verb: "get"},
    			handlerInvoked:     1,
    			statusCodeExpected: http.StatusOK,
    		},
    		{
    			name:                    "request is a WATCH, wait group is in waiting mode",
    			requestInfo:             &apirequest.RequestInfo{Verb: "watch"},
    			wg:                      &fakeRequestWaitGroup{waiting: true},
    			handlerInvoked:          0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:49 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/types.go

    	RequestURI string `json:"requestURI" protobuf:"bytes,4,opt,name=requestURI"`
    	// Verb is the kubernetes verb associated with the request.
    	// For non-resource requests, this is the lower-cased HTTP method.
    	Verb string `json:"verb" protobuf:"bytes,5,opt,name=verb"`
    	// Authenticated user information.
    	User authnv1.UserInfo `json:"user" protobuf:"bytes,6,opt,name=user"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:24:10 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ir/fmt.go

    //	%+v	Debug syntax, as in Dump.
    func fmtNode(n Node, s fmt.State, verb rune) {
    	// %+v prints Dump.
    	// Otherwise we print Go syntax.
    	if s.Flag('+') && verb == 'v' {
    		dumpNode(s, n, 1)
    		return
    	}
    
    	if verb != 'v' && verb != 'S' && verb != 'L' {
    		fmt.Fprintf(s, "%%!%c(*Node=%p)", verb, n)
    		return
    	}
    
    	if n == nil {
    		fmt.Fprint(s, "<nil>")
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/library/authz.go

    }
    
    type pathCheckVal struct {
    	receiverOnlyObjectVal
    	authorizer authorizerVal
    	path       string
    }
    
    func (a pathCheckVal) Authorize(ctx context.Context, verb string) ref.Val {
    	attr := &authorizer.AttributesRecord{
    		Path: a.path,
    		Verb: verb,
    		User: a.authorizer.userInfo,
    	}
    
    	decision, reason, err := a.authorizer.authAuthorizer.Authorize(ctx, attr)
    	return newDecision(decision, err, reason)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    			{name: "post-ignore-validation", path: "/namespaces/default/simples", verb: "POST", data: validJSONDataPost, queryParams: ignoreFieldValidation, expectedStatusCode: http.StatusCreated},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization.go

    	}
    
    	// Start with common attributes that apply to resource and non-resource requests
    	attribs.ResourceRequest = requestInfo.IsResourceRequest
    	attribs.Path = requestInfo.Path
    	attribs.Verb = requestInfo.Verb
    
    	attribs.APIGroup = requestInfo.APIGroup
    	attribs.APIVersion = requestInfo.APIVersion
    	attribs.Resource = requestInfo.Resource
    	attribs.Subresource = requestInfo.Subresource
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ir/mini.go

    // must at the least provide:
    //
    //	func (n *MyNode) String() string { return fmt.Sprint(n) }
    //	func (n *MyNode) rawCopy() Node { c := *n; return &c }
    //	func (n *MyNode) Format(s fmt.State, verb rune) { FmtNode(n, s, verb) }
    //
    // The embedding struct should also fill in n.op in its constructor,
    // for more useful panic messages when invalid methods are called,
    // instead of implementing Op itself.
    type miniNode struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 22:09:44 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  9. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy_test.go

    	for i := range semanticRoles.edit.Rules {
    		rule := semanticRoles.edit.Rules[i]
    		remainingVerbs := []string{}
    		for _, verb := range rule.Verbs {
    			if readVerbs.Has(verb) {
    				remainingVerbs = append(remainingVerbs, verb)
    			}
    		}
    		rule.Verbs = remainingVerbs
    		semanticRoles.edit.Rules[i] = rule
    	}
    
    	// confirm that the view role doesn't already have extra powers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:45:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  10. plugin/pkg/admission/certificates/ctbattest/admission_test.go

    type fakeAuthorizer struct {
    	t           *testing.T
    	verb        string
    	allowedName string
    	decision    authorizer.Decision
    	err         error
    }
    
    func (f fakeAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) {
    	if f.err != nil {
    		return f.decision, "forced error", f.err
    	}
    	if a.GetVerb() != f.verb {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top