Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetPrintConfigTypeInSummary (0.5 sec)

  1. istioctl/pkg/writer/compare/sds/writer.go

    }
    
    type Format int
    
    const (
    	JSON Format = iota
    	TABULAR
    )
    
    // includeConfigType is a flag to indicate whether to include the config type in the output
    var includeConfigType bool
    
    func SetPrintConfigTypeInSummary(p bool) {
    	includeConfigType = p
    }
    
    // NewSDSWriter generates a new instance which conforms to SDSWriter interface
    func NewSDSWriter(w io.Writer, format Format) SDSWriter {
    	return &sdsWriter{
    		w:      w,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 21 14:17:23 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/configdump.go

    	Stdout     io.Writer
    	configDump *configdump.Wrapper
    }
    
    // includeConfigType is a flag to indicate whether to include the config type in the output
    var includeConfigType bool
    
    func SetPrintConfigTypeInSummary(p bool) {
    	includeConfigType = p
    }
    
    // Prime loads the config dump into the writer ready for printing
    func (c *ConfigWriter) Prime(b []byte) error {
    	w := &configdump.Wrapper{}
    	err := w.UnmarshalJSON(b)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 29 20:46:41 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. istioctl/pkg/proxyconfig/proxyconfig.go

    					var err error
    					configWriter, err = setupFileConfigdumpWriter(configDumpFile, c.OutOrStdout())
    					if err != nil {
    						return err
    					}
    				}
    				configdump.SetPrintConfigTypeInSummary(true)
    				sdscompare.SetPrintConfigTypeInSummary(true)
    				return configWriter.PrintFullSummary(
    					configdump.ClusterFilter{
    						FQDN:      host.Name(fqdn),
    						Port:      port,
    						Subset:    subset,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
Back to top