Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 627 for verb2 (0.04 sec)

  1. plugin/pkg/auth/authorizer/rbac/rbac_test.go

    				nonresourceRequest("verb1").URL("/foo/baz").New():     false,
    				nonresourceRequest("verb1").URL("/foo/bar/one").New(): true,
    				nonresourceRequest("verb1").URL("/foo/baz/one").New(): false,
    				nonresourceRequest("verb2").URL("/foo").New():         true,
    				nonresourceRequest("verb2").URL("/foo/bar").New():     false,
    				nonresourceRequest("verb2").URL("/foo/baz").New():     false,
    				nonresourceRequest("verb2").URL("/foo/bar/one").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)
  2. pkg/auth/authorizer/abac/abac_test.go

    		{User: uScheduler, Verb: "create", Resource: "pods", NS: "ns1", ExpectDecision: authorizer.DecisionNoOpinion},
    		{User: uScheduler, Verb: "create", Resource: "pods", NS: "", ExpectDecision: authorizer.DecisionNoOpinion},
    		// Scheduler can write bindings
    		{User: uScheduler, Verb: "get", Resource: "bindings", NS: "ns1", ExpectDecision: authorizer.DecisionAllow},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 40K bytes
    - Viewed (0)
  3. pkg/apis/rbac/helpers_test.go

    	role := &rbac.Role{
    		Rules: []rbac.PolicyRule{
    			rbac.NewRule("verb").Groups("g").Resources("foo").RuleOrDie(),
    			rbac.NewRule("verb").URLs("/foo").RuleOrDie(),
    		},
    	}
    	clusterRole := &rbac.ClusterRole{
    		Rules: []rbac.PolicyRule{
    			rbac.NewRule("verb").Groups("g").Resources("foo").RuleOrDie(),
    			rbac.NewRule("verb").URLs("/foo").RuleOrDie(),
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. src/fmt/doc.go

    string finds no spaces to consume in the input.
    
    The verbs behave analogously to those of [Printf].
    For example, %x will scan an integer as a hexadecimal number,
    and %v will scan the default representation format for the value.
    The [Printf] verbs %p and %T and the flags # and + are not implemented.
    For floating-point and complex values, all valid formatting verbs
    (%b %e %E %f %F %g %G %x %X and %v) are equivalent and accept
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/authorization/v1beta1/types.go

    // may contain duplicates, and possibly be incomplete.
    type ResourceRule struct {
    	// Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy.  "*" means all.
    	// +listType=atomic
    	Verbs []string `json:"verbs" protobuf:"bytes,1,rep,name=verbs"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:26 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/match_test.go

    		ResourceRules: []flowcontrol.ResourcePolicyRule{{
    			Verbs:      []string{"goodverb"},
    			APIGroups:  []string{"goodapig"},
    			Resources:  []string{"goodrscs"},
    			Namespaces: []string{"goodns"}}}}, {
    		Subjects: []flowcontrol.Subject{{Kind: flowcontrol.SubjectKindUser,
    			User: &flowcontrol.UserSubject{Name: "*"}}},
    		ResourceRules: []flowcontrol.ResourcePolicyRule{{
    			Verbs:      []string{"goodverb"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo.go

    		}
    
    		requestInfo.Verb = currentParts[0]
    		currentParts = currentParts[1:]
    
    	} else {
    		switch req.Method {
    		case "POST":
    			requestInfo.Verb = "create"
    		case "GET", "HEAD":
    			requestInfo.Verb = "get"
    		case "PUT":
    			requestInfo.Verb = "update"
    		case "PATCH":
    			requestInfo.Verb = "patch"
    		case "DELETE":
    			requestInfo.Verb = "delete"
    		default:
    			requestInfo.Verb = ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 23 13:24:29 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  8. pkg/registry/rbac/validation/policy_compact_test.go

    			Rules: []rbacv1.PolicyRule{
    				{Verbs: []string{"get"}, APIGroups: []string{""}, Resources: []string{"builds"}},
    				{Verbs: []string{"list"}, APIGroups: []string{""}, Resources: []string{"builds"}},
    				{Verbs: []string{"update", "patch"}, APIGroups: []string{""}, Resources: []string{"builds"}},
    
    				{Verbs: []string{"create"}, APIGroups: []string{"extensions"}, Resources: []string{"daemonsets"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 02 16:51:16 UTC 2020
    - 9.5K bytes
    - Viewed (0)
  9. cluster/gce/gci/audit_policy_test.go

    		}
    	}
    	require.NotEmpty(t, verbs, "testcases must have a verb")
    	require.NotEmpty(t, users, "testcases must have a user")
    	require.NotEmpty(t, resources, "resource testcases must have a resource")
    
    	for _, usr := range users {
    		for _, verb := range verbs {
    			for _, res := range resources {
    				attrs := &authorizer.AttributesRecord{
    					User:            usr,
    					Verb:            verb,
    					Namespace:       res.Namespace,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 30 06:23:50 UTC 2021
    - 9.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/authorization/v1/types.go

    // may contain duplicates, and possibly be incomplete.
    type ResourceRule struct {
    	// Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy.  "*" means all.
    	// +listType=atomic
    	Verbs []string `json:"verbs" protobuf:"bytes,1,rep,name=verbs"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top