- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testDefaulting (0.12 sec)
-
staging/src/k8s.io/apiextensions-apiserver/test/integration/defaulting_test.go
apiVersion: tests.example.com/v1beta1 metadata: name: foo ` func TestCustomResourceDefaultingWithWatchCache(t *testing.T) { testDefaulting(t, true) } func TestCustomResourceDefaultingWithoutWatchCache(t *testing.T) { testDefaulting(t, false) } func testDefaulting(t *testing.T, watchCache bool) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 05:32:34 UTC 2023 - 21.2K bytes - Viewed (0) -
pkg/api/testing/defaulting_test.go
func (o orderedGroupVersionKinds) Less(i, j int) bool { return o[i].String() < o[j].String() } // TODO: add a reflexive test that verifies that all SetDefaults functions are registered func TestDefaulting(t *testing.T) { // these are the known types with defaulters - you must add to this list if you add a top level defaulter typesWithDefaulting := map[schema.GroupVersionKind]struct{}{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 20.3K bytes - Viewed (0)