- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testPrepareForCreate (0.28 sec)
-
pkg/registry/storage/csinode/strategy_test.go
}, { "valid allocatable", valid, valid, }, } for _, test := range volumeLimitsCases { t.Run(test.name, func(t *testing.T) { testPrepareForCreate(t, test.obj, test.expected) }) } } func testPrepareForCreate(t *testing.T, obj, expected *storage.CSINode) { ctx := genericapirequest.WithRequestInfo(genericapirequest.NewContext(), &genericapirequest.RequestInfo{ APIGroup: "storage.k8s.io",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 09:24:44 UTC 2024 - 8.7K bytes - Viewed (0) -
pkg/registry/core/persistentvolumeclaim/strategy_test.go
return &api.TypedObjectReference{ APIGroup: &apiGroup, Kind: kind, Name: name, Namespace: namespace, } } func TestPrepareForCreate(t *testing.T) { ctx := genericapirequest.NewDefaultContext() ns := "ns1" volumeDataSource := makeDataSource(coreGroup, pvcKind, "my-vol")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 11.2K bytes - Viewed (0)