- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 131 for marshaling (0.23 sec)
-
pilot/pkg/model/extensions.go
if plugin.PluginConfig != nil && len(plugin.PluginConfig.Fields) > 0 { cfgJSON, err := protomarshal.ToJSON(plugin.PluginConfig) if err != nil { log.Warnf("wasmplugin %v/%v discarded due to json marshaling error: %s", p.Namespace, p.Name, err) return nil } cfg = protoconv.MessageToAny(&wrapperspb.StringValue{ Value: cfgJSON, }) } u, err := url.Parse(plugin.Url) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 11K bytes - Viewed (0) -
src/encoding/xml/marshal.go
) // Marshal returns the XML encoding of v. // // Marshal handles an array or slice by marshaling each of the elements. // Marshal handles a pointer by marshaling the value it points at or, if the // pointer is nil, by writing nothing. Marshal handles an interface value by // marshaling the value it contains or, if the interface value is nil, by // writing nothing. Marshal handles all other data by writing one or more XML
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 31.2K bytes - Viewed (0) -
src/encoding/xml/xml_test.go
} if len(c.C.XMLName.Space) != 0 { t.Errorf("overidding with empty namespace: after marshaling & unmarshaling, got %s, want empty\n", a.C.XMLName.Space) } } func TestIssue20396(t *testing.T) { var attrError = UnmarshalError("XML syntax error on line 1: expected attribute name in element")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 36.9K bytes - Viewed (0) -
pkg/api/testing/unstructured_test.go
if err != nil { t.Errorf("Error when marshaling object: %v", err) return } unstr := make(map[string]interface{}) err = json.Unmarshal(data, &unstr) if err != nil { t.Errorf("Error when unmarshaling to unstructured: %v", err) return } data, err = json.Marshal(unstr) if err != nil { t.Errorf("Error when marshaling unstructured: %v", err) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 16.9K bytes - Viewed (0) -
pkg/adsc/adsc.go
Message proto.Message } func (p jsonMarshalProtoWithName) MarshalJSON() ([]byte, error) { strSer, serr := protomarshal.ToJSONWithIndent(p.Message, " ") if serr != nil { adscLog.Warnf("Error for marshaling [%s]: %v", p.Name, serr) return []byte(""), serr } serialItem := []byte("{\"" + p.Name + "\":" + strSer + "}") return serialItem, nil } var adscLog = log.RegisterScope("adsc", "adsc debugging")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 05 22:18:49 UTC 2024 - 35K bytes - Viewed (0) -
pilot/pkg/xds/filters/filters.go
// EnvoyJwtFilterPayload is the struct field for the payload in dynamic metadata in Envoy JWT filter. EnvoyJwtFilterPayload = "payload" ) // Define static filters to be reused across the codebase. This avoids duplicate marshaling/unmarshaling // This should not be used for filters that will be mutated var ( RetryPreviousHosts = &route.RetryPolicy_RetryHostPredicate{ Name: "envoy.retry_host_predicates.previous_hosts",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 09 09:24:25 UTC 2024 - 15.5K bytes - Viewed (0) -
pkg/test/kube/dump.go
pods = podsOrFetch(c, pods, namespace) for _, pod := range pods { out, err := yaml.Marshal(&pod) if err != nil { scopes.Framework.Warnf("Error marshaling pod state for output: %v", err) continue } outPath := podOutputPath(workDir, c, pod, "pod-state.yaml") if err := os.WriteFile(outPath, out, os.ModePerm); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 22.2K bytes - Viewed (0) -
src/cmd/compile/internal/walk/walk.go
ir.ODEREF, ir.ODOTPTR, ir.ODOTTYPE, ir.ODYNAMICDOTTYPE, ir.ODIV, ir.OMOD, ir.OSLICE2ARR, ir.OSLICE2ARRPTR: // These ops might panic, make sure they are done // before we start marshaling args for a call. See issue 16760. return true case ir.OANDAND, ir.OOROR: n := n.(*ir.LogicalExpr) // The RHS expression may have init statements that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 20:56:00 UTC 2024 - 10.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go
tree[id] = m } m[name] = v } } func (tree JSONTree) Print() { data, err := json.MarshalIndent(tree, "", "\t") if err != nil { log.Panicf("internal error: JSON marshaling failed: %v", err) } fmt.Printf("%s\n", data)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 12.1K bytes - Viewed (0) -
pilot/pkg/features/pilot.go
"If enabled, certificates received by the proxy will be verified against the OS CA certificate bundle.").Get() EnableVtprotobuf = env.Register("ENABLE_VTPROTOBUF", true, "If true, will use optimized vtprotobuf based marshaling. Requires a build with -tags=vtprotobuf.").Get() GatewayAPIDefaultGatewayClass = env.Register("PILOT_GATEWAY_API_DEFAULT_GATEWAYCLASS_NAME", "istio", "Name of the default GatewayClass").Get()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 13.3K bytes - Viewed (0)