- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestClaimStrategy (0.12 sec)
-
pkg/registry/resource/resourceclaim/strategy_test.go
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") } if Strategy.AllowCreateOnUpdate() { t.Errorf("ResourceClaim should not allow create on update") } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 19:08:24 UTC 2022 - 2.4K bytes - Viewed (0)