Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 50 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. docs/bucket/replication/setup_replication.sh

        "s3:GetReplicationConfiguration",
        "s3:ReplicateTags",
        "s3:AbortMultipartUpload",
        "s3:GetObject",
        "s3:GetObjectVersion",
        "s3:GetObjectVersionTagging",
        "s3:PutObject",
        "s3:DeleteObject",
        "s3:ReplicateObject",
        "s3:ReplicateDelete"
       ],
       "Resource": [
        "arn:aws:s3:::bucket/*"
       ]
      }
     ]
    }
    EOF
    mc admin policy create dest replpolicy ./replpolicy.json
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.6K bytes
    - Click Count (0)
  3. cmd/config-common.go

    	return buf, err
    }
    
    type objectDeleter interface {
    	DeleteObject(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error)
    }
    
    func deleteConfig(ctx context.Context, objAPI objectDeleter, configFile string) error {
    	_, err := objAPI.DeleteObject(ctx, minioMetaBucket, configFile, ObjectOptions{
    		DeletePrefix:       true,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 3.1K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/object-api-input-checks.go

    }
    
    // Checks on GetObject arguments, bucket and object.
    func checkGetObjArgs(ctx context.Context, bucket, object string) error {
    	return checkBucketAndObjectNames(ctx, bucket, object)
    }
    
    // Checks on DeleteObject arguments, bucket and object.
    func checkDelObjArgs(ctx context.Context, bucket, object string) error {
    	return checkBucketAndObjectNames(ctx, bucket, object)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  10. 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)
Back to Top