Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for structuredData (0.2 sec)

  1. pkg/scheduler/framework/plugins/dynamicresources/structuredparameters_test.go

    						allocation := instance1Allocation.DeepCopy()
    						allocation.ResourceHandles[0].StructuredData.VendorClassParameters = runtime.RawExtension{Raw: []byte("class-parameters")}
    						allocation.ResourceHandles[0].StructuredData.VendorClaimParameters = runtime.RawExtension{Raw: []byte("claim-parameters")}
    						allocation.ResourceHandles[0].StructuredData.Results[0].VendorRequestParameters = runtime.RawExtension{Raw: []byte("request-parameters")}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 09:27:01 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/dynamicresources/structuredparameters.go

    		}
    		handle := resourcev1alpha2.ResourceHandle{
    			DriverName: driverName,
    			StructuredData: &resourcev1alpha2.StructuredResourceHandle{
    				NodeName: nodeName,
    			},
    		}
    		for i, result := range results {
    			if result == nil {
    				continue
    			}
    			handle.StructuredData.Results = append(handle.StructuredData.Results,
    				resourcev1alpha2.DriverAllocationResult{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 22 09:03:22 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha2.ResourceClaim.json

      },
      "status": {
        "driverName": "driverNameValue",
        "allocation": {
          "resourceHandles": [
            {
              "driverName": "driverNameValue",
              "data": "dataValue",
              "structuredData": {
                "vendorClassParameters": {
                  "apiVersion": "example.com/v1",
                  "kind": "CustomType",
                  "spec": {
                    "replicas": 1
                  },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:16 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. pkg/apis/resource/validation/validation_resourceclaim_test.go

    						{
    							DriverName: "valid",
    							StructuredData: &resource.StructuredResourceHandle{
    								NodeName: "worker",
    							},
    						},
    					},
    				}
    				return claim
    			},
    		},
    		"invalid-add-allocation-structured": {
    			wantFailures: field.ErrorList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.ResourceClaim.yaml

            matchFields:
            - key: keyValue
              operator: operatorValue
              values:
              - valuesValue
        resourceHandles:
        - data: dataValue
          driverName: driverNameValue
          structuredData:
            nodeName: nodeNameValue
            results:
            - namedResources:
                name: nameValue
              vendorRequestParameters:
                apiVersion: example.com/v1
                kind: CustomType
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha2.ResourceClaim.yaml

            matchFields:
            - key: keyValue
              operator: operatorValue
              values:
              - valuesValue
        resourceHandles:
        - data: dataValue
          driverName: driverNameValue
          structuredData:
            nodeName: nodeNameValue
            results:
            - namedResources:
                name: nameValue
              vendorRequestParameters:
                apiVersion: example.com/v1
                kind: CustomType
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:16 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.ResourceClaim.json

      },
      "status": {
        "driverName": "driverNameValue",
        "allocation": {
          "resourceHandles": [
            {
              "driverName": "driverNameValue",
              "data": "dataValue",
              "structuredData": {
                "vendorClassParameters": {
                  "apiVersion": "example.com/v1",
                  "kind": "CustomType",
                  "spec": {
                    "replicas": 1
                  },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/manager.go

    					Uid:            string(claimInfo.ClaimUID),
    					Name:           claimInfo.ClaimName,
    					ResourceHandle: resourceHandle.Data,
    				}
    				if resourceHandle.StructuredData != nil {
    					claim.StructuredResourceHandle = []*resourceapi.StructuredResourceHandle{resourceHandle.StructuredData}
    				}
    				pluginName := resourceHandle.DriverName
    				batches[pluginName] = append(batches[pluginName], claim)
    			}
    
    			return nil
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:29 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. pkg/apis/resource/validation/validation.go

    		}
    		if resourceHandle.StructuredData != nil {
    			allErrs = append(allErrs, validateStructuredResourceHandle(resourceHandle.StructuredData, idxPath.Child("structuredData"))...)
    		}
    		if len(resourceHandle.Data) > 0 && resourceHandle.StructuredData != nil {
    			allErrs = append(allErrs, field.Invalid(idxPath, nil, "data and structuredData are mutually exclusive"))
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/resource/v1alpha2/types.go

    	// future, but not reduced.
    	// +optional
    	Data string `json:"data,omitempty" protobuf:"bytes,2,opt,name=data"`
    
    	// If StructuredData is set, then it needs to be used instead of Data.
    	//
    	// +optional
    	StructuredData *StructuredResourceHandle `json:"structuredData,omitempty" protobuf:"bytes,5,opt,name=structuredData"`
    }
    
    // ResourceHandleDataMaxSize represents the maximum size of resourceHandle.data.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 10:22:35 UTC 2024
    - 30K bytes
    - Viewed (0)
Back to top