Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for remote (0.15 sec)

  1. cmd/api-errors.go

    	},
    	ErrRemoteTargetNotFoundError: {
    		Code:           "XMinioAdminRemoteTargetNotFoundError",
    		Description:    "The remote target does not exist",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrReplicationRemoteConnectionError: {
    		Code:           "XMinioAdminReplicationRemoteConnectionError",
    		Description:    "Remote service connection error",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrReplicationBandwidthLimitError: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  2. cmd/iam.go

    				return fmt.Errorf("multiple DNs map to the same LDAP DN[%s]: %v; please remove DNs that are not needed",
    					normKey, origKeys)
    			}
    
    			// Policies mapped to the DN's are the same, so we remove the extra
    			// ones from the map.
    			for i := 1; i < len(origKeys); i++ {
    				delete(policyMap, origKeys[i])
    
    				// Remove the mapping from storage by setting the policy to "".
    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)
  3. cmd/erasure-object.go

    		return err
    	}
    	return nil
    }
    
    // restoreTransitionedObject for multipart object chunks the file stream from remote tier into the same number of parts
    // as in the xl.meta for this version and rehydrates the part.n into the fi.DataDir for this version as in the xl.meta
    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)
  4. cmd/peer-rest-server.go

    				return false
    			}
    		}
    		return rulesMap.MatchSimple(ev.EventName, ev.S3.Object.Key)
    	})
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    
    	// Process until remote disconnects.
    	// Blocks on upstream (out) congestion.
    	// We have however a dynamic downstream buffer (ch).
    	buf := bytes.NewBuffer(grid.GetByteBuffer())
    	enc := json.NewEncoder(buf)
    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)
  5. cmd/sts-handlers_test.go

    	// Validate that the client cannot remove any objects
    	err = minioClient.RemoveObject(ctx, bucket, "someobject", minio.RemoveObjectOptions{})
    	if err.Error() != "Access Denied." {
    		c.Fatalf("unexpected non-access-denied err: %v", err)
    	}
    
    	// Remove the policy assignment on the user DN:
    	err = s.adm.SetPolicy(ctx, "", userDN, false)
    	if err != nil {
    		c.Fatalf("Unable to remove policy setting: %v", err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    	var ok bool
    	for _, z := range p {
    		if z.Available > 0 && z.MaxUsedPct < max {
    			ok = true
    			break
    		}
    	}
    	if !ok {
    		// All above limit.
    		// Do not modify
    		return
    	}
    
    	// Remove entries that are above.
    	for i, z := range p {
    		if z.Available > 0 && z.MaxUsedPct < max {
    			continue
    		}
    		p[i].Available = 0
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    	}
    
    	// ENOSPC is a valid error from rename(); remove instead of rename in that case
    	if errors.Is(err, errDiskFull) || isSysErrNoSpace(err) {
    		if recursive {
    			err = removeAll(filePath)
    		} else {
    			err = Remove(filePath)
    		}
    		return err // Avoid the immediate purge since not needed
    	}
    
    	if err != nil {
    		return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. cmd/iam-store.go

    	if err == errNoSuchGroup {
    		// group does not exist - so remove from memory.
    		cache.removeGroupFromMembershipsMap(group)
    		delete(cache.iamGroupsMap, group)
    		cache.iamGroupPolicyMap.Delete(group)
    
    		cache.updatedAt = time.Now()
    		return nil
    	}
    
    	gi := cache.iamGroupsMap[group]
    
    	// Updating the group memberships cache happens in two steps:
    	//
    	// 1. Remove the group from each user's list of memberships.
    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)
  9. cmd/batch-handlers.go

    		if err != nil {
    			// block and abort remote upload upon failure.
    			attempts := 1
    			for attempts <= 3 {
    				aerr := api.AbortMultipartUpload(ctx, tgtBucket, tgtObject, res.UploadID, ObjectOptions{})
    				if aerr == nil {
    					return
    				}
    				batchLogIf(ctx,
    					fmt.Errorf("trying %s: Unable to cleanup failed multipart replication %s on remote %s/%s: %w - this may consume space on remote cluster",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    	// Presign is not needed for anonymous credentials.
    	if accessKeyID == "" || secretAccessKey == "" {
    		return errors.New("Presign cannot be generated without access and secret keys")
    	}
    
    	// FIXME: Remove following portion of code after fixing a bug in minio-go preSignV2.
    
    	d := UTCNow()
    	// Find epoch expires when the request will expire.
    	epochExpires := d.Unix() + expires
    
    	// Add expires header if not present.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top