- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for unmarshaler (0.16 sec)
-
pilot/pkg/networking/core/httproute_test.go
resource, _ := cg.ConfigGen.buildSidecarOutboundHTTPRouteConfig( cg.SetupProxy(nil), &model.PushRequest{Push: cg.PushContext()}, "80", vHostCache, nil, nil) routeCfg := &route.RouteConfiguration{} resource.Resource.UnmarshalTo(routeCfg) xdstest.ValidateRouteConfiguration(t, routeCfg) got := map[string][]string{} clusters := map[string]string{} for _, vh := range routeCfg.VirtualHosts { got[vh.Name] = vh.Domains
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 51.4K bytes - Viewed (0) -
src/net/netip/netip_test.go
} } // Cannot unmarshal from unexpected lengths. for _, n := range []int{3, 6} { var prefix2 Prefix if err := prefix2.UnmarshalBinary(bytes.Repeat([]byte{1}, n)); err == nil { t.Fatalf("unmarshaled from unexpected length %d", n) } } } func TestAddrMarshalUnmarshal(t *testing.T) { // This only tests the cases where Marshal/Unmarshal diverges from
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 54.3K bytes - Viewed (0) -
src/time/time_test.go
t.Errorf("%v JSON = %#q, want %#q", tt.time, string(jsonBytes), tt.json) } else if err = json.Unmarshal(jsonBytes, &jsonTime); err != nil { t.Errorf("%v json.Unmarshal error = %v, want nil", tt.time, err) } else if !equalTimeAndZone(jsonTime, tt.time) { t.Errorf("Unmarshaled time = %v, want %v", jsonTime, tt.time) } } } func TestUnmarshalInvalidTimes(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
pilot/pkg/security/authn/policy_applier_test.go
}) } } func humanReadableAuthnFilterDump(filter *hcm.HttpFilter) string { if filter == nil { return "<nil>" } config := &authn_filter.FilterConfig{} filter.GetTypedConfig().UnmarshalTo(config) return spew.Sdump(config) } func TestAuthnFilterConfig(t *testing.T) { ms, err := test.StartNewServer() if err != nil { t.Fatal("failed to start a mock server") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 01 07:32:22 UTC 2023 - 60.2K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_tls_test.go
if test.expectTransportSocket { if err := opts.mutable.cluster.TransportSocket.GetTypedConfig().UnmarshalTo(ctx); err != nil { t.Fatal(err) } } else if test.expectTransportSocketMatch { if err := opts.mutable.cluster.TransportSocketMatches[0].TransportSocket.GetTypedConfig().UnmarshalTo(ctx); err != nil { t.Fatal(err) } } test.validateTLSContext(t, ctx) } })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 03:53:05 UTC 2024 - 60.9K bytes - Viewed (0) -
src/crypto/tls/conn.go
default: return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) } // The handshake message unmarshalers // expect to be able to keep references to data, // so pass in a fresh copy that won't be overwritten. data = append([]byte(nil), data...) if !m.unmarshal(data) { return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) } if transcript != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0) -
src/html/template/escape_test.go
`<button onclick='alert(1/ /* json: error calling MarshalJSON for type *template.badMarshaler: invalid character 'f' looking for beginning of object key string */null in numbers)'>`, }, { "jsMarshaler", `<button onclick='alert({{.M}})'>`, `<button onclick='alert({"\u003cfoo\u003e":"O'Reilly"})'>`, }, { "jsStrNotUnderEscaped", "<button onclick='alert({{.C | urlquery}})'>",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 16 03:29:27 UTC 2023 - 56.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/MavenProject.java
* interpolation can be added. This allows to have an entity which is useful in a runtime while preserving the model so * that it can be marshalled and unmarshalled without being tainted by runtime requirements. * </p> * <p> * With changes during 3.2.2 release MavenProject is closer to being immutable after construction with the removal of
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Mar 01 17:18:13 UTC 2024 - 56.6K bytes - Viewed (0) -
pilot/pkg/networking/core/sidecar_simulation_test.go
ts := filterChain.GetTransportSocket().GetTypedConfig() if ts == nil { return fmt.Errorf("expected transport socket for chain %v", filterChain.GetName()) } if err := ts.UnmarshalTo(tlsContext); err != nil { return err } commonTLSContext := tlsContext.CommonTlsContext if len(commonTLSContext.TlsCertificateSdsSecretConfigs) == 0 { return fmt.Errorf("expected tls certificates")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 84.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go
return err } merged, err := jsonpatch.MergePatch(jsonSchema, patchJSON) if err != nil { return err } var parsed apiextensionsv1.JSONSchemaProps if err := json.Unmarshal(merged, &parsed); err != nil { return err } return updateMyCRDV1Beta1Schema{ newSchema: &parsed, }.Do(ctx) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 59.5K bytes - Viewed (0)