Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 113 for May (0.14 sec)

  1. internal/config/certs.go

    	}
    
    	return x509Certs, nil
    }
    
    // LoadX509KeyPair - load an X509 key pair (private key , certificate)
    // from the provided paths. The private key may be encrypted and is
    // decrypted using the ENV_VAR: MINIO_CERT_PASSWD.
    func LoadX509KeyPair(certFile, keyFile string) (tls.Certificate, error) {
    	certPEMBlock, err := os.ReadFile(certFile)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  2. internal/grid/debug.go

    	"sync"
    	"time"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/mux"
    )
    
    //go:generate stringer -type=debugMsg $GOFILE
    
    // debugMsg is a debug message for testing purposes.
    // may only be used for tests.
    type debugMsg int
    
    const (
    	debugPrint = false
    	debugReqs  = false
    )
    
    const (
    	debugShutdown debugMsg = iota
    	debugKillInbound
    	debugKillOutbound
    	debugWaitForExit
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. cmd/metacache-manager.go

    	m.init.Do(m.initManager)
    	m.mu.Lock()
    	b, ok := m.buckets[bucket]
    	if !ok {
    		m.mu.Unlock()
    		return
    	}
    	delete(m.buckets, bucket)
    	m.mu.Unlock()
    
    	// Since deletes may take some time we try to do it without
    	// holding lock to m all the time.
    	b.mu.Lock()
    	defer b.mu.Unlock()
    	for k, v := range b.caches {
    		if time.Since(v.lastUpdate) > metacacheMaxRunningAge {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  4. cmd/typed-errors.go

    // error returned when more than a single policy is specified when only one is
    // expected.
    var errTooManyPolicies = errors.New("Only a single policy may be specified here.")
    
    // error returned in IAM subsystem when an external users systems is configured.
    var errIAMActionNotAllowed = errors.New("Specified IAM action is not allowed")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. internal/s3select/sql/stringfuncs_contrib_test.go

    /*
     * MinIO Object Storage (c) 2021 MinIO, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  6. cmd/speedtest.go

    		concurrency := opts.concurrencyStart
    
    		if opts.autotune {
    			// if we have less drives than concurrency then choose
    			// only the concurrency to be number of drives to start
    			// with - since default '32' might be big and may not
    			// complete in total time of 10s.
    			if globalEndpoints.NEndpoints() < concurrency {
    				concurrency = globalEndpoints.NEndpoints()
    			}
    
    			// Check if we have local disks per pool less than
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. internal/crypto/key.go

    		IV:        iv,
    		Algorithm: SealAlgorithm,
    	}
    	copy(sealedKey.Key[:], encryptedKey.Bytes())
    	return sealedKey
    }
    
    // Unseal decrypts a sealed key using the 256 bit external key. Since the sealed key
    // may be cryptographically bound to the object's path the same bucket/object as during sealing
    // must be provided. On success the ObjectKey contains the decrypted sealed key.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. cmd/os_unix.go

    	if err != nil {
    		if osErrToFileErr(err) == errFileNotFound {
    			return nil
    		}
    		if !osIsPermission(err) {
    			return osErrToFileErr(err)
    		}
    		// There may be permission error when dirPath
    		// is at the root of the disk mount that may
    		// not have the permissions to avoid 'noatime'
    		fd, err = openFileWithFD(dirPath, os.O_RDONLY, 0o666)
    		if err != nil {
    			if osErrToFileErr(err) == errFileNotFound {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  9. cmd/object-api-utils.go

    func hasSuffixByte(s string, suffix byte) bool {
    	return len(s) > 0 && s[len(s)-1] == suffix
    }
    
    // pathNeedsClean returns whether path.Clean may change the path.
    // Will detect all cases that will be cleaned,
    // but may produce false positives on non-trivial paths.
    func pathNeedsClean(path []byte) bool {
    	if len(path) == 0 {
    		return true
    	}
    
    	rooted := path[0] == '/'
    	n := len(path)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  10. internal/kms/kms.go

    	CreateKey(ctx context.Context, keyID string) error
    
    	// GenerateKey generates a new data encryption key using the
    	// key referenced by the key ID.
    	//
    	// The KMS may use a default key if the key ID is empty.
    	// GenerateKey returns an error if the referenced key does
    	// not exist.
    	//
    	// The context is associated and tied to the generated DEK.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top