Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 239 for Delete (0.05 sec)

  1. internal/bucket/lifecycle/lifecycle.go

    	DeleteRestoredAction
    	// DeleteRestoredVersionAction deletes a particular version that was temporarily restored
    	DeleteRestoredVersionAction
    	// DeleteAllVersionsAction deletes all versions when an object expires
    	DeleteAllVersionsAction
    	// DelMarkerDeleteAllVersionsAction deletes all versions when an object with delete marker as latest version expires
    	DelMarkerDeleteAllVersionsAction
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. internal/crypto/metadata.go

    func RemoveSSEHeaders(metadata map[string]string) {
    	delete(metadata, xhttp.AmzServerSideEncryption)
    	delete(metadata, xhttp.AmzServerSideEncryptionKmsID)
    	delete(metadata, xhttp.AmzServerSideEncryptionKmsContext)
    	delete(metadata, xhttp.AmzServerSideEncryptionCustomerAlgorithm)
    	delete(metadata, xhttp.AmzServerSideEncryptionCustomerKey)
    	delete(metadata, xhttp.AmzServerSideEncryptionCustomerKeyMD5)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. cmd/object-handlers-common.go

    }
    
    // setPutObjHeaders sets all the necessary headers returned back
    // upon a success Put/Copy/CompleteMultipart/Delete requests
    // to activate delete only headers set delete as true
    func setPutObjHeaders(w http.ResponseWriter, objInfo ObjectInfo, delete bool, h http.Header) {
    	// We must not use the http.Header().Set method here because some (broken)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. cmd/bucket-object-lock.go

    		case objectlock.RetGovernance:
    			// In governance mode, users can't overwrite or delete an object
    			// version or alter its lock settings unless they have special
    			// permissions. With governance mode, you protect objects against
    			// being deleted by most users, but you can still grant some users
    			// permission to alter the retention settings or delete the object
    			// if necessary. You can also use governance mode to test retention-period
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. internal/store/queuestore.go

    		if file.IsDir() {
    			continue
    		}
    		if fi, err := file.Info(); err == nil {
    			store.entries[file.Name()] = fi.ModTime().UnixNano()
    		}
    	}
    
    	return nil
    }
    
    // Delete - Remove the store directory from disk
    func (store *QueueStore[_]) Delete() error {
    	return os.Remove(store.directory)
    }
    
    // PutMultiple - puts an item to the store.
    func (store *QueueStore[I]) PutMultiple(items []I) (Key, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-utils_test.go

    			}
    			m["12312312"] = ""
    			if got := hashDeterministicString(m); got == want {
    				t.Errorf("hashDeterministicString() = %v, does not want %v", got, want)
    			}
    			want = hashDeterministicString(m)
    			delete(m, "12312312")
    			m["another"] = ""
    
    			if got := hashDeterministicString(m); got == want {
    				t.Errorf("hashDeterministicString() = %v, does not want %v", got, want)
    			}
    
    			want = hashDeterministicString(m)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. cmd/bucket-metadata-sys.go

    	globalNotificationSys.LoadBucketMetadata(bgContext(ctx), meta.Name) // Do not use caller context here
    	return nil
    }
    
    // Delete delete the bucket metadata for the specified bucket.
    // must be used by all callers instead of using Update() with nil configData.
    func (sys *BucketMetadataSys) Delete(ctx context.Context, bucket string, configFile string) (updatedAt time.Time, err error) {
    	if configFile == bucketLifecycleConfig {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. cmd/bucket-targets.go

    	}
    	return nil, BucketRemoteTargetNotFound{Bucket: bucket}
    }
    
    // Delete clears targets present for a bucket
    func (sys *BucketTargetSys) Delete(bucket string) {
    	sys.Lock()
    	defer sys.Unlock()
    	tgts, ok := sys.targetsMap[bucket]
    	if !ok {
    		return
    	}
    	for _, t := range tgts {
    		delete(sys.arnRemotesMap, t.Arn)
    	}
    	delete(sys.targetsMap, bucket)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. cmd/bucket-handlers_test.go

    		},
    		// Test case - 2.
    		// Delete deleted objects with quiet flag off.
    		2: {
    			bucket:             bucketName,
    			objects:            successRequest0,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedContent:    encodedSuccessResponse0,
    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 3.
    		// Delete valid objects with quiet flag on.
    		3: {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  10. cmd/api-datatypes.go

    	ObjectName string `xml:"Key"`
    	VersionID  string `xml:"VersionId"`
    }
    
    // ObjectToDelete carries key name for the object to delete.
    type ObjectToDelete struct {
    	ObjectV
    	// Replication status of DeleteMarker
    	DeleteMarkerReplicationStatus string `xml:"DeleteMarkerReplicationStatus"`
    	// Status of versioned delete (of object or DeleteMarker)
    	VersionPurgeStatus VersionPurgeStatusType `xml:"VersionPurgeStatus"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:26:50 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top