Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for given (0.13 sec)

  1. cmd/server_test.go

    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	objectName := "test-non-exitent-object"
    	// HTTP request to download the object.
    	// Since the specified object doesn't exist in the given bucket,
    	// expected to fail with error message "NoSuchKey"
    	request, err = newTestSignedRequest(http.MethodGet, getGetObjectURL(s.endPoint, bucketName, objectName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    	// ReplicationWorkerMultiplier is suggested worker multiplier if traffic exceeds replication worker capacity
    	ReplicationWorkerMultiplier = 1.5
    )
    
    // gets replication config associated to a given bucket name.
    func getReplicationConfig(ctx context.Context, bucketName string) (rc *replication.Config, err error) {
    	rCfg, _, err := globalBucketMetadataSys.GetReplicationConfig(ctx, bucketName)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  3. cmd/site-replication.go

    	}
    	errSRDuplicateSites = SRError{
    		Cause: errors.New("duplicate sites provided for site-replication"),
    		Code:  ErrSiteReplicationInvalidRequest,
    	}
    	errSRSelfNotFound = SRError{
    		Cause: errors.New("none of the given sites correspond to the current one"),
    		Code:  ErrSiteReplicationInvalidRequest,
    	}
    	errSRPeerNotFound = SRError{
    		Cause: errors.New("peer not found"),
    		Code:  ErrSiteReplicationInvalidRequest,
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  4. cmd/admin-handlers.go

    	// anonAddr - Anonymizes hosts in given input string
    	// (only if the anonymize param is set to srict).
    	anonAddr := func(addr string) string {
    		if anonParam != anonymizeStrict {
    			return addr
    		}
    		newAddr, found := hostAnonymizer[addr]
    		if found {
    			return newAddr
    		}
    
    		// If we reach here, it means that the given addr doesn't contain any of the hosts.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  5. cmd/object-handlers_test.go

    				// Malformed signature.
    				if test.fault == BadSignature {
    					req.Header.Set("authorization", req.Header.Get("authorization")+"a")
    				}
    
    				// invoke the PutObjectPart HTTP handler with the given HTTP request.
    				apiRouter.ServeHTTP(rec, req)
    
    				// validate the error response.
    				if test.expectedErr != noAPIErr {
    
    					var errBytes []byte
    					// read the response body.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top