Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 249 for Fprintf (0.18 sec)

  1. 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)
    			}
    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)
  2. internal/logger/target/testlogger/testlogger.go

    		case errorMessage:
    			logf = func(format string, args ...any) {
    				fmt.Fprintf(os.Stderr, format+"\n", args...)
    			}
    		case fatalMessage:
    			logf = func(format string, args ...any) {
    				fmt.Fprintf(os.Stderr, format+"\n", args...)
    			}
    			defer os.Exit(1)
    		default:
    			logf = func(format string, args ...any) {
    				fmt.Fprintf(os.Stdout, format+"\n", args...)
    			}
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. cmd/erasure-metadata.go

    				fmt.Fprintf(h, "%v", meta.Erasure.Distribution)
    			}
    
    			if meta.IsRemote() {
    				// ILM transition fields
    				fmt.Fprint(h, meta.TransitionStatus)
    				fmt.Fprint(h, meta.TransitionTier)
    				fmt.Fprint(h, meta.TransitionedObjName)
    				fmt.Fprint(h, meta.TransitionVersionID)
    			}
    
    			// If metadata says encrypted, ask for it in quorum.
    			if etyp, ok := crypto.IsEncrypted(meta.Metadata); ok {
    				fmt.Fprint(h, etyp)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  4. docs/debugging/reorder-disks/main.go

    	for _, disk := range localDisks {
    		expectedDisksName[fmt.Sprintf("%d-%d", disk.index/setSize, disk.index%setSize)] = disk.path
    		format, err := getFormatJSON(disk.path)
    		if err != nil {
    			log.Printf("Unable to read format.json from `%s`, error: %v\n", disk.path, err)
    			continue
    		}
    		foundDiskLoc, err := getDiskLocation(format)
    		if err != nil {
    			log.Printf("Unable to get disk location of `%s`, error: %v\n", disk.path, err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  5. docs/debugging/xl-meta/main.go

    						if verID == "00000000-0000-0000-0000-000000000000" {
    							// If the version ID is all zeros, use the signature as version ID.
    							verID = fmt.Sprintf("null/%08x", header.Signature)
    							v0 = verID
    						}
    						idx := ei.V2Obj.EcIndex
    						filemap[file][verID] = fmt.Sprintf("%s/shard-%02d-of-%02d", verID, idx, ei.V2Obj.EcN+ei.V2Obj.EcM)
    						filemap[file][verID+".json"] = buf.String()
    					}
    					return nil
    				})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  6. cmd/sts-handlers_test.go

    	for i, testApp := range testApps {
    		configCmds := []string{
    			fmt.Sprintf("identity_openid:%d", i),
    			fmt.Sprintf("config_url=%s/.well-known/openid-configuration", testApp.ProviderURL),
    			fmt.Sprintf("client_id=%s", testApp.ClientID),
    			fmt.Sprintf("client_secret=%s", testApp.ClientSecret),
    			"scopes=openid,groups",
    			fmt.Sprintf("redirect_uri=%s", testApp.RedirectURL),
    		}
    		if rolePolicies[i] != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  7. docs/debugging/s3-check-md5/main.go

    			}
    
    			corrupted := false
    			if !multipart {
    				md5sum := fmt.Sprintf("%x", partsMD5Sum[0])
    				if md5sum != object.ETag {
    					corrupted = true
    				}
    			} else {
    				var totalMD5SumBytes []byte
    				for _, sum := range partsMD5Sum {
    					totalMD5SumBytes = append(totalMD5SumBytes, sum...)
    				}
    				s3MD5 := fmt.Sprintf("%x-%d", getMD5Sum(totalMD5SumBytes), parts)
    				if s3MD5 != object.ETag {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  8. helm-releases/minio-5.0.5.tgz

    $svc.accessKey }} svc_policy_{{ $idx }}.json: |- {{ include (print $.Template.BasePath "/_helper_policy.tpl") .policy | indent 4 }} {{- end }} {{ end }} add-svcacct: |- {{ include (print $.Template.BasePath "/_helper_create_svcacct.txt") . | indent 4 }} custom-command: |- {{ include (print $.Template.BasePath "/_helper_custom_command.txt") . | indent 4 }} minio/templates/console-ingress.yaml {{- if .Values.consoleIngress.enabled -}} {{- $fullName := printf "%s-console" (include "minio.fullname" .) -}} {{- $servicePort...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 03 20:54:02 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  9. helm-releases/minio-5.0.7.tgz

    $svc.accessKey }} svc_policy_{{ $idx }}.json: |- {{ include (print $.Template.BasePath "/_helper_policy.tpl") .policy | indent 4 }} {{- end }} {{ end }} add-svcacct: |- {{ include (print $.Template.BasePath "/_helper_create_svcacct.txt") . | indent 4 }} custom-command: |- {{ include (print $.Template.BasePath "/_helper_custom_command.txt") . | indent 4 }} minio/templates/console-ingress.yaml {{- if .Values.consoleIngress.enabled -}} {{- $fullName := printf "%s-console" (include "minio.fullname" .) -}} {{- $servicePort...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 13 10:37:23 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  10. cmd/bootstrap-peer-server.go

    	}
    	msg := "Expected same MINIO_ environment variables and values across all servers: "
    	if len(missing) > 0 {
    		msg += fmt.Sprintf(`Missing environment values: %v. `, missing)
    	}
    	if len(mismatching) > 0 {
    		msg += fmt.Sprintf(`Mismatching environment values: %v. `, mismatching)
    	}
    	if len(extra) > 0 {
    		msg += fmt.Sprintf(`Extra environment values: %v. `, extra)
    	}
    
    	return errors.New(strings.TrimSpace(msg))
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
Back to top