Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for So (1.74 sec)

  1. cmd/object-handlers.go

    		return
    	}
    
    	if r.ContentLength <= 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrEmptyRequestBody), r.URL)
    		return
    	}
    
    	// Take read lock on object, here so subsequent lower-level
    	// calls do not need to.
    	lock := objectAPI.NewNSLock(bucket, object)
    	lkctx, err := lock.GetRLock(ctx, globalOperationTimeout)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	response, err := s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	objName := "test-object"
    
    	// Body is on purpose set to nil so that we get payload generated for empty bytes.
    
    	// Create new HTTP request with incorrect secretKey to generate an incorrect signature.
    	secretKey := s.secretKey + "a"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	}
    
    	// FIXME: Ideally, we also need to check if there are any global IAM
    	// policies and any (LDAP user created) service accounts on the other
    	// peer clusters, and if so, reject the cluster replicate add request.
    	// This is not yet implemented.
    
    	// VALIDATIONS COMPLETE.
    
    	// Create a common service account for all clusters, with root
    	// permissions.
    
    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/bucket-replication.go

    	if !ok {
    		rs, ok = oi.UserDefined[xhttp.MinIOReplicationResetStatus] // for backward compatibility
    	}
    	if !ok { // existing object replication is enabled and object version is unreplicated so far.
    		if resetID != "" && oi.ModTime.Before(resetBeforeDate) { // trigger replication if `mc replicate reset` requested
    			rd.Replicate = true
    			return
    		}
    		// For existing object reset - this condition is needed
    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)
  5. cmd/object-handlers_test.go

    	}
    
    	// ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse,
    	// sets the bucket policy using the policy statement generated from `getWriteOnlyObjectStatement` so that the
    	// unsigned request goes through and its validated again.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	}
    
    	// Invalid request conditions:
    	//
    	//   Cannot have both forceStart and forceStop in the same
    	//   request; If clientToken is provided, request can only be
    	//   to continue receiving logs, so it cannot be start or
    	//   stop;
    	if (hip.forceStart && hip.forceStop) ||
    		(hip.clientToken != "" && (hip.forceStart || hip.forceStop)) {
    		err = ErrInvalidRequest
    		return
    	}
    
    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)
Back to top