Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildResourceAttributesType (0.24 sec)

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

    		field("uid", apiservercel.StringType, false),
    	))
    }
    
    // buildResourceAttributesType generates a DeclType for ResourceAttributes.
    // if attributes are added here, also add to convertObjectToUnstructured.
    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/pkg/authorization/cel/compile_test.go

    	if len(requestDeclType.Fields) != requestType.NumField() {
    		t.Fatalf("expected %d fields for SubjectAccessReviewSpec, got %d", requestType.NumField(), len(requestDeclType.Fields))
    	}
    	resourceAttributesDeclType := buildResourceAttributesType(f, fs)
    	resourceAttributeType := reflect.TypeOf(v1.ResourceAttributes{})
    	if len(resourceAttributesDeclType.Fields) != resourceAttributeType.NumField() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top