Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for ResourceAttributes (0.31 sec)

  1. staging/src/k8s.io/apiserver/pkg/authorization/cel/compile.go

    		"extra":  extra,
    	}
    	if obj.ResourceAttributes != nil {
    		ret["resourceAttributes"] = map[string]string{
    			"namespace":   obj.ResourceAttributes.Namespace,
    			"verb":        obj.ResourceAttributes.Verb,
    			"group":       obj.ResourceAttributes.Group,
    			"version":     obj.ResourceAttributes.Version,
    			"resource":    obj.ResourceAttributes.Resource,
    			"subresource": obj.ResourceAttributes.Subresource,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 02 20:56:52 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go

    		{
    			name:               "match on user name but not resourceAttributes",
    			attr:               bobAttr,
    			expectedCompileErr: "",
    			expectedDecision:   authorizer.DecisionNoOpinion,
    			expressions: []apiserver.WebhookMatchCondition{
    				{
    					Expression: "request.user == 'bob'",
    				},
    				{
    					Expression: "has(request.resourceAttributes) && request.resourceAttributes.namespace == 'kittensandponies'",
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/authorization/v1beta1/types.go

    type SubjectAccessReviewSpec struct {
    	// ResourceAuthorizationAttributes describes information for a resource access request
    	// +optional
    	ResourceAttributes *ResourceAttributes `json:"resourceAttributes,omitempty" protobuf:"bytes,1,opt,name=resourceAttributes"`
    	// NonResourceAttributes describes information for a non-resource access request
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:26 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/authorization/v1/types.go

    type SubjectAccessReviewSpec struct {
    	// ResourceAuthorizationAttributes describes information for a resource access request
    	// +optional
    	ResourceAttributes *ResourceAttributes `json:"resourceAttributes,omitempty" protobuf:"bytes,1,opt,name=resourceAttributes"`
    	// NonResourceAttributes describes information for a non-resource access request
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/authorization/cel/compile_test.go

    	}
    	resourceAttributesDeclType := buildResourceAttributesType(f, fs)
    	resourceAttributeType := reflect.TypeOf(v1.ResourceAttributes{})
    	if len(resourceAttributesDeclType.Fields) != resourceAttributeType.NumField() {
    		t.Fatalf("expected %d fields for ResourceAttributes, got %d", resourceAttributeType.NumField(), len(resourceAttributesDeclType.Fields))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/authorization/v1beta1/generated.pb.go

    func (m *ResourceAttributes) Reset()      { *m = ResourceAttributes{} }
    func (*ResourceAttributes) ProtoMessage() {}
    func (*ResourceAttributes) Descriptor() ([]byte, []int) {
    	return fileDescriptor_8eab727787743457, []int{4}
    }
    func (m *ResourceAttributes) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ResourceAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 101K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go

    		UID:                   in.UID,
    	}
    }
    
    func v1ResourceAttributesToV1beta1ResourceAttributes(in *authorizationv1.ResourceAttributes) *authorizationv1beta1.ResourceAttributes {
    	if in == nil {
    		return nil
    	}
    	return &authorizationv1beta1.ResourceAttributes{
    		Namespace:   in.Namespace,
    		Verb:        in.Verb,
    		Group:       in.Group,
    		Version:     in.Version,
    		Resource:    in.Resource,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/authorization/v1/generated.pb.go

    func (m *ResourceAttributes) Reset()      { *m = ResourceAttributes{} }
    func (*ResourceAttributes) ProtoMessage() {}
    func (*ResourceAttributes) Descriptor() ([]byte, []int) {
    	return fileDescriptor_aafd0e5e70cec678, []int{4}
    }
    func (m *ResourceAttributes) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ResourceAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 100.9K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/authorization/v1/generated.proto

      // final step in the path.  "*" means all.
      // +optional
      repeated string nonResourceURLs = 2;
    }
    
    // ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface
    message ResourceAttributes {
      // Namespace is the namespace of the action being requested.  Currently, there is no distinction between no namespace and all namespaces
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/authorization/v1beta1/generated.proto

      // final step in the path.  "*" means all.
      // +optional
      // +listType=atomic
      repeated string nonResourceURLs = 2;
    }
    
    // ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface
    message ResourceAttributes {
      // Namespace is the namespace of the action being requested.  Currently, there is no distinction between no namespace and all namespaces
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top