- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ToJSONWithIndent (0.25 sec)
-
istioctl/pkg/writer/envoy/configdump/configdump.go
if c.configDump == nil { return fmt.Errorf("config writer has not been primed") } bootstrapDump, err := c.configDump.GetBootstrapConfigDump() if err != nil { return err } out, err := protomarshal.ToJSONWithIndent(bootstrapDump, " ") if err != nil { return fmt.Errorf("unable to marshal bootstrap in Envoy config dump: %v", err) } if outputFormat == "yaml" { outbyte, err := yaml.JSONToYAML([]byte(out))
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Feb 29 20:46:41 GMT 2024 - 7.4K bytes - Viewed (0)