- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 30 for dolor (0.13 sec)
-
cmd/format-erasure.go
package cmd import ( "context" "encoding/json" "errors" "fmt" "io/fs" "os" "sync" "github.com/dustin/go-humanize" "github.com/minio/minio/internal/color" "github.com/minio/minio/internal/config" "github.com/minio/minio/internal/config/storageclass" xioutil "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/logger"
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 23.2K 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) -
istioctl/pkg/writer/table/writer_test.go
// See the License for the specific language governing permissions and // limitations under the License. package table import ( "bytes" "testing" "github.com/fatih/color" ) type testObject struct { name string namespace string version string } var newTestObject = func(name, namespace, version string) testObject { return testObject{ name: name,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Oct 08 04:41:42 GMT 2022 - 1.6K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
} } output, err := formatting.Print(outputMsgs, msgOutputFormat, true) if err != nil { return err } if len(outputMsgs) == 0 { fmt.Fprintf(cmd.ErrOrStderr(), color.New(color.FgGreen).Sprint("✔")+" No issues found when checking the cluster. Istio is safe to install or upgrade!\n"+ " To get started, check out https://istio.io/latest/docs/setup/getting-started/\n") } else {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 02:57:30 GMT 2024 - 19.3K bytes - Viewed (0) -
cmd/iam.go
for arn := range sys.rolesMap { arns = append(arns, arn.String()) } sort.Strings(arns) msgs := make([]string, 0, len(arns)) for _, arn := range arns { msgs = append(msgs, color.Bold(arn)) } logger.Info(fmt.Sprintf("%s %s", color.Blue("IAM Roles:"), strings.Join(msgs, " "))) } // HasWatcher - returns if the IAM system has a watcher to be notified of // changes. func (sys *IAMSys) HasWatcher() bool {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 21:28:16 GMT 2024 - 71.1K bytes - Viewed (1) -
internal/color/color.go
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 }() RedBoldf = func() func(format string, a ...interface{}) string { if IsTerminal() { return color.New(color.FgRed, color.Bold).SprintfFunc() } return fmt.Sprintf }()
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
func CertificateText(cert *x509.Certificate) string { var buf strings.Builder buf.WriteString(color.Blue("\nCertificate:\n")) if cert.SignatureAlgorithm != x509.UnknownSignatureAlgorithm { 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
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) -
istioctl/pkg/writer/table/writer.go
type Cell struct { Value string Attributes []color.Attribute } type Row struct { Cells []Cell } func NewCell(value string, attributes ...color.Attribute) Cell { attrs := append([]color.Attribute{}, attributes...) return Cell{value, attrs} } func (cell Cell) String() string { if len(cell.Attributes) == 0 { return cell.Value } s := color.New(cell.Attributes...) s.EnableColor()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Oct 08 04:41:42 GMT 2022 - 2.8K bytes - Viewed (0) -
operator/cmd/mesh/install.go
if err != nil { return fmt.Errorf("fetch Istio version: %v", err) } // return warning if current date is near the EOL date if operatorVer.IsEOL() { warnMarker := color.New(color.FgYellow).Add(color.Italic).Sprint("WARNING:") fmt.Printf("%s Istio %v may be out of support (EOL) already: see https://istio.io/latest/docs/releases/supported-releases/ for supported releases\n",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 14:30:43 GMT 2024 - 15.5K bytes - Viewed (1)