- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for PrintEndpoints (0.07 sec)
-
istioctl/pkg/writer/envoy/clusters/clusters.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 5.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint_test.go
t.Run(tt.name, func(t *testing.T) { gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut} cd, _ := os.ReadFile("testdata/endpoint/configdump.json") cw.Prime(cd) err := cw.PrintEndpoints(tt.filter, tt.outputFormat) assert.NoError(t, err) wantOutputFile := path.Join("testdata/endpoint", fmt.Sprintf("%s_output.%s", tt.name, tt.outputFormat)) util.CompareContent(t, gotOut.Bytes(), wantOutputFile)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 12 02:25:59 UTC 2022 - 2.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint.go
continue } } result = append(result, "unknown") } return result } func (c *ConfigWriter) PrintEndpoints(filter EndpointFilter, outputFormat string) error { if c.configDump == nil { return fmt.Errorf("config writer has not been primed") } dump, err := c.retrieveSortedEndpointsSlice(filter) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 22 09:57:29 UTC 2024 - 6.1K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
Status: status, } switch outputFormat { case summaryOutput: return configWriter.PrintEndpointsSummary(filter) case jsonOutput, yamlOutput: return configWriter.PrintEndpoints(filter, outputFormat) default: return fmt.Errorf("output format %q not supported", outputFormat) } }, ValidArgsFunction: completion.ValidPodsNameArgs(ctx), }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0)