Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for DeleteObject (0.2 sec)

  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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. 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,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. 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;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. 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)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. cmd/config.go

    	})
    	return configHistory, nil
    }
    
    func delServerConfigHistory(ctx context.Context, objAPI ObjectLayer, uuidKV string) error {
    	historyFile := pathJoin(minioConfigHistoryPrefix, uuidKV+kvPrefix)
    	_, err := objAPI.DeleteObject(ctx, minioMetaBucket, historyFile, ObjectOptions{
    		DeletePrefix:       true,
    		DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls)
    	})
    	return err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. 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
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 17 05:09:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top