Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for resourceClassName (0.25 sec)

  1. staging/src/k8s.io/api/testdata/v1.29.0/resource.k8s.io.v1alpha2.ResourceClaimTemplate.json

              "time": "2004-01-01T01:01:01Z",
              "fieldsType": "fieldsTypeValue",
              "fieldsV1": {},
              "subresource": "subresourceValue"
            }
          ]
        },
        "spec": {
          "resourceClassName": "resourceClassNameValue",
          "parametersRef": {
            "apiGroup": "apiGroupValue",
            "kind": "kindValue",
            "name": "nameValue"
          },
          "allocationMode": "allocationModeValue"
        }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.29.0/resource.k8s.io.v1alpha2.ResourceClaim.yaml

      selfLink: selfLinkValue
      uid: uidValue
    spec:
      allocationMode: allocationModeValue
      parametersRef:
        apiGroup: apiGroupValue
        kind: kindValue
        name: nameValue
      resourceClassName: resourceClassNameValue
    status:
      allocation:
        availableOnNodes:
          nodeSelectorTerms:
          - matchExpressions:
            - key: keyValue
              operator: operatorValue
              values:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha2.ResourceClaim.json

            "time": "2004-01-01T01:01:01Z",
            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "spec": {
        "resourceClassName": "resourceClassNameValue",
        "parametersRef": {
          "apiGroup": "apiGroupValue",
          "kind": "kindValue",
          "name": "nameValue"
        },
        "allocationMode": "allocationModeValue"
      },
      "status": {
    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. staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.ResourceClaim.yaml

      selfLink: selfLinkValue
      uid: uidValue
    spec:
      allocationMode: allocationModeValue
      parametersRef:
        apiGroup: apiGroupValue
        kind: kindValue
        name: nameValue
      resourceClassName: resourceClassNameValue
    status:
      allocation:
        availableOnNodes:
          nodeSelectorTerms:
          - matchExpressions:
            - key: keyValue
              operator: operatorValue
              values:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha2.ResourceClaim.yaml

      selfLink: selfLinkValue
      uid: uidValue
    spec:
      allocationMode: allocationModeValue
      parametersRef:
        apiGroup: apiGroupValue
        kind: kindValue
        name: nameValue
      resourceClassName: resourceClassNameValue
    status:
      allocation:
        availableOnNodes:
          nodeSelectorTerms:
          - matchExpressions:
            - key: keyValue
              operator: operatorValue
              values:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:16 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.ResourceClaim.json

            "time": "2004-01-01T01:01:01Z",
            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "spec": {
        "resourceClassName": "resourceClassNameValue",
        "parametersRef": {
          "apiGroup": "apiGroupValue",
          "kind": "kindValue",
          "name": "nameValue"
        },
        "allocationMode": "allocationModeValue"
      },
      "status": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. pkg/registry/resource/resourceclaim/strategy_test.go

    )
    
    var resourceClaim = &resource.ResourceClaim{
    	ObjectMeta: metav1.ObjectMeta{
    		Name:      "valid-claim",
    		Namespace: "default",
    	},
    	Spec: resource.ResourceClaimSpec{
    		ResourceClassName: "valid-class",
    		AllocationMode:    resource.AllocationModeImmediate,
    	},
    }
    
    func TestClaimStrategy(t *testing.T) {
    	if !Strategy.NamespaceScoped() {
    		t.Errorf("ResourceClaim must be namespace scoped")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:08:24 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  8. pkg/registry/resource/resourceclaimtemplate/strategy_test.go

    	ObjectMeta: metav1.ObjectMeta{
    		Name:      "valid-claim-template",
    		Namespace: "default",
    	},
    	Spec: resource.ResourceClaimTemplateSpec{
    		Spec: resource.ResourceClaimSpec{
    			ResourceClassName: "valid-class",
    			AllocationMode:    resource.AllocationModeImmediate,
    		},
    	},
    }
    
    func TestClaimTemplateStrategy(t *testing.T) {
    	if !Strategy.NamespaceScoped() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:08:24 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. pkg/registry/resource/resourceclaim/storage/storage_test.go

    func validNewClaim(name, ns string) *resource.ResourceClaim {
    	claim := &resource.ResourceClaim{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      name,
    			Namespace: ns,
    		},
    		Spec: resource.ResourceClaimSpec{
    			ResourceClassName: "example",
    			AllocationMode:    resource.AllocationModeImmediate,
    		},
    		Status: resource.ResourceClaimStatus{},
    	}
    	return claim
    }
    
    func TestCreate(t *testing.T) {
    	storage, _, server := newStorage(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. pkg/controller/resourceclaim/controller_test.go

    	claim := &resourcev1alpha2.ResourceClaim{
    		ObjectMeta: metav1.ObjectMeta{Name: name, Namespace: namespace},
    		Spec: resourcev1alpha2.ResourceClaimSpec{
    			ResourceClassName: classname,
    			AllocationMode:    resourcev1alpha2.AllocationModeWaitForFirstConsumer,
    		},
    	}
    	if owner != nil {
    		claim.OwnerReferences = []metav1.OwnerReference{*owner}
    	}
    
    	return claim
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 08:56:16 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top