Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 38 for DeleteObject (0.07 seconds)

  1. cmd/object-api-deleteobject_test.go

    package cmd
    
    import (
    	"context"
    	"crypto/md5"
    	"encoding/hex"
    	"strings"
    	"testing"
    )
    
    // Wrapper for calling DeleteObject tests for both Erasure multiple disks and single node setup.
    func TestDeleteObject(t *testing.T) {
    	ExecObjectLayerTest(t, testDeleteObject)
    }
    
    // Unit test for DeleteObject in general.
    func testDeleteObject(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	type objectUpload struct {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 29 01:40:52 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/storage/StorageClient.java

        void downloadObject(String objectName, OutputStream outputStream);
    
        /**
         * Deletes an object from storage.
         *
         * @param objectName the name/path of the object to delete
         */
        void deleteObject(String objectName);
    
        /**
         * Lists objects in storage with the given prefix.
         *
         * @param prefix the path prefix to list objects under (null or empty for root)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. 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)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. cmd/http-tracer_test.go

    				switch j % 4 {
    				case 0:
    					httpStats.updateStats("GetObject", &xhttp.ResponseRecorder{})
    				case 1:
    					httpStats.totalS3Requests.Inc("PutObject")
    				case 2:
    					httpStats.totalS3Errors.Inc("DeleteObject")
    				case 3:
    					httpStats.currentS3Requests.Inc("ListObjects")
    				}
    			}
    		}(i)
    	}
    
    	for i := range numReaders {
    		wg.Add(1)
    		go func(readerID int) {
    			defer wg.Done()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

            }
        }
    
        @Override
        public void deleteObject(final String objectName) {
            try {
                final DeleteObjectRequest request = DeleteObjectRequest.builder().bucket(bucket).key(objectName).build();
                s3Client.deleteObject(request);
            } catch (final Exception e) {
                throw new StorageException("Failed to delete " + objectName, e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

    import static org.codelibs.fess.app.web.admin.storage.AdminStorageAction.decodePath;
    import static org.codelibs.fess.app.web.admin.storage.AdminStorageAction.deleteObject;
    import static org.codelibs.fess.app.web.admin.storage.AdminStorageAction.downloadObject;
    import static org.codelibs.fess.app.web.admin.storage.AdminStorageAction.getFileItems;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

         * @param objectName the name of the object to delete
         * @throws StorageException if the deletion fails
         */
        public static void deleteObject(final String objectName) {
            try (final StorageClient client = StorageClientFactory.createClient()) {
                client.deleteObject(objectName);
            } catch (final Exception e) {
                throw new StorageException("Failed to delete " + objectName, e);
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  8. cmd/tier-sweeper.go

    //	    logger.LogIf(ctx, err)
    //	}
    type objSweeper struct {
    	Object              string
    	Bucket              string
    	VersionID           string // version ID set by application, applies only to DeleteObject and DeleteObjects APIs
    	Versioned           bool
    	Suspended           bool
    	TransitionStatus    string
    	TransitionTier      string
    	TransitionVersionID string
    	RemoteObject        string
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

                throw e;
            } catch (final Exception e) {
                throw new StorageException("Failed to download " + objectName, e);
            }
        }
    
        @Override
        public void deleteObject(final String objectName) {
            try {
                final boolean deleted = storage.delete(BlobId.of(bucket, objectName));
                if (!deleted && logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. 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"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 19.7K bytes
    - Click Count (1)
Back to Top