Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 79 for PolicyRule (0.2 sec)

  1. staging/src/k8s.io/api/rbac/v1beta1/types.go

    // 2. evaluation of RoleBindings in the namespace requested - short circuit on match
    // 3. deny by default
    
    // PolicyRule holds information that describes a policy rule, but does not contain information
    // about who the rule applies to or which namespace the rule applies to.
    type PolicyRule struct {
    	// Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
    	// +listType=atomic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. pkg/registry/rbac/clusterrole/policybased/storage_test.go

    		}
    		return authorizer.DecisionNoOpinion, "", nil
    	})
    	fakeRuleResolver, _ := validation.NewTestRuleResolver(
    		nil,
    		nil,
    		[]*rbacv1.ClusterRole{{ObjectMeta: metav1.ObjectMeta{Name: "alice-role"}, Rules: []rbacv1.PolicyRule{{APIGroups: []string{"*"}, Resources: []string{"*"}, Verbs: []string{"*"}}}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 09 13:47:19 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/generated.proto

      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      repeated Policy items = 2;
    }
    
    // PolicyRule maps requests based off metadata to an audit Level.
    // Requests must match the rules of every field (an intersection of rules).
    message PolicyRule {
      // The Level that requests matching this rule are recorded at.
      optional string level = 1;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/audit/types.go

    type PolicyList struct {
    	metav1.TypeMeta
    	// +optional
    	metav1.ListMeta
    
    	Items []Policy
    }
    
    // PolicyRule maps requests based off metadata to an audit Level.
    // Requests must match the rules of every field (an intersection of rules).
    type PolicyRule struct {
    	// The Level that requests matching this rule are recorded at.
    	Level Level
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 09:18:23 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/rbac/v1/types_swagger_doc_generated.go

    	"items":    "Items is a list of ClusterRoles",
    }
    
    func (ClusterRoleList) SwaggerDoc() map[string]string {
    	return map_ClusterRoleList
    }
    
    var map_PolicyRule = map[string]string{
    	"":                "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 24 20:35:20 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/rbac/v1alpha1/types_swagger_doc_generated.go

    	"items":    "Items is a list of ClusterRoles",
    }
    
    func (ClusterRoleList) SwaggerDoc() map[string]string {
    	return map_ClusterRoleList
    }
    
    var map_PolicyRule = map[string]string{
    	"":                "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  7. pkg/apis/rbac/validation/validation.go

    	return allErrs
    }
    
    // ValidatePolicyRule is exported to allow types outside of the RBAC API group to embed a rbac.PolicyRule and reuse this validation logic
    func ValidatePolicyRule(rule rbac.PolicyRule, isNamespaced bool, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	if len(rule.Verbs) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:48:21 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/rbac/v1beta1/types_swagger_doc_generated.go

    	"items":    "Items is a list of ClusterRoles",
    }
    
    func (ClusterRoleList) SwaggerDoc() map[string]string {
    	return map_ClusterRoleList
    }
    
    var map_PolicyRule = map[string]string{
    	"":                "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/bootstraptoken/clusterinfo/clusterinfo.go

    	err := apiclient.CreateOrUpdateRole(client, &rbac.Role{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      BootstrapSignerClusterRoleName,
    			Namespace: metav1.NamespacePublic,
    		},
    		Rules: []rbac.PolicyRule{
    			{
    				Verbs:         []string{"get"},
    				APIGroups:     []string{""},
    				Resources:     []string{"configmaps"},
    				ResourceNames: []string{bootstrapapi.ConfigMapClusterInfo},
    			},
    		},
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 17 14:40:46 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/bootstraptoken/node/tlsbootstrap.go

    	if err := apiclient.CreateOrUpdateClusterRole(client, &rbac.ClusterRole{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: constants.GetNodesClusterRoleName,
    		},
    		Rules: []rbac.PolicyRule{
    			{
    				Verbs:     []string{"get"},
    				APIGroups: []string{""},
    				Resources: []string{"nodes"},
    			},
    		},
    	}); err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 15 10:49:52 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top