- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for JSONToYAML (0.37 sec)
-
istioctl/pkg/writer/ztunnel/configdump/connections.go
} return true }) out, err := json.MarshalIndent(workloads, "", " ") if err != nil { return fmt.Errorf("failed to marshal workloads: %v", err) } if outputFormat == "yaml" { if out, err = yaml.JSONToYAML(out); err != nil { return err } } fmt.Fprintln(c.Stdout, string(out)) return nil } func (c *ConfigWriter) PrintConnectionsSummary(filter ConnectionsFilter) error { w := c.tabwriter()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 22 15:39:28 GMT 2024 - 3.3K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/services.go
}) out, err := json.MarshalIndent(svcs, "", " ") if err != nil { return fmt.Errorf("failed to marshal workloads: %v", err) } if outputFormat == "yaml" { if out, err = yaml.JSONToYAML(out); err != nil { return err } } fmt.Fprintln(c.Stdout, string(out)) return nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route.go
filteredRoutes = append(filteredRoutes, route) } } out, err := json.MarshalIndent(filteredRoutes, "", " ") if err != nil { return err } if outputFormat == "yaml" { if out, err = yaml.JSONToYAML(out); err != nil { return err } } fmt.Fprintln(c.Stdout, string(out)) return nil } func (c *ConfigWriter) setupRouteConfigWriter() (*tabwriter.Writer, []*route.RouteConfiguration, error) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 11 05:38:17 GMT 2023 - 7.2K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster.go
} } out, err := json.MarshalIndent(filteredClusters, "", " ") if err != nil { return err } if outputFormat == "yaml" { if out, err = yaml.JSONToYAML(out); err != nil { return err } } _, _ = fmt.Fprintln(c.Stdout, string(out)) return nil } func (c *ConfigWriter) setupClusterConfigWriter() (*tabwriter.Writer, []*cluster.Cluster, error) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 11 05:38:17 GMT 2023 - 5.9K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
outputBytes = append(outputBytes, []byte("\n")...) if err != nil { return err } if ga.outputFormat == "yaml" { if outputBytes, err = yaml.JSONToYAML(outputBytes); err != nil { return err } } _, err = out.Write(outputBytes) return err default: return fmt.Errorf("output format %q not supported", ga.outputFormat) } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 13.5K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
return err } } else { dump, err = readFile(configDumpFile) if err != nil { return err } } if outputFormat == yamlOutput { if dump, err = yaml.JSONToYAML(dump); err != nil { return err } } fmt.Fprintln(c.OutOrStdout(), string(dump)) case summaryOutput: var configWriter *configdump.ConfigWriter if len(args) == 1 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0)