Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for deallocationRequested (0.57 sec)

  1. pkg/apis/resource/validation/validation_resourceclaim_test.go

    				claim.Status.Allocation = nil
    				return claim
    			},
    		},
    		"invalid-deallocation-requested-removal": {
    			wantFailures: field.ErrorList{field.Forbidden(field.NewPath("status", "deallocationRequested"), "may not be cleared when `allocation` is set")},
    			oldClaim: func() *resource.ResourceClaim {
    				claim := validAllocatedClaim.DeepCopy()
    				claim.Status.DeallocationRequested = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. pkg/apis/resource/validation/validation.go

    	}
    
    	if !oldClaim.Status.DeallocationRequested &&
    		resourceClaim.Status.DeallocationRequested &&
    		len(resourceClaim.Status.ReservedFor) > 0 {
    		allErrs = append(allErrs, field.Forbidden(fldPath.Child("deallocationRequested"), "deallocation cannot be requested while `reservedFor` is set"))
    	}
    
    	if resourceClaim.Status.Allocation == nil &&
    		resourceClaim.Status.DeallocationRequested {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha2.ResourceClaim.json

        },
        "reservedFor": [
          {
            "apiGroup": "apiGroupValue",
            "resource": "resourceValue",
            "name": "nameValue",
            "uid": "uidValue"
          }
        ],
        "deallocationRequested": true
      }
    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.29.0/resource.k8s.io.v1alpha2.ResourceClaim.json

        },
        "reservedFor": [
          {
            "apiGroup": "apiGroupValue",
            "resource": "resourceValue",
            "name": "nameValue",
            "uid": "uidValue"
          }
        ],
        "deallocationRequested": true
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/resource.k8s.io.v1alpha2.ResourceClaim.yaml

            - key: keyValue
              operator: operatorValue
              values:
              - valuesValue
        resourceHandles:
        - data: dataValue
          driverName: driverNameValue
        shareable: true
      deallocationRequested: true
      driverName: driverNameValue
      reservedFor:
      - apiGroup: apiGroupValue
        name: nameValue
        resource: resourceValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.ResourceClaim.yaml

            vendorClassParameters:
              apiVersion: example.com/v1
              kind: CustomType
              spec:
                replicas: 1
              status:
                available: 1
        shareable: true
      deallocationRequested: true
      driverName: driverNameValue
      reservedFor:
      - apiGroup: apiGroupValue
        name: nameValue
        resource: resourceValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha2.ResourceClaim.yaml

            vendorClassParameters:
              apiVersion: example.com/v1
              kind: CustomType
              spec:
                replicas: 1
              status:
                available: 1
        shareable: true
      deallocationRequested: true
      driverName: driverNameValue
      reservedFor:
      - apiGroup: apiGroupValue
        name: nameValue
        resource: resourceValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:16 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.ResourceClaim.json

        },
        "reservedFor": [
          {
            "apiGroup": "apiGroupValue",
            "resource": "resourceValue",
            "name": "nameValue",
            "uid": "uidValue"
          }
        ],
        "deallocationRequested": true
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/resource/v1alpha2/generated.proto

      // DeallocationRequested indicates that a ResourceClaim is to be
      // deallocated.
      //
      // The driver then must deallocate this claim and reset the field
      // together with clearing the Allocation field.
      //
      // While DeallocationRequested is set, no new consumers may be added to
      // ReservedFor.
      // +optional
      optional bool deallocationRequested = 4;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/resource/v1alpha2/types.go

    	// DeallocationRequested indicates that a ResourceClaim is to be
    	// deallocated.
    	//
    	// The driver then must deallocate this claim and reset the field
    	// together with clearing the Allocation field.
    	//
    	// While DeallocationRequested is set, no new consumers may be added to
    	// ReservedFor.
    	// +optional
    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