- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetWarningsForCSIStorageCapacity (0.58 sec)
-
pkg/registry/storage/csistoragecapacity/strategy.go
return errs } // WarningsOnCreate returns warnings for the creation of the given object. func (csiStorageCapacityStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string { return storageutil.GetWarningsForCSIStorageCapacity(obj.(*storage.CSIStorageCapacity)) } // Canonicalize normalizes the object after validation. func (csiStorageCapacityStrategy) Canonicalize(obj runtime.Object) { }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 08:41:09 UTC 2023 - 3.7K bytes - Viewed (0) -
pkg/api/storage/util.go
} } } } return warnings } func GetWarningsForCSIStorageCapacity(csc *storage.CSIStorageCapacity) []string { if csc != nil { return nodeapi.GetWarningsForNodeSelector(csc.NodeTopology, field.NewPath("nodeTopology")) } return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 25 07:15:34 UTC 2022 - 1.5K bytes - Viewed (0) -
pkg/api/storage/util_test.go
}, }, } for _, tc := range testcases { t.Run("podspec_"+tc.name, func(t *testing.T) { actual := sets.New[string](GetWarningsForCSIStorageCapacity(tc.template)...) expected := sets.New[string](tc.expected...) for _, missing := range sets.List[string](expected.Difference(actual)) { t.Errorf("missing: %s", missing) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 11:04:08 UTC 2023 - 4.5K bytes - Viewed (0)