Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for DeleteObject (0.09 sec)

  1. cmd/erasure-object_test.go

    		return erasureDisks
    	}
    
    	z.serverPools[0].erasureDisksMu.Unlock()
    	_, err = obj.DeleteObject(ctx, bucket, object, ObjectOptions{})
    	// since majority of disks are not available, metaquorum is not achieved and hence errErasureWriteQuorum error
    	if !errors.Is(err, errErasureWriteQuorum) {
    		t.Errorf("Expected deleteObject to fail with %v, but failed with %v", toObjectErr(errErasureWriteQuorum, bucket, object), err)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  2. cmd/object-api-interface.go

    	ReplicationSourceRetentionTimestamp time.Time // set if MinIOSourceObjectRetentionTimestamp received
    	DeletePrefix                        bool      // set true to enforce a prefix deletion, only application for DeleteObject API,
    	DeletePrefixObject                  bool      // set true when object's erasure set is resolvable by object name (using getHashedSetIndex)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. cmd/erasure-sets.go

    			defer wg.Done()
    			// This is a force delete, no reason to throw errors.
    			s.DeleteObject(ctx, bucket, prefix, ObjectOptions{DeletePrefix: true})
    		}(s)
    	}
    	wg.Wait()
    	return nil
    }
    
    // DeleteObject - deletes an object from the hashedSet based on the object name.
    func (s *erasureSets) DeleteObject(ctx context.Context, bucket string, object string, opts ObjectOptions) (objInfo ObjectInfo, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  4. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            }
            final String objectName = getObjectName(pi.getPath(), pi.getName());
            try {
                deleteObject(objectName);
            } catch (final StorageException e) {
                logger.warn("Failed to delete {}", pi.getName(), e);
                throwValidationError(messages -> messages.addErrorsFailedToDeleteFile(GLOBAL, pi.getName()),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. helm/minio/values.yaml

    #     - effect: Allow  # this is the default
    #       resources:
    #         - 'arn:aws:s3:::example*/*'
    #       actions:
    #         - "s3:AbortMultipartUpload"
    #         - "s3:GetObject"
    #         - "s3:DeleteObject"
    #         - "s3:PutObject"
    #         - "s3:ListMultipartUploadParts"
    #     - resources:
    #         - 'arn:aws:s3:::example*'
    #       actions:
    #         - "s3:CreateBucket"
    #         - "s3:DeleteBucket"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 18.8K bytes
    - Viewed (1)
  6. cmd/bucket-lifecycle.go

    				if ignoreNotFoundErr(err) != nil {
    					transitionLogIf(es.ctx, err)
    					traceFn(ILMFreeVersionDelete, nil, err)
    					continue
    				}
    
    				// Remove this free version
    				_, err = es.objAPI.DeleteObject(es.ctx, oi.Bucket, oi.Name, ObjectOptions{
    					VersionID:        oi.VersionID,
    					InclFreeVersions: true,
    				})
    				if err == nil {
    					auditLogLifecycle(es.ctx, oi, ILMFreeVersionDelete, nil, traceFn)
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  7. cmd/data-scanner.go

    			}
    			timeILM(numVersions)
    		}
    	}()
    
    	dobj, err = objLayer.DeleteObject(ctx, obj.Bucket, encodeDirObject(obj.Name), opts)
    	if err != nil {
    		if isErrObjectNotFound(err) || isErrVersionNotFound(err) {
    			traceFn(ILMExpiry, nil, nil)
    			return false
    		}
    		// Assume it is still there.
    		err := fmt.Errorf("DeleteObject(%s, %s): %w", obj.Bucket, obj.Name, err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  8. cmd/batch-expire.go

    					ObjectV: ObjectV{
    						ObjectName: exp.Name,
    						VersionID:  exp.VersionID,
    					},
    				}
    				toDel = append(toDel, od)
    				oiCache.Add(od, &exp.ObjectInfo)
    			}
    
    			var done bool
    			// DeleteObject(deletePrefix: true) to expire all versions of an object
    			for _, exp := range toExpireAll {
    				var success bool
    				for attempts := 1; attempts <= retryAttempts; attempts++ {
    					select {
    					case <-ctx.Done():
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. cmd/object-api-datatypes.go

    	VersionPurgeStatusInternal string
    	VersionPurgeStatus         VersionPurgeStatusType
    
    	replicationDecision string // internal representation of replication decision for use by DeleteObject handler
    	// The total count of all versions of this object
    	NumVersions int
    	//  The modtime of the successor object version if any
    	SuccessorModTime time.Time
    
    	// Checksums added on upload.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-rebalance.go

    					continue
    				}
    
    				versionID := version.VersionID
    				if versionID == "" {
    					versionID = nullVersionID
    				}
    
    				var failure, ignore bool
    				if version.Deleted {
    					_, err := z.DeleteObject(ctx,
    						bucket,
    						version.Name,
    						ObjectOptions{
    							Versioned:         true,
    							VersionID:         versionID,
    							MTime:             version.ModTime,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
Back to top