- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for PrintRouteSummary (0.09 sec)
-
istioctl/pkg/writer/envoy/configdump/route.go
func (r *RouteFilter) Verify(route *route.RouteConfiguration) bool { if r.Name != "" && r.Name != route.Name { return false } return true } // PrintRouteSummary prints a summary of the relevant routes in the config dump to the ConfigWriter stdout func (c *ConfigWriter) PrintRouteSummary(filter RouteFilter) error { w, routes, err := c.setupRouteConfigWriter() if err != nil { return err } if filter.Verbose {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 08 20:44:50 UTC 2024 - 7.2K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route_test.go
cd, _ := os.ReadFile(fmt.Sprintf("testdata/routes/%s/configdump.json", tt.name)) if err := cw.Prime(cd); err != nil { t.Errorf("failed to parse config dump: %s", err) } err := cw.PrintRouteSummary(RouteFilter{Verbose: true}) assert.NoError(t, err) wantOutputFile := path.Join("testdata/routes", tt.name, "output.txt") util.CompareContent(t, gotOut.Bytes(), wantOutputFile) }) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 29 12:37:14 UTC 2023 - 2.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump.go
return err } _, _ = c.Stdout.Write([]byte("\n")) if err := c.PrintListenerSummary(lf); err != nil { return err } _, _ = c.Stdout.Write([]byte("\n")) if err := c.PrintRouteSummary(rf); err != nil { return err } _, _ = c.Stdout.Write([]byte("\n")) if err := c.PrintSecretSummary(); err != nil { return err } _, _ = c.Stdout.Write([]byte("\n"))
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Feb 29 20:46:41 UTC 2024 - 7.4K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
return err } filter := configdump.RouteFilter{ Name: routeName, Verbose: verboseProxyConfig, } switch outputFormat { case summaryOutput: return configWriter.PrintRouteSummary(filter) case jsonOutput, yamlOutput: return configWriter.PrintRouteDump(filter, outputFormat) default: return fmt.Errorf("output format %q not supported", outputFormat) } },
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0)