Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PrintBootstrapSummary (0.2 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: Fri Jun 14 15:00:06 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: Fri Jun 14 15:00:06 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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 48K bytes
    - Viewed (0)
Back to top