- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for readInjectionSettings (0.24 sec)
-
pkg/kube/inject/inject_test.go
} } } // Preload default settings. Computation here is expensive, so this speeds the tests up substantially defaultTemplate, defaultValues, defaultMesh := readInjectionSettings(t, "default") for i, c := range cases { i, c := i, c testName := fmt.Sprintf("[%02d] %s", i, c.want) if c.expectedError != "" { testName = fmt.Sprintf("[%02d] %s", i, c.in) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 20:35:11 UTC 2024 - 34.1K bytes - Viewed (0) -
pkg/kube/inject/webhook_test.go
return &corev1.Pod{ ObjectMeta: o.Spec.Template.ObjectMeta, Spec: o.Spec.Template.Spec, } } t.Fatalf("unknown type: %T", obj) return nil } func readInjectionSettings(t testing.TB, fname string) (*Config, ValuesConfig, *meshconfig.MeshConfig) { values := file.AsStringOrFail(t, filepath.Join("testdata", "inputs", fname+".values.gen.yaml"))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 39K bytes - Viewed (1)