Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 306 for delete (0.35 sec)

  1. cmd/config.go

    	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
    }
    
    func readServerConfigHistory(ctx context.Context, objAPI ObjectLayer, uuidKV string) ([]byte, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. callbacks.go

    }
    
    func (cs *callbacks) Query() *processor {
    	return cs.processors["query"]
    }
    
    func (cs *callbacks) Update() *processor {
    	return cs.processors["update"]
    }
    
    func (cs *callbacks) Delete() *processor {
    	return cs.processors["delete"]
    }
    
    func (cs *callbacks) Row() *processor {
    	return cs.processors["row"]
    }
    
    func (cs *callbacks) Raw() *processor {
    	return cs.processors["raw"]
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 8.6K bytes
    - Viewed (1)
  3. internal/dsync/dsync-server_test.go

    	}
    	if reply = locksHeld == WriteLock; !reply { // Unless it is a write lock
    		return false, fmt.Errorf("Unlock attempted on a read locked entity: %s (%d read locks active)", args.Resources[0], locksHeld)
    	}
    	delete(l.lockMap, args.Resources[0]) // Remove the write lock
    	return true, nil
    }
    
    const ReadLock = 1
    
    func (l *lockServer) RLock(args *LockArgs) (reply bool, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 23 16:46:37 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  4. cmd/tier.go

    			return nil
    		}
    		return err
    	}
    	if inuse, err := d.InUse(ctx); err != nil {
    		return err
    	} else if inuse {
    		return errTierBackendNotEmpty
    	}
    	config.Lock()
    	delete(config.Tiers, tier)
    	delete(config.drivercache, tier)
    	config.Unlock()
    	return nil
    }
    
    // Verify verifies if tier's config is valid by performing all supported
    // operations on the corresponding warmbackend.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  5. tests/main_test.go

    	if count1 <= 0 {
    		t.Errorf("Should find some users")
    	}
    
    	if DB.Where("name = ?", "jinzhu; delete * from users").First(&User{}).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	DB.Model(&User{}).Count(&count2)
    	if count1 != count2 {
    		t.Errorf("No user should not be deleted by invalid SQL")
    	}
    }
    
    func TestSetAndGet(t *testing.T) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 24 01:31:58 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  6. cmd/api-response.go

    	VersionID string `xml:"VersionId"`
    }
    
    // DeleteObjectsResponse container for multiple object deletes.
    type DeleteObjectsResponse struct {
    	XMLName xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ DeleteResult" json:"-"`
    
    	// Collection of all deleted objects
    	DeletedObjects []DeletedObject `xml:"Deleted,omitempty"`
    
    	// Collection of errors deleting certain objects.
    	Errors []DeleteError `xml:"Error,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  7. cmd/data-usage-utils.go

    	// Objects total count across all buckets
    	ObjectsTotalCount uint64 `json:"objectsCount"`
    
    	// Versions total count across all buckets
    	VersionsTotalCount uint64 `json:"versionsCount"`
    
    	// Delete markers total count across all buckets
    	DeleteMarkersTotalCount uint64 `json:"deleteMarkersCount"`
    
    	// Objects total size across all buckets
    	ObjectsTotalSize uint64                           `json:"objectsTotalSize"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. cmd/object-api-datatypes.go

    	ETag string
    
    	// Version ID of this object.
    	VersionID string
    
    	// IsLatest indicates if this is the latest current version
    	// latest can be true for delete marker or a version.
    	IsLatest bool
    
    	// DeleteMarker indicates if the versionId corresponds
    	// to a delete marker on an object.
    	DeleteMarker bool
    
    	// Transitioned object information
    	TransitionedObject TransitionedObject
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  9. schema/interfaces.go

    	QueryClauses(*Field) []clause.Interface
    }
    
    // UpdateClausesInterface update clauses interface
    type UpdateClausesInterface interface {
    	UpdateClauses(*Field) []clause.Interface
    }
    
    // DeleteClausesInterface delete clauses interface
    type DeleteClausesInterface interface {
    	DeleteClauses(*Field) []clause.Interface
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 980 bytes
    - Viewed (0)
  10. cmd/bucket-encryption-handlers.go

    	var err error
    	if _, err = objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Delete bucket encryption config from object layer
    	updatedAt, err := globalBucketMetadataSys.Delete(ctx, bucket, bucketSSEConfig)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Call site replication hook.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top