Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for includeConfigType (0.25 sec)

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

    	PrintDiffs([]SecretItemDiff) error
    }
    
    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
    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/cluster.go

    func (c *ConfigWriter) PrintClusterSummary(filter ClusterFilter) error {
    	w, clusters, err := c.setupClusterConfigWriter()
    	if err != nil {
    		return err
    	}
    	if includeConfigType {
    		_, _ = fmt.Fprintln(w, "NAME\tSERVICE FQDN\tPORT\tSUBSET\tDIRECTION\tTYPE\tDESTINATION RULE")
    	} else {
    		_, _ = fmt.Fprintln(w, "SERVICE FQDN\tPORT\tSUBSET\tDIRECTION\tTYPE\tDESTINATION RULE")
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/configdump.go

    type ConfigWriter struct {
    	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 {
    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)
  4. istioctl/pkg/writer/envoy/configdump/listener.go

    			return iAddr < jAddr
    		}
    		iType := retrieveListenerType(verifiedListeners[i])
    		jType := retrieveListenerType(verifiedListeners[j])
    		return iType < jType
    	})
    
    	printStr := "ADDRESSES\tPORT"
    	if includeConfigType {
    		printStr = "NAME\t" + printStr
    	}
    	if filter.Verbose {
    		printStr += "\tMATCH\tDESTINATION"
    	} else {
    		printStr += "\tTYPE"
    	}
    	fmt.Fprintln(w, printStr)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/endpoint.go

    	if err != nil {
    		return err
    	}
    	for _, eds := range dump {
    		for _, llb := range eds.Endpoints {
    			for _, ep := range llb.LbEndpoints {
    				addr := retrieveEndpointAddress(ep)
    				if includeConfigType {
    					addr = fmt.Sprintf("endpoint/%s", addr)
    				}
    				fmt.Fprintf(w, "%v\t%v\t%v\t%v\n",
    					addr,
    					ep.GetHealthStatus().String(),
    					util.LocalityToString(llb.Locality),
    					eds.ClusterName,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/route.go

    	if filter.Verbose {
    		fmt.Fprintln(w, "NAME\tVHOST NAME\tDOMAINS\tMATCH\tVIRTUAL SERVICE")
    	} else {
    		fmt.Fprintln(w, "NAME\tVIRTUAL HOSTS")
    	}
    	for _, route := range routes {
    		if filter.Verify(route) {
    			if includeConfigType {
    				route.Name = fmt.Sprintf("route/%s", route.Name)
    			}
    			if filter.Verbose {
    				for _, vhosts := range route.GetVirtualHosts() {
    					for _, r := range vhosts.Routes {
    						if !isPassthrough(r.GetAction()) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 7.2K bytes
    - Viewed (0)
Back to top