Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for NamedResourcesInstance (0.65 sec)

  1. pkg/apis/resource/structured/namedresources/validation/validation.go

    	allErrs := validateInstances(resources.Instances, fldPath.Child("instances"))
    	return allErrs
    }
    
    func validateInstances(instances []resource.NamedResourcesInstance, fldPath *field.Path) field.ErrorList {
    	var allErrs field.ErrorList
    	instanceNames := sets.New[string]()
    	for i, instance := range instances {
    		idxPath := fldPath.Index(i)
    		instanceName := instance.Name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:26:20 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/resource/v1alpha2/generated.proto

      //    attributes.stringslice["b"].isSorted()
      optional string selector = 1;
    }
    
    // NamedResourcesInstance represents one individual hardware instance that can be selected based
    // on its attributes.
    message NamedResourcesInstance {
      // Name is unique identifier among all resource instances managed by
      // the driver on the node. It must be a DNS subdomain.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 22:07:50 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  3. pkg/scheduler/testing/wrappers.go

    	for _, name := range names {
    		wrapper.ResourceModel.NamedResources.Instances = append(wrapper.ResourceModel.NamedResources.Instances,
    			resourcev1alpha2.NamedResourcesInstance{Name: name},
    		)
    	}
    	return wrapper
    }
    
    type ClaimParametersWrapper struct {
    	resourcev1alpha2.ResourceClaimParameters
    }
    
    func MakeClaimParameters() *ClaimParametersWrapper {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__resource.k8s.io__v1alpha2_openapi.json

              }
            },
            "required": [
              "selector"
            ],
            "type": "object"
          },
          "io.k8s.api.resource.v1alpha2.NamedResourcesInstance": {
            "description": "NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.",
            "properties": {
              "attributes": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 656.6K bytes
    - Viewed (0)
  5. pkg/generated/openapi/zz_generated.openapi.go

    										Default: map[string]interface{}{},
    										Ref:     ref("k8s.io/api/resource/v1alpha2.NamedResourcesInstance"),
    									},
    								},
    							},
    						},
    					},
    				},
    				Required: []string{"instances"},
    			},
    		},
    		Dependencies: []string{
    			"k8s.io/api/resource/v1alpha2.NamedResourcesInstance"},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  6. api/openapi-spec/swagger.json

            }
          },
          "required": [
            "selector"
          ],
          "type": "object"
        },
        "io.k8s.api.resource.v1alpha2.NamedResourcesInstance": {
          "description": "NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.",
          "properties": {
            "attributes": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
Back to top