Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for AllocationResultModel (0.24 sec)

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

    									Results: []resourceapi.DriverAllocationResult{
    										{
    											AllocationResultModel: resourceapi.AllocationResultModel{
    												NamedResources: &resourceapi.NamedResourcesAllocationResult{
    													Name: "one",
    												},
    											},
    										},
    										{
    											AllocationResultModel: resourceapi.AllocationResultModel{
    												NamedResources: &resourceapi.NamedResourcesAllocationResult{
    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/apis/resource/v1alpha2/zz_generated.conversion.go

    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1alpha2.AllocationResultModel)(nil), (*resource.AllocationResultModel)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1alpha2_AllocationResultModel_To_resource_AllocationResultModel(a.(*v1alpha2.AllocationResultModel), b.(*resource.AllocationResultModel), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/resource/v1alpha2/zz_generated.deepcopy.go

    func (in *AllocationResultModel) DeepCopyInto(out *AllocationResultModel) {
    	*out = *in
    	if in.NamedResources != nil {
    		in, out := &in.NamedResources, &out.NamedResources
    		*out = new(NamedResourcesAllocationResult)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocationResultModel.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  4. pkg/apis/resource/zz_generated.deepcopy.go

    func (in *AllocationResultModel) DeepCopyInto(out *AllocationResultModel) {
    	*out = *in
    	if in.NamedResources != nil {
    		in, out := &in.NamedResources, &out.NamedResources
    		*out = new(NamedResourcesAllocationResult)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocationResultModel.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/dynamicresources/structuredparameters.go

    			}
    			handle.StructuredData.Results = append(handle.StructuredData.Results,
    				resourcev1alpha2.DriverAllocationResult{
    					VendorRequestParameters: perDriver.parameters[i],
    					AllocationResultModel: resourcev1alpha2.AllocationResultModel{
    						NamedResources: result,
    					},
    				},
    			)
    		}
    		if c.classParameters != nil {
    			for _, p := range c.classParameters.VendorParameters {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 22 09:03:22 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/resource/v1alpha2/generated.proto

      // Shareable determines whether the resource supports more
      // than one consumer at a time.
      // +optional
      optional bool shareable = 3;
    }
    
    // AllocationResultModel must have one and only one field set.
    message AllocationResultModel {
      // NamedResources describes the allocation result when using the named resources model.
      //
      // +optional
      optional NamedResourcesAllocationResult namedResources = 1;
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 22:07:50 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  7. pkg/apis/resource/validation/validation_resourceclaim_test.go

    								Results: []resource.DriverAllocationResult{
    									{
    										AllocationResultModel: resource.AllocationResultModel{
    											NamedResources: &resource.NamedResourcesAllocationResult{
    												Name: "some-resource-instance",
    											},
    										},
    									},
    									{
    										AllocationResultModel: resource.AllocationResultModel{}, // invalid
    									},
    								},
    							},
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  8. pkg/apis/resource/namedresources.go

    	// For example:
    	//
    	//    attributes.quantity["a"].isGreaterThan(quantity("0")) &&
    	//    attributes.stringslice["b"].isSorted()
    	Selector string
    }
    
    // NamedResourcesAllocationResult is used in AllocationResultModel.
    type NamedResourcesAllocationResult struct {
    	// Name is the name of the selected resource instance.
    	Name string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/resource/v1alpha2/generated.pb.go

    func (m *AllocationResultModel) Reset()      { *m = AllocationResultModel{} }
    func (*AllocationResultModel) ProtoMessage() {}
    func (*AllocationResultModel) Descriptor() ([]byte, []int) {
    	return fileDescriptor_4312f5b44a31ec02, []int{1}
    }
    func (m *AllocationResultModel) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 261.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/resource/v1alpha2/namedresources.go

    	//    attributes.stringslice["b"].isSorted()
    	Selector string `json:"selector" protobuf:"bytes,1,name=selector"`
    }
    
    // NamedResourcesAllocationResult is used in AllocationResultModel.
    type NamedResourcesAllocationResult struct {
    	// Name is the name of the selected resource instance.
    	Name string `json:"name" protobuf:"bytes,1,name=name"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top