Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 347 for Fprintln (0.35 sec)

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

    func (c *ConfigWriter) PrintRouteSummary(filter RouteFilter) error {
    	w, routes, err := c.setupRouteConfigWriter()
    	if err != nil {
    		return err
    	}
    	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)
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/clusters/clusters.go

    				clusterEndpoint = append(clusterEndpoint, EndpointCluster{addr, int(port), cluster.Name, status, outlierCheck})
    			}
    		}
    	}
    
    	clusterEndpoint = retrieveSortedEndpointClusterSlice(clusterEndpoint)
    	fmt.Fprintln(w, "ENDPOINT\tSTATUS\tOUTLIER CHECK\tCLUSTER")
    	for _, ce := range clusterEndpoint {
    		var endpoint string
    		if ce.port != 0 {
    			endpoint = ce.address + ":" + strconv.Itoa(ce.port)
    		} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 5.8K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/swig/testdata/stdio/main.go

    	}
    	if Fgetc(f) != '/' || Fgetc(f) != '/' || Fgetc(f) != ' ' || Fgetc(f) != 'C' {
    		fatal("read unexpected characters")
    	}
    	if Fclose(f) != 0 {
    		fatal("fclose failed")
    	}
    
    	println("OK")
    }
    
    func fatal(f string, args ...any) {
    	fmt.Fprintln(os.Stderr, fmt.Sprintf(f, args...))
    	os.Exit(1)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 975 bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/endpoint.go

    		if out, err = yaml.JSONToYAML(out); err != nil {
    			return err
    		}
    	}
    	_, _ = fmt.Fprintln(c.Stdout, string(out))
    	return nil
    }
    
    func (c *ConfigWriter) PrintEndpointsSummary(filter EndpointFilter) error {
    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0)
    
    	fmt.Fprintln(w, "NAME\tSTATUS\tLOCALITY\tCLUSTER")
    	dump, err := c.retrieveSortedEndpointsSlice(filter)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/compare/route.go

    		}
    		lastUpdatedStr = fmt.Sprintf(" (RDS last loaded at %s)", lastUpdated.In(loc).Format(time.RFC1123))
    	}
    	if text != "" {
    		fmt.Fprintf(c.w, "Routes Don't Match%s\n", lastUpdatedStr)
    		fmt.Fprintln(c.w, text)
    	} else {
    		fmt.Fprintf(c.w, "Routes Match%s\n", lastUpdatedStr)
    	}
    	return nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/clusters.go

    func writeMulticlusterStatus(out io.Writer, input map[string][]byte) error {
    	statuses, err := parseClusterStatuses(input)
    	if err != nil {
    		return err
    	}
    	w := new(tabwriter.Writer).Init(out, 0, 8, 5, ' ', 0)
    	_, _ = fmt.Fprintln(w, "NAME\tSECRET\tSTATUS\tISTIOD")
    	for istiod, clusters := range statuses {
    		for _, c := range clusters {
    			_, _ = fmt.Fprintf(w, "%s\t%s\t%s\t%s\n", c.ID, c.SecretName, c.SyncStatus, istiod)
    		}
    	}
    	_ = w.Flush()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    func (c *ConfigWriter) PrintFullDump(outputFormat string) error {
    	out := c.FullDump
    	if outputFormat == "yaml" {
    		var err error
    		out, err = yaml.JSONToYAML(out)
    		if err != nil {
    			return err
    		}
    	}
    	fmt.Fprintln(c.Stdout, string(out))
    	return nil
    }
    
    // PrintVersionSummary prints version information for Istio and Ztunnel from the config dump
    func (c *ConfigWriter) PrintVersionSummary() error {
    	// TODO
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/listener.go

    		if iAddr != jAddr {
    			return iAddr < jAddr
    		}
    		iType := retrieveListenerType(listeners[i])
    		jType := retrieveListenerType(listeners[j])
    		return iType < jType
    	})
    
    	fmt.Fprintln(w, "LISTENER\tCHAIN\tMATCH\tDESTINATION")
    	for _, l := range listeners {
    		chains := getFilterChains(l)
    		lname := "envoy://" + l.GetName()
    		// Avoid duplicating the listener and filter name
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint.go

    				if gw.Spec.GatewayClassName != constants.WaypointGatewayClassName {
    					continue
    				}
    				filteredGws = append(filteredGws, gw)
    			}
    			if allNamespaces {
    				fmt.Fprintln(w, "NAMESPACE\tNAME\tREVISION\tPROGRAMMED")
    			} else {
    				fmt.Fprintln(w, "NAME\tREVISION\tPROGRAMMED")
    			}
    			for _, gw := range filteredGws {
    				programmed := kstatus.StatusFalse
    				rev := gw.Labels[label.IoIstioRev.Name]
    				if rev == "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/profile-diff.go

    	if err != nil {
    		return false, fmt.Errorf("could not read %q: %v", profileB, err)
    	}
    
    	diff := util.YAMLDiff(a, b)
    	if diff == "" {
    		fmt.Fprintln(writer, "Profiles are identical")
    	} else {
    		fmt.Fprintf(writer, "The difference between profiles:\n%s", diff)
    		return true, nil
    	}
    
    	return false, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top