- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for tabwriter (0.27 sec)
-
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
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 06 20:18:34 UTC 2024 - 3.9K bytes - Viewed (0) -
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")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 21 22:47:20 UTC 2024 - 6.5K bytes - Viewed (0) -
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 }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 28 19:52:53 UTC 2024 - 4.8K bytes - Viewed (0) -
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)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0) -
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 }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 08 20:44:50 UTC 2024 - 7.2K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/certificates.go
// See the License for the specific language governing permissions and // limitations under the License. package configdump import ( "encoding/json" "fmt" "math/big" "strings" "text/tabwriter" "time" "sigs.k8s.io/yaml" "istio.io/istio/pkg/log" ) // PrintSecretDump prints just the secret config dump to the ConfigWriter stdout func (c *ConfigWriter) PrintSecretDump(outputFormat string) error {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Apr 25 16:38:16 UTC 2024 - 3.2K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
// See the License for the specific language governing permissions and // limitations under the License. package injector import ( "context" "fmt" "io" "sort" "strconv" "strings" "text/tabwriter" "github.com/spf13/cobra" admitv1 "k8s.io/api/admissionregistration/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" api_pkg_labels "k8s.io/apimachinery/pkg/labels"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Oct 18 11:39:52 UTC 2024 - 10.6K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/policies.go
} return true } // PrintServiceSummary prints a summary of the relevant services in the config dump to the ConfigWriter stdout func (c *ConfigWriter) PrintPolicySummary(filter PolicyFilter) error { w := c.tabwriter() zDump := c.ztunnelDump pols := slices.Filter(zDump.Policies, filter.Verify) slices.SortFunc(pols, func(a, b *ZtunnelPolicy) int { if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 { return r }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri May 31 21:45:11 UTC 2024 - 2.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint.go
// See the License for the specific language governing permissions and // limitations under the License. package configdump import ( "encoding/json" "fmt" "sort" "strconv" "strings" "text/tabwriter" core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" endpoint "github.com/envoyproxy/go-control-plane/envoy/config/endpoint/v3" "google.golang.org/protobuf/types/known/anypb" "sigs.k8s.io/yaml"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 22 09:57:29 UTC 2024 - 6.1K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
} } fmt.Fprintln(c.Stdout, string(out)) return nil } func (c *ConfigWriter) setupListenerConfigWriter() (*tabwriter.Writer, []*listener.Listener, error) { listeners, err := c.retrieveSortedListenerSlice() if err != nil { return nil, nil, err } w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 1, ' ', 0) return w, listeners, nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 29 12:37:14 UTC 2023 - 18.1K bytes - Viewed (0)