- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for deallocationRequested (0.45 sec)
-
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) -
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) -
pkg/scheduler/testing/wrappers.go
}}, }}, } } return wrapper } // DeallocationRequested sets that field of the inner object. func (wrapper *ResourceClaimWrapper) DeallocationRequested(deallocationRequested bool) *ResourceClaimWrapper { wrapper.ResourceClaim.Status.DeallocationRequested = deallocationRequested return wrapper } // ReservedFor sets that field of the inner object.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 42.1K bytes - Viewed (0)