- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestDeepCopyTypes (0.1 sec)
-
pkg/config/model_test.go
gateway := cfg.Spec.(*networking.Gateway) if gateway.Selector != nil { t.Errorf("Original gateway is mutated") } } type TestStruct struct { Name string `json:"name"` } func TestDeepCopyTypes(t *testing.T) { cases := []struct { input Spec modify func(c Spec) Spec option cmp.Option }{ // Istio type { &networking.VirtualService{Gateways: []string{"foo"}}, func(c Spec) Spec {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 17:37:32 UTC 2024 - 7.9K bytes - Viewed (0)