Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Formatter (0.18 sec)

  1. cmd/object-api-errors.go

    // Error returns string an error formatted as the given text.
    func (e ObjectNameInvalid) Error() string {
    	return "Object name invalid: " + e.Bucket + "/" + e.Object
    }
    
    // Error returns string an error formatted as the given text.
    func (e ObjectNameTooLong) Error() string {
    	return "Object name too long: " + e.Bucket + "/" + e.Object
    }
    
    // Error returns string an error formatted as the given text.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. cmd/update.go

    // MinIO version string.
    //
    // An official binary's version string is the release time formatted
    // with RFC3339 (in UTC) - e.g. `2017-09-29T19:16:56Z`
    func minioVersionToReleaseTime(version string) (releaseTime time.Time, err error) {
    	return time.Parse(time.RFC3339, version)
    }
    
    // releaseTimeToReleaseTag - converts a time to a string formatted as
    // an official MinIO release tag.
    //
    // An official minio release tag looks like:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. cmd/speedtest.go

    		for _, lp := range localPaths {
    			if _, err := Lstat(pathJoin(lp, minioMetaBucket, formatConfigFile)); err == nil {
    				tmpPaths = append(tmpPaths, pathJoin(lp, minioMetaTmpBucket))
    			} else {
    				// Use dperf on only formatted drives.
    				ignoredPaths = append(ignoredPaths, lp)
    			}
    		}
    		return tmpPaths
    	}()
    
    	scheme := "http"
    	if globalIsTLS {
    		scheme = "https"
    	}
    
    	u := &url.URL{
    		Scheme: scheme,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. cmd/update-notifier.go

    	if globalServerCtxt.JSON {
    		return fmt.Sprintf("You are running an older version of MinIO released %s, update: %s", newerThan, downloadURL)
    	}
    
    	// Return the nicely colored and formatted update message.
    	return colorizeUpdateMessage(downloadURL, newerThan)
    }
    
    // colorizeUpdateMessage - inspired from Yeoman project npm package https://github.com/yeoman/update-notifier
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. cmd/format-erasure.go

    				disks[i], len(formats), humanize.Ordinal(i+1), len(formatErasure.Erasure.Sets)*len(formatErasure.Erasure.Sets[0]))
    		}
    		if len(formatErasure.Erasure.Sets[0]) != setDriveCount {
    			return fmt.Errorf("%s drive is already formatted with %d drives per erasure set. This cannot be changed to %d", disks[i], len(formatErasure.Erasure.Sets[0]), setDriveCount)
    		}
    	}
    	return nil
    }
    
    // Get backend Erasure format in quorum `format.json`.
    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)
  6. cmd/storage-interface.go

    	Close() error
    
    	// Returns the unique 'uuid' of this disk.
    	GetDiskID() (string, error)
    
    	// Set a unique 'uuid' for this disk, only used when
    	// disk is replaced and formatted.
    	SetDiskID(id string)
    
    	// Returns healing information for a newly replaced disk,
    	// returns 'nil' once healing is complete or if the disk
    	// has never been replaced.
    	Healing() *healingTracker
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. internal/etag/etag.go

    	}
    	return parts
    }
    
    // Format returns an ETag that is formatted as specified
    // by AWS S3.
    //
    // An AWS S3 ETag is 16 bytes long and, in case of a multipart
    // upload, has a `-N` suffix encoding the number of object parts.
    // An ETag is not AWS S3 compatible when encrypted. When sending
    // an ETag back to an S3 client it has to be formatted to be
    // AWS S3 compatible.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. cmd/prepare-storage.go

    			if sErr != nil {
    				logger.Error("Unable to read 'format.json' from %s: %v\n", endpoints[i], sErr)
    			}
    		}
    	}
    
    	// Pre-emptively check if one of the formatted disks
    	// is invalid. This function returns success for the
    	// most part unless one of the formats is not consistent
    	// with expected Erasure format. For example if a user is
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. cmd/server-main.go

    		if globalDNSConfig != nil {
    			// Background this operation.
    			bootstrapTrace("go initFederatorBackend", func() {
    				go initFederatorBackend(buckets, newObject)
    			})
    		}
    
    		// Prints the formatted startup message, if err is not nil then it prints additional information as well.
    		printStartupMessage(getAPIEndpoints(), err)
    
    		// Print a warning at the end of the startup banner so it is more noticeable
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  10. cmd/server-startup-msg.go

    // generates format string depending on the string length and padding.
    func getFormatStr(strLen int, padding int) string {
    	formatStr := fmt.Sprintf("%ds", strLen+padding)
    	return "%" + formatStr
    }
    
    // Prints the formatted startup message.
    func printStartupMessage(apiEndpoints []string, err error) {
    	logger.Info(color.Bold(MinioBannerName))
    	if err != nil {
    		if globalConsoleSys != nil {
    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)
Back to top