Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 472 for verb (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/match_test.go

    			IsResourceRequest: false,
    			Path:              "/openapi/v2",
    			Verb:              "goodverb",
    		},
    		User: ui,
    	}
    	checkRules(t, true, reqRN, []flowcontrol.PolicyRulesWithSubjects{{
    		Subjects: []flowcontrol.Subject{{Kind: flowcontrol.SubjectKindUser,
    			User: &flowcontrol.UserSubject{Name: "goodu"}}},
    		ResourceRules: []flowcontrol.ResourcePolicyRule{{
    			Verbs:      []string{"goodverb"},
    			APIGroups:  []string{"goodapig"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  6. pkg/registry/core/service/ipallocator/controller/repairip_test.go

    		t.Fatalf("Expected at least %d actions, got %d \ndiff: %v", len(expected), len(actions), cmp.Diff(expected, actions))
    	}
    
    	for i, action := range actions {
    		verb := expected[i][0]
    		if action.GetVerb() != verb {
    			t.Errorf("Expected action %d verb to be %s, got %s", i, verb, action.GetVerb())
    		}
    		resource := expected[i][1]
    		if action.GetResource().Resource != resource {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/zz_generated.conversion.go

    	out.Level = audit.Level(in.Level)
    	out.AuditID = types.UID(in.AuditID)
    	out.Stage = audit.Stage(in.Stage)
    	out.RequestURI = in.RequestURI
    	out.Verb = in.Verb
    	out.User = in.User
    	out.ImpersonatedUser = (*authenticationv1.UserInfo)(unsafe.Pointer(in.ImpersonatedUser))
    	out.SourceIPs = *(*[]string)(unsafe.Pointer(&in.SourceIPs))
    	out.UserAgent = in.UserAgent
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 06 19:08:27 UTC 2021
    - 14.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/generated.proto

      optional string stage = 3;
    
      // RequestURI is the request URI as sent by the client to a server.
      optional string requestURI = 4;
    
      // Verb is the kubernetes verb associated with the request.
      // For non-resource requests, this is the lower-cased HTTP method.
      optional string verb = 5;
    
      // Authenticated user information.
      optional .k8s.io.api.authentication.v1.UserInfo user = 6;
    
      // Impersonated user information.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/testing/testing.go

    		return nil
    	}
    	logger := klog.FromContext(ctx)
    	for i, expected := range r.errors {
    		logger.V(4).Info("Trying to match resource verb", "resource", action.GetResource(), "verb", action.GetVerb(), "expectedResource", expected.Resource, "expectedVerb", expected.Verb)
    		if action.Matches(expected.Verb, expected.Resource) {
    			// That's the action we're waiting for, remove it from injectedErrors
    			r.errors = append(r.errors[:i], r.errors[i+1:]...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz_test.go

            # HELP apiserver_request_total [STABLE] Counter of apiserver requests broken out for each verb, dry run value, group, version, resource, scope, component, and HTTP response code.
            # TYPE apiserver_request_total counter
            apiserver_request_total{code="200",component="",dry_run="",group="",resource="",scope="",subresource="/healthz",verb="GET",version=""} 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 20:43:16 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top