- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 539 for fmt (0.15 sec)
-
internal/color/color.go
} return fmt.Sprintf }() RedBold = func() func(a ...interface{}) string { if IsTerminal() { return color.New(color.FgRed, color.Bold).SprintFunc() } return fmt.Sprint }() RedBoldf = func() func(format string, a ...interface{}) string { if IsTerminal() { return color.New(color.FgRed, color.Bold).SprintfFunc() } return fmt.Sprintf }()
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Dec 13 16:27:40 GMT 2022 - 3.7K 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()) }
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) -
cmd/ftp-server.go
if serverDebugLog { fmt.Printf("%s %s\n", sessionID, message) } } // Printf implement Logger func (log *minioLogger) Printf(sessionID string, format string, v ...interface{}) { if serverDebugLog { if sessionID != "" { fmt.Printf("%s %s\n", sessionID, fmt.Sprintf(format, v...)) } else { fmt.Printf(format+"\n", v...) } } }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 4.8K bytes - Viewed (2) -
istioctl/pkg/describe/describe.go
fmt.Fprintf(writer, "WARNING: User ID (UID) 1337 is reserved for the sidecar proxy.\n") } } } } fmt.Fprintf(writer, "Pod: %s\n", kname(pod.ObjectMeta)) fmt.Fprintf(writer, " Pod Revision: %s\n", revision) if len(ports) > 0 { fmt.Fprintf(writer, " Pod Ports: %s\n", strings.Join(ports, ", ")) } else { fmt.Fprintf(writer, " Pod does not expose ports\n") }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 50.4K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
if protocol.Parse(ap.(string)).IsUnsupported() { errs = multierror.Append(errs, fmt.Errorf("service %q doesn't follow Istio protocol selection. "+ "This is not recommended, See "+url.ProtocolSelection, fmt.Sprintf("%s/%s/:", un.GetName(), un.GetNamespace()))) } } else { if p["name"] == nil { errs = multierror.Append(errs, fmt.Errorf("service %q has an unnamed port. This is not recommended,"+
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
}, ) } switch ga.outputFormat { case "short": w := new(tabwriter.Writer).Init(out, 0, 8, 3, ' ', 0) _, _ = fmt.Fprintln(w, "ACTIVE SCOPE\tDESCRIPTION\tLOG LEVEL") for _, sll := range resultScopeLogLevel { _, _ = fmt.Fprintf(w, "%s\t%s\t%s\n", sll.ScopeName, sll.Description, sll.LogLevel) } return w.Flush() case "json", "yaml":
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 13.5K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
break } if time.Since(startTime) > waitTimeout { errorMsg := fmt.Sprintf("timed out while waiting for waypoint %v/%v", gw.Namespace, gw.Name) if err != nil { errorMsg += fmt.Sprintf(": %s", err) } return fmt.Errorf(errorMsg) } } } fmt.Fprintf(cmd.OutOrStdout(), "waypoint %v/%v applied\n", gw.Namespace, gw.Name)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 16:16:40 GMT 2024 - 15.2K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics.go
_, _ = 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) _, _ = fmt.Fprintf(w, "%.3f\t", wm.totalRPS) _, _ = fmt.Fprintf(w, "%.3f\t", wm.errorRPS)
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) -
istioctl/pkg/writer/envoy/configdump/cluster.go
if subset == "" { subset = "-" } if includeConfigType { c.Name = fmt.Sprintf("cluster/%s", c.Name) _, _ = fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%s\t%s\n", c.Name, fqdn, port, subset, direction, c.GetType(), describeManagement(c.GetMetadata())) } else { _, _ = fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%s\t%s\n", fqdn, port, subset, direction, c.GetType(), describeManagement(c.GetMetadata()))
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) -
docs/debugging/inspect/decrypt-v2.go
return errors.New("incorrect private key") } if err := stream.Skip(); err != nil { return fmt.Errorf("stream skip: %w", err) } continue } if extracted { return keepFileErr{fmt.Errorf("next stream: %w", err)} } return fmt.Errorf("next stream: %w", err) } if stream.Name == "inspect.zip" { if extracted {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 11 21:22:47 GMT 2024 - 2.2K bytes - Viewed (0)