Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for tabwriter (0.2 sec)

  1. istioctl/pkg/writer/pilot/status.go

    	}
    	return nil
    }
    
    func (s *XdsStatusWriter) setupStatusPrint(drs map[string]*discovery.DiscoveryResponse) (*tabwriter.Writer, []*xdsWriterStatus, error) {
    	// Gather the statuses before printing so they may be sorted
    	var fullStatus []*xdsWriterStatus
    	mappedResp := map[string]string{}
    	w := new(tabwriter.Writer).Init(s.Writer, 0, 8, 5, ' ', 0)
    	_, _ = fmt.Fprintln(w, "NAME\tCLUSTER\tCDS\tLDS\tEDS\tRDS\tECDS\tISTIOD\tVERSION")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    func (c *ConfigWriter) PrintPodRootCAFromDynamicSecretDump() (string, error) {
    	// TODO
    	return "", nil
    }
    
    func (c *ConfigWriter) tabwriter() *tabwriter.Writer {
    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 1, ' ', 0)
    	return w
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. istioctl/pkg/proxyconfig/clusters.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package proxyconfig
    
    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"io"
    	"text/tabwriter"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/pkg/cluster"
    )
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/ecds.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package configdump
    
    import (
    	"fmt"
    	"sort"
    	"strings"
    	"text/tabwriter"
    
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    const typeURLPrefix = "type.googleapis.com/"
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Jan 14 02:41:27 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. istioctl/pkg/metrics/metrics.go

    }
    
    func printHeader(writer io.Writer) {
    	w := tabwriter.NewWriter(writer, 13, 1, 2, ' ', tabwriter.AlignRight)
    	_, _ = fmt.Fprintf(w, "%40s\tTOTAL RPS\tERROR RPS\tP50 LATENCY\tP90 LATENCY\tP99 LATENCY\t\n", "WORKLOAD")
    	_ = w.Flush()
    }
    
    func printMetrics(writer io.Writer, wm workloadMetrics) {
    	w := tabwriter.NewWriter(writer, 13, 1, 2, ' ', tabwriter.AlignRight)
    	_, _ = fmt.Fprintf(w, "%40s\t", wm.workload)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. LICENSES/vendor/github.com/liggitt/tabwriter/LICENSE

    = vendor/github.com/liggitt/tabwriter licensed under: =
    
    Copyright (c) 2009 The Go Authors. All rights reserved.
    
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are
    met:
    
       * Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
       * Redistributions in binary form must reproduce the above
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Fri May 08 04:49:00 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/cluster.go

    		}
    	}
    	_, _ = fmt.Fprintln(c.Stdout, string(out))
    	return nil
    }
    
    func (c *ConfigWriter) setupClusterConfigWriter() (*tabwriter.Writer, []*cluster.Cluster, error) {
    	clusters, err := c.retrieveSortedClusterSlice()
    	if err != nil {
    		return nil, nil, err
    	}
    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0)
    	return w, clusters, nil
    }
    
    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)
  8. istioctl/pkg/config/config.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package config
    
    import (
    	"fmt"
    	"io"
    	"sort"
    	"text/tabwriter"
    
    	"github.com/spf13/cobra"
    	"github.com/spf13/viper"
    
    	"istio.io/istio/istioctl/pkg/root"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/env"
    )
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Jul 30 12:16:07 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/sds/writer.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package sdscompare
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"strings"
    	"text/tabwriter"
    )
    
    // SDSWriter takes lists of SecretItem or SecretItemDiff and prints them through supplied output writer
    type SDSWriter interface {
    	PrintSecretItems([]SecretItem) error
    	PrintDiffs([]SecretItemDiff) error
    }
    
    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)
  10. istioctl/pkg/writer/envoy/configdump/route.go

    		}
    	}
    	fmt.Fprintln(c.Stdout, string(out))
    	return nil
    }
    
    func (c *ConfigWriter) setupRouteConfigWriter() (*tabwriter.Writer, []*route.RouteConfiguration, error) {
    	routes, err := c.retrieveSortedRouteSlice()
    	if err != nil {
    		return nil, nil, err
    	}
    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0)
    	return w, routes, nil
    }
    
    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