- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for fprint96 (0.23 sec)
-
internal/logger/console.go
Time: time.Now().UTC(), }) if err != nil { panic(err) } fmt.Fprintln(Output, string(logJSON)) } func (i infoMsg) quiet(msg string, args ...interface{}) { } func (i infoMsg) pretty(msg string, args ...interface{}) { if msg == "" { fmt.Fprintln(Output, args...) } else { fmt.Fprintf(Output, `INFO: `+msg, args...) } } type errorMsg struct{}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 7.5K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer.go
func (w *sdsWriter) printDiffsTabular(statuses []SecretItemDiff) error { if len(statuses) == 0 { fmt.Fprintln(w.w, "No secrets found to diff.") return nil } tw := new(tabwriter.Writer).Init(w.w, 0, 5, 5, ' ', 0) fmt.Fprintln(tw, strings.Join(secretDiffColumns, "\t")) for _, status := range statuses { fmt.Fprintf(tw, "%s\t%s\t%t\t%s\t%s\t%s\t%s\t%s\n",
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/writer/envoy/configdump/configdump.go
sb strings.Builder ) fmt.Fprintf(&sb, "%d.%d.%d", version.GetMajorNumber(), version.GetMinorNumber(), version.GetPatch()) if label, ok := md[buildLabelKey]; ok { fmt.Fprintf(&sb, "-%s", label.GetStringValue()) } if status, ok := md[statusKey]; ok { fmt.Fprintf(&sb, "/%s", status.GetStringValue()) } if typ, ok := md[buildTypeKey]; ok { fmt.Fprintf(&sb, "/%s", typ.GetStringValue()) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Feb 29 20:46:41 UTC 2024 - 7.4K bytes - Viewed (0) -
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) }
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/connections.go
if filter.Direction != "outbound" { for _, c := range wl.Connections.Inbound { fmt.Fprintf(w, "%v\tInbound\t%v\t%v\t%v\n", name, lookupIP(c.ActualDst), lookupIP(c.Src), c.OriginalDst) } } if filter.Direction != "inbound" { for _, c := range wl.Connections.Outbound { fmt.Fprintf(w, "%v\tOutbound\t%v\t%v\t%v\n", name, lookupIP(c.Src), lookupIP(c.ActualDst), lookupIP(c.OriginalDst)) } } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri May 31 21:45:11 UTC 2024 - 3.5K bytes - Viewed (0) -
src/bufio/example_test.go
} if err := scanner.Err(); err != nil { fmt.Fprintln(os.Stderr, "reading standard input:", err) } } // Return the most recent call to Scan as a []byte. func ExampleScanner_Bytes() { scanner := bufio.NewScanner(strings.NewReader("gopher")) for scanner.Scan() { fmt.Println(len(scanner.Bytes()) == 6) } if err := scanner.Err(); err != nil { fmt.Fprintln(os.Stderr, "shouldn't see an error scanning a string") }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster.go
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") } for _, c := range clusters { if filter.Verify(c) { if len(strings.Split(c.Name, "|")) > 3 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu May 11 05:38:17 UTC 2023 - 5.9K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/services.go
if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 { return r } if r := cmp.Compare(a.Name, b.Name); r != 0 { return r } return cmp.Compare(a.Hostname, b.Hostname) }) fmt.Fprintln(w, "NAMESPACE\tSERVICE NAME\tSERVICE VIP\tWAYPOINT\tENDPOINTS") for _, svc := range svcs { ips := []string{} for _, addr := range svc.Addresses { _, ip, _ := strings.Cut(addr, "/") ips = append(ips, ip)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jul 24 09:07:30 UTC 2024 - 3.2K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/policies.go
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/ztunnel/configdump/certificates.go
w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0) fmt.Fprintln(w, "CERTIFICATE NAME\tTYPE\tSTATUS\tVALID CERT\tSERIAL NUMBER\tNOT AFTER\tNOT BEFORE") for _, secret := range secretDump { if strings.Contains(secret.State, "Unavailable") { secret.State = "Unavailable" } if len(secret.CertChain) == 0 { fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\n",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Apr 25 16:38:16 UTC 2024 - 3.2K bytes - Viewed (0)