Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PrintBootstrapSummary (0.11 sec)

  1. istioctl/pkg/writer/envoy/configdump/configdump.go

    	}
    	_, _ = c.Stdout.Write([]byte("\n"))
    	if err := c.PrintEndpointsSummary(epf); err != nil {
    		return err
    	}
    	return nil
    }
    
    // PrintBootstrapSummary prints bootstrap information for Istio and Envoy from the config dump
    func (c *ConfigWriter) PrintBootstrapSummary() error {
    	if c.configDump == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    			gotOut := &bytes.Buffer{}
    			cw := &ConfigWriter{Stdout: gotOut}
    			cd, _ := os.ReadFile("testdata/configdump.json")
    			if tt.callPrime {
    				cw.Prime(cd)
    			}
    			err := cw.PrintBootstrapSummary()
    			if tt.wantOutputFile != "" {
    				util.CompareContent(t, gotOut.Bytes(), tt.wantOutputFile)
    			}
    			if err == nil && tt.wantErr {
    				t.Errorf("PrintVersionSummary (%v) did not produce expected err", tt.name)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 03 23:08:06 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. istioctl/pkg/proxyconfig/proxyconfig.go

    			}
    			if err != nil {
    				return err
    			}
    
    			switch outputFormat {
    			case summaryOutput:
    				return configWriter.PrintBootstrapSummary()
    			case jsonOutput, yamlOutput:
    				return configWriter.PrintBootstrapDump(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)
Back to top