- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for bolt (0.15 sec)
-
istioctl/pkg/util/formatting/formatter.go
// Formatting options for Message var ( colorPrefixes = map[diag.Level]string{ diag.Info: "", // no special color for info messages diag.Warning: "\033[33m", // yellow diag.Error: "\033[1;31m", // bold red } ) // render turns a Message instance into a string with an option of colored bash output func render(m diag.Message, colorize bool) string { return fmt.Sprintf("%s%v%s [%v]%s %s",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jul 11 02:41:45 GMT 2023 - 3.1K bytes - Viewed (0) -
internal/logger/console.go
ExitFunc(1) } func (f fatalMsg) quiet(msg string, args ...interface{}) { f.pretty(msg, args...) } var ( logTag = "ERROR" logBanner = color.BgRed(color.FgWhite(color.Bold(logTag))) + " " emptyBanner = color.BgRed(strings.Repeat(" ", len(logTag))) + " " bannerWidth = len(logTag) + 1 ) func (f fatalMsg) pretty(msg string, args ...interface{}) { // Build the passed error message
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:57:52 GMT 2024 - 5.8K bytes - Viewed (0) -
internal/color/color.go
IsTerminal = func() bool { return !color.NoColor } Bold = func() func(format string, a ...interface{}) string { if IsTerminal() { return color.New(color.Bold).SprintfFunc() } return fmt.Sprintf }() RedBold = func() func(a ...interface{}) string { if IsTerminal() { return color.New(color.FgRed, color.Bold).SprintFunc() } return fmt.Sprint }()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:57:52 GMT 2024 - 3.8K bytes - Viewed (0) -
internal/config/certsinfo.go
buf.WriteString(color.Blue("%4sSignature Algorithm: ", "") + color.Bold(fmt.Sprintf("%s\n", cert.SignatureAlgorithm))) } // Issuer information buf.WriteString(color.Blue("%4sIssuer: ", "")) printName(cert.Issuer.Names, &buf) // Validity information buf.WriteString(color.Blue("%4sValidity\n", "")) buf.WriteString(color.Bold(fmt.Sprintf("%8sNot Before: %s\n", "", cert.NotBefore.Format(http.TimeFormat))))
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Nov 16 17:28:29 GMT 2021 - 3.1K bytes - Viewed (0) -
internal/config/errors-utils.go
introMsg += ": " if uiErr.msg != "" { introMsg += color.Bold(uiErr.msg) } else { introMsg += color.Bold(err.Error()) } renderedTxt += color.Red(introMsg) + "\n" // Add action message if uiErr.action != "" { renderedTxt += "> " + color.BgYellow(color.Black(uiErr.action)) + "\n" } // Add hint if uiErr.hint != "" { renderedTxt += color.Bold("HINT:") + "\n" renderedTxt += " " + uiErr.hint }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 06 16:56:10 GMT 2023 - 3.7K bytes - Viewed (0) -
src/cmd/asm/internal/arch/loong64.go
package arch import ( "cmd/internal/obj" "cmd/internal/obj/loong64" ) func jumpLoong64(word string) bool { switch word { case "BEQ", "BFPF", "BFPT", "BLTZ", "BGEZ", "BLEZ", "BGTZ", "BLT", "BLTU", "JIRL", "BNE", "BGE", "BGEU", "JMP", "JAL", "CALL": return true } return false } // IsLoong64CMP reports whether the op (as defined by an loong64.A* constant) is
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Feb 06 13:49:53 GMT 2023 - 2.1K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arm.go
"BNE": true, "BCS": true, "BHS": true, "BCC": true, "BLO": true, "BMI": true, "BPL": true, "BVS": true, "BVC": true, "BHI": true, "BLS": true, "BGE": true, "BLT": true, "BGT": true, "BLE": true, "CALL": true, "JMP": true, } func jumpArm(word string) bool { return armJump[word] } // IsARMCMP reports whether the op (as defined by an arm.A* constant) is
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Nov 18 17:59:44 GMT 2022 - 6.1K bytes - Viewed (0) -
cmd/server-startup-msg.go
// Colorize the message and print. logger.Info(color.Blue("API: ") + color.Bold(fmt.Sprintf("%s ", apiEndpointStr))) if color.IsTerminal() && (!globalServerCtxt.Anonymous && !globalServerCtxt.JSON && globalAPIConfig.permitRootAccess()) { logger.Info(color.Blue(" RootUser: ") + color.Bold("%s ", cred.AccessKey)) logger.Info(color.Blue(" RootPass: ") + color.Bold("%s \n", cred.SecretKey)) if region != "" {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 6.8K bytes - Viewed (0) -
cmd/main.go
fmt.Fprintln(banner, color.Bold("%s version %s (commit-id=%s)", c.App.Name, c.App.Version, CommitID)) fmt.Fprintln(banner, color.Blue("Runtime:")+color.Bold(" %s %s/%s", runtime.Version(), runtime.GOOS, runtime.GOARCH)) fmt.Fprintln(banner, color.Blue("License:")+color.Bold(" GNU AGPLv3 - https://www.gnu.org/licenses/agpl-3.0.html")) fmt.Fprintln(banner, color.Blue("Copyright:")+color.Bold(" 2015-%s MinIO, Inc.", CopyrightYear))
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:57:52 GMT 2024 - 6.4K bytes - Viewed (0) -
src/cmd/asm/internal/arch/s390x.go
import ( "cmd/internal/obj/s390x" ) func jumpS390x(word string) bool { switch word { case "BRC", "BC", "BCL", "BEQ", "BGE", "BGT", "BL", "BLE", "BLEU", "BLT", "BLTU", "BNE", "BR", "BVC", "BVS", "BRCT", "BRCTG", "CMPBEQ", "CMPBGE", "CMPBGT", "CMPBLE", "CMPBLT", "CMPBNE", "CMPUBEQ", "CMPUBGE", "CMPUBGT",
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 17 14:55:25 GMT 2019 - 1.2K bytes - Viewed (0)