Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 72 for Method (0.17 sec)

  1. cmd/streaming-signature-v4.go

    	}
    
    	// Query string.
    	queryStr := req.Form.Encode()
    
    	// Get canonical request.
    	canonicalRequest := getCanonicalRequest(extractedSignedHeaders, payload, queryStr, req.URL.Path, req.Method)
    
    	// Get string to sign from canonical request.
    	stringToSign := getStringToSign(canonicalRequest, date, signV4Values.Credential.getScope())
    
    	// Get hmac signing key.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  2. cmd/admin-bucket-handlers.go

    			name:    filename,
    			size:    int64(sz),
    			mode:    0o600,
    			modTime: time.Now(),
    			isDir:   false,
    			sys:     nil,
    		})
    		if zerr == nil {
    			header.Method = zip.Deflate
    			zwriter, zerr := zipWriter.CreateHeader(header)
    			if zerr == nil {
    				io.Copy(zwriter, r)
    			}
    		}
    	}
    
    	cfgFiles := []string{
    		bucketPolicyConfig,
    		bucketNotificationConfig,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle.go

    			t.missedImmediateTasks.Add(1)
    		}
    	}
    }
    
    var globalTransitionState *transitionState
    
    // newTransitionState returns a transitionState object ready to be initialized
    // via its Init method.
    func newTransitionState(ctx context.Context) *transitionState {
    	return &transitionState{
    		transitionCh: make(chan transitionTask, 100000),
    		ctx:          ctx,
    		killCh:       make(chan struct{}),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  4. cmd/encryption-v1.go

    	if info.IsDir {
    		return false, nil
    	}
    	if r == nil {
    		return false, errInvalidArgument
    	}
    
    	headers := r.Header
    
    	// disallow X-Amz-Server-Side-Encryption header on HEAD and GET
    	switch r.Method {
    	case http.MethodGet, http.MethodHead:
    		if crypto.S3.IsRequested(headers) || crypto.S3KMS.IsRequested(headers) {
    			return false, errInvalidEncryptionParameters
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  5. cmd/object-api-utils.go

    	}
    	p.Reader = encReader
    	p.sealMD5Fn = sealETagFn(*objEncKey)
    	return p, nil
    }
    
    // NewPutObjReader returns a new PutObjReader. It uses given hash.Reader's
    // MD5Current method to construct md5sum when requested downstream.
    func NewPutObjReader(rawReader *hash.Reader) *PutObjReader {
    	return &PutObjReader{Reader: rawReader, rawReader: rawReader}
    }
    
    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)
  6. cmd/storage-rest-server.go

    			subrouter.Methods(http.MethodPost).Path(storageRESTVersionPrefix + storageRESTMethodReadXL).HandlerFunc(h(server.ReadXLHandler))
    			subrouter.Methods(http.MethodPost).Path(storageRESTVersionPrefix + storageRESTMethodCreateFile).HandlerFunc(h(server.CreateFileHandler))
    			subrouter.Methods(http.MethodPost).Path(storageRESTVersionPrefix + storageRESTMethodReadFile).HandlerFunc(h(server.ReadFileHandler))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    			cache.iamSTSPolicyMap.Store(k, v)
    			return true
    		})
    
    		cache.updatedAt = time.Now()
    	}
    
    	return nil
    }
    
    // IAMStoreSys contains IAMStorageAPI to add higher-level methods on the storage
    // layer.
    type IAMStoreSys struct {
    	IAMStorageAPI
    }
    
    // HasWatcher - returns if the storage system has a watcher.
    func (store *IAMStoreSys) HasWatcher() bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  8. cmd/peer-rest-server.go

    	subrouter.Methods(http.MethodPost).Path(peerRESTVersionPrefix + peerRESTMethodHealth).HandlerFunc(h(server.HealthHandler))
    	subrouter.Methods(http.MethodPost).Path(peerRESTVersionPrefix + peerRESTMethodVerifyBinary).HandlerFunc(h(server.VerifyBinaryHandler)).Queries(restQueries(peerRESTURL, peerRESTSha256Sum, peerRESTReleaseInfo)...)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  9. cmd/leak-detect_test.go

    	leakDetectDeadline = 5
    	// pause time (in milliseconds) between each snapshot at the end of the go routine leak detection.
    	leakDetectPauseTimeMs = 50
    )
    
    // LeakDetect - type with  methods for go routine leak detection.
    type LeakDetect struct {
    	relevantRoutines map[string]bool
    }
    
    // NewLeakDetect - Initialize a LeakDetector with the snapshot of relevant Go routines.
    func NewLeakDetect() LeakDetect {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. cmd/endpoint-ellipses.go

    	"github.com/minio/pkg/v2/env"
    )
    
    // This file implements and supports ellipses pattern for
    // `minio server` command line arguments.
    
    // Endpoint set represents parsed ellipses values, also provides
    // methods to get the sets of endpoints.
    type endpointSet struct {
    	argPatterns []ellipses.ArgPattern
    	endpoints   []string   // Endpoints saved from previous GetEndpoints().
    	setIndexes  [][]uint64 // All the sets.
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
Back to top