Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Formatter (0.17 sec)

  1. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  3. cmd/utils.go

    	enc := json.NewEncoder(&buffer)
    	enc.SetEscapeHTML(false)
    	if err := enc.Encode(&req); err != nil {
    		// Upon error just return Go-syntax representation of the value
    		return fmt.Sprintf("%#v", req)
    	}
    
    	// Formatted string.
    	return strings.TrimSpace(buffer.String())
    }
    
    // isFile - returns whether given path is a file or not.
    func isFile(path string) bool {
    	if fi, err := os.Stat(path); err == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 31.3K bytes
    - Viewed (0)
  4. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  5. docs/bucket/notifications/README.md

    If Elasticsearch has authentication enabled, the credentials can be supplied to MinIO via the `url` parameter formatted as `PROTO://USERNAME:PASSWORD@ELASTICSEARCH_HOST:PORT`.
    
    To update the configuration, use `mc admin config get` command to get the current configuration.
    
    ```sh
    $ mc admin config get myminio/ notify_elasticsearch
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  6. docs/tls/README.md

    ```sh
    export MINIO_CERT_PASSWD=<PASSWORD>
    ```
    
    The default OpenSSL format for private encrypted keys is PKCS-8, but MinIO only supports PKCS-1. An RSA key that has been formatted with PKCS-8 can be converted to PKCS-1 using the following command:
    
    ```sh
    openssl rsa -in private-pkcs8-key.key -aes256 -passout pass:PASSWORD -out private.key
    ```
    
    #### 3.2.3 Generate a self-signed certificate
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  7. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  8. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  9. buildscripts/verify-healing-with-root-disks.sh

    		sudo mount ${device} ${WORK_DIR}/mnt/disk${i}/
    		sudo chown "$(id -u):$(id -g)" ${device} ${WORK_DIR}/mnt/disk${i}/
    	done
    	set +e
    }
    
    # Start a distributed MinIO setup, unmount one disk and check if it is formatted
    function main() {
    	start_port=$(shuf -i 10000-65000 -n 1)
    	start_minio ${start_port}
    
    	# Unmount the disk, after the unmount the device id
    	# /tmp/xxx/mnt/disk4 will be the same as '/' and it
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  10. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top