- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 362 for Sprintf (0.12 sec)
-
internal/logger/console.go
if len(line) == 0 { // No more text to print, just quit. break } for { // Save the attributes of the current cursor helps // us save the text color of the passed error message ansiSaveAttributes() // Print banner with or without the log tag if !tagPrinted { fmt.Fprint(Output, logBanner) tagPrinted = true } else { fmt.Fprint(Output, emptyBanner) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 7.5K bytes - Viewed (0) -
internal/config/certsinfo.go
switch oid[3] { case 3: values = append(values, fmt.Sprintf("CN=%s", name.Value)) case 6: values = append(values, fmt.Sprintf("C=%s", name.Value)) case 8: values = append(values, fmt.Sprintf("ST=%s", name.Value)) case 10: values = append(values, fmt.Sprintf("O=%s", name.Value)) case 11: values = append(values, fmt.Sprintf("OU=%s", name.Value)) default:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 3.1K bytes - Viewed (0) -
internal/color/color.go
} return fmt.Sprintf }() Blue = func() func(format string, a ...interface{}) string { if IsTerminal() { return color.New(color.FgBlue).SprintfFunc() } return fmt.Sprintf }() Yellow = func() func(format string, a ...interface{}) string { if IsTerminal() { return color.New(color.FgYellow).SprintfFunc() } return fmt.Sprintf }()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 17:57:52 UTC 2024 - 3.8K bytes - Viewed (0) -
cmd/server-startup-msg.go
// Configure 'mc', following block prints platform specific information for minio client. if color.IsTerminal() && (!globalServerCtxt.Anonymous && globalAPIConfig.permitRootAccess()) { logger.Startup(color.Blue("\nCLI: ") + mcQuickStartGuide) mcMessage := fmt.Sprintf("$ mc alias set '%s' '%s' '%s' '%s'", alias, endPoint, cred.AccessKey, cred.SecretKey) logger.Startup(fmt.Sprintf(getFormatStr(len(mcMessage), 3), mcMessage)) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 23 14:11:35 UTC 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
if nsMatched && podMatched { if nsLabel != "" && podLabel != "" { return fmt.Sprintf("Namespace label %s matches, and pod label %s matches", nsLabel, podLabel), true } else if nsLabel != "" { outMsg := fmt.Sprintf("Namespace label %s matches", nsLabel) if strings.Contains(nsLabel, "kubernetes.io/metadata.name") {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 9.3K bytes - Viewed (0) -
cmd/ftp-server.go
type minioLogger struct{} // Print implement Logger func (log *minioLogger) Print(sessionID string, message interface{}) { 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...))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Mar 09 03:07:08 UTC 2024 - 4.8K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version_test.go
version: version1_18, logMsg: fmt.Sprintf(UnSupportedK8SVersionLogMsg, version1_18.GitVersion, pkgVersion.Info.Version, MinK8SVersion), isValid: false, }, { version: version1_8, logMsg: fmt.Sprintf(UnSupportedK8SVersionLogMsg, version1_8.GitVersion, pkgVersion.Info.Version, MinK8SVersion), isValid: false, }, { version: version1_17GKE,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 21:50:50 UTC 2024 - 6.5K bytes - Viewed (0) -
cni/pkg/plugin/kubernetes.go
func (pi PodInfo) String() string { var b strings.Builder b.WriteString(fmt.Sprintf(" Containers: %v\n", sets.SortedList(pi.Containers))) b.WriteString(fmt.Sprintf(" Labels: %+v\n", pi.Labels)) b.WriteString(fmt.Sprintf(" Annotations: %+v\n", pi.Annotations)) b.WriteString(fmt.Sprintf(" Envs: %+v\n", pi.ProxyEnvironments)) b.WriteString(fmt.Sprintf(" ProxyConfig: %+v\n", pi.ProxyEnvironments)) return b.String()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 3.7K bytes - Viewed (0) -
internal/event/errors.go
message = fmt.Sprintf("%+v", err.Queue) } else { message = string(data) } return fmt.Sprintf("duplicate queue configuration %v", message) } // ErrUnknownRegion - unknown region error. type ErrUnknownRegion struct { Region string } func (err ErrUnknownRegion) Error() string { return fmt.Sprintf("unknown region '%v'", err.Region) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 4.1K 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)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0)