- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 546 for Sprintf (0.16 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) -
istioctl/pkg/writer/envoy/configdump/listener.go
}) for _, match := range matches { if includeConfigType { name := fmt.Sprintf("listener/%s", l.Name) fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\n", name, strings.Join(addresses, ","), port, match.match, match.destination) } else { fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", strings.Join(addresses, ","), port, match.match, match.destination) } } } else {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 29 12:37:14 UTC 2023 - 18.1K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
} if len(files) > 1 { fmt.Fprintf(cmd.ErrOrStderr(), "\u2714 No validation issues found when analyzing:\n - %s\n", strings.Join(files, "\n - ")) } else { fmt.Fprintf(cmd.ErrOrStderr(), "\u2714 No validation issues found when analyzing %s.\n", strings.Join(files, "\n")) } } else {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
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") }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K 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)