Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for So (0.12 sec)

  1. cmd/is-dir-empty_linux.go

    	"syscall"
    )
    
    // Returns true if no error and there is no object or prefix inside this directory
    func isDirEmpty(dirname string, legacy bool) bool {
    	if legacy {
    		// On filesystems such as btrfs, nfs this is not true, so fallback
    		// to performing readdir() instead.
    		entries, err := readDirN(dirname, 1)
    		if err != nil {
    			return false
    		}
    		return len(entries) == 0
    	}
    	var stat syscall.Stat_t
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 15:17:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. cmd/object-api-common.go

    import (
    	"sync"
    
    	"github.com/dustin/go-humanize"
    )
    
    const (
    	// Block size used for all internal operations version 1.
    
    	// TLDR..
    	// Not used anymore xl.meta captures the right blockSize
    	// so blockSizeV2 should be used for all future purposes.
    	// this value is kept here to calculate the max API
    	// requests based on RAM size for existing content.
    	blockSizeV1 = 10 * humanize.MiByte
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. internal/hash/checksum.go

    		if cksum == nil {
    			continue
    		}
    		if cksum.Valid() {
    			w.Header().Set(cksum.Type.Key(), v)
    		}
    	}
    }
    
    // GetContentChecksum returns content checksum.
    // Returns ErrInvalidChecksum if so.
    // Returns nil, nil if no checksum.
    func GetContentChecksum(h http.Header) (*Checksum, error) {
    	if trailing := h.Values(xhttp.AmzTrailer); len(trailing) > 0 {
    		var res *Checksum
    		for _, header := range trailing {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. cmd/iam.go

    	usersSysType UsersSysType
    
    	rolesMap map[arn.ARN]string
    
    	// Persistence layer for IAM subsystem
    	store *IAMStoreSys
    
    	// configLoaded will be closed and remain so after first load.
    	configLoaded chan struct{}
    }
    
    // IAMUserType represents a user type inside MinIO server
    type IAMUserType int
    
    const (
    	unknownIAMUserType IAMUserType = iota - 1
    	regUser
    	stsUser
    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)
  5. cmd/erasure-object.go

    	if srcInfo.versionOnly {
    		versionID = dstOpts.VersionID
    		// preserve destination versionId if specified.
    		if versionID == "" {
    			versionID = mustGetUUID()
    			fi.IsLatest = true // we are creating a new version so this is latest.
    		}
    	}
    
    	modTime = UTCNow() // We only preserve modTime if dstOpts.MTime is true.
    	// in all other cases mtime is latest.
    
    	fi.VersionID = versionID // set any new versionID we might have created
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  6. cmd/xl-storage-disk-id-check.go

    	totalErrsAvailability atomic.Uint64 // Captures all data availability errors such as faulty disk, timeout errors.
    	totalErrsTimeout      atomic.Uint64 // Captures all timeout only errors
    
    	// apiCalls should be placed first so alignment is guaranteed for atomic operations.
    	apiCalls     [storageMetricLast]uint64
    	apiLatencies [storageMetricLast]*lockedLastMinuteLatency
    	diskID       atomic.Pointer[string]
    	storage      *xlStorage
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. helm/minio/values.yaml

    additionalAnnotations: {}
    
    ## Typically the deployment/statefulset includes checksums of secrets/config,
    ## So that when these change on a subsequent helm install, the deployment/statefulset
    ## is restarted. This can result in unnecessary restarts under GitOps tooling such as
    ## flux, so set to "true" to disable this behaviour.
    ignoreChartChecksums: false
    
    ## Additional arguments to pass to minio binary
    extraArgs: []
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 18.4K bytes
    - Viewed (0)
  8. docs/metrics/prometheus/README.md

    ```
    
    ##### Node (optional)
    
    Optionally you can also collect per node metrics. This needs to be done on a per server instance.
    The scrape configurations should use all the servers under `targets` so that graphing systems like
    grafana can visualize them for all the nodes
    
    ```yaml
    scrape_configs:
    - job_name: minio-job
      metrics_path: /minio/v2/metrics/node
      scheme: http
      static_configs:
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 15:49:30 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  9. cmd/signature-v4-utils.go

    			// Expect header is always of form:
    			//
    			//   Expect       =  "Expect" ":" 1#expectation
    			//   expectation  =  "100-continue" | expectation-extension
    			//
    			// So it safe to assume that '100-continue' is what would
    			// be sent, for the time being keep this work around.
    			// Adding a *TODO* to remove this later when Golang server
    			// doesn't filter out the 'Expect' header.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. docs/kms/README.md

    ```
    export MINIO_KMS_AUTO_ENCRYPTION=on
    ```
    
    ### Verify auto-encryption
    
    > Note that auto-encryption only affects requests without S3 encryption headers. So, if a S3 client sends
    > e.g. SSE-C headers, MinIO will encrypt the object with the key sent by the client and won't reach out to
    > the configured KMS.
    
    To verify auto-encryption, use the following `mc` command:
    
    ```
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.1K bytes
    - Viewed (0)
Back to top