- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for JSONEquals (0.2 sec)
-
pkg/kube/inject/app_probe_test.go
"grpc": { "port": 1234, "service": "foo" }, "timeoutSeconds": 10 } }`, }, } { got := DumpAppProbers(tc.pod, 15020) test.JSONEquals(t, got, tc.expected) } } func TestPatchRewriteProbe(t *testing.T) { svc := "foo" annotations := map[string]string{} statusPort := intstr.FromInt32(15020) for _, tc := range []struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 04 15:06:24 UTC 2023 - 8.6K bytes - Viewed (0) -
pkg/bootstrap/config_test.go
} // nolint: lll want := `{"id":"test","cluster":"cluster","metadata":{"A":1,"B":{"b":1},"OWNER":"real-owner","PROXY_CONFIG":{"serviceCluster":"cluster"},"UNKNOWN":"new-field"}}` test.JSONEquals(t, want, string(b)) } node2 := ConvertXDSNodeToNode(out) { got, err := json.Marshal(node2) if err != nil { t.Fatalf("failed to marshal: %v", err) } // nolint: lll
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 20:38:02 UTC 2024 - 9.1K bytes - Viewed (0)