- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PrintEcdsSummary (0.11 sec)
-
istioctl/pkg/writer/envoy/configdump/ecds_test.go
) func TestPrintEcdsSummary(t *testing.T) { gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut} cd, _ := os.ReadFile("testdata/ecds/configdump.json") cw.Prime(cd) err := cw.PrintEcdsSummary() assert.NoError(t, err) util.CompareContent(t, gotOut.Bytes(), "testdata/ecds/output.txt") } func TestPrintEcdsYaml(t *testing.T) { gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Dec 13 01:08:07 UTC 2022 - 1.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/ecds.go
} if outputFormat == "yaml" { if out, err = yaml.JSONToYAML(out); err != nil { return err } } _, _ = fmt.Fprintln(c.Stdout, string(out)) return nil } func (c *ConfigWriter) PrintEcdsSummary() error { w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0) fmt.Fprintln(w, "ECDS NAME\tTYPE") dump, err := c.retrieveSortedEcds() if err != nil { return err } for _, ecds := range dump {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Jan 14 02:41:27 UTC 2023 - 2.6K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0)