Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for delegation (0.2 sec)

  1. chainable_api.go

    	tx.Statement.assigns = attrs
    	return
    }
    
    // Unscoped disables the global scope of soft deletion in a query.
    // By default, GORM uses soft deletion, marking records as "deleted"
    // by setting a timestamp on a specific field (e.g., `deleted_at`).
    // Unscoped allows queries to include records marked as deleted,
    // overriding the soft deletion behavior.
    // Example:
    //    var users []User
    //    db.Unscoped().Find(&users)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  2. cmd/erasure-metadata.go

    }
    
    // SetSkipTierFreeVersion indicates to skip adding a tier free version id.
    // Note: Used only when expiring tiered objects and the remote content has
    // already been scheduled for deletion
    func (fi *FileInfo) SetSkipTierFreeVersion() {
    	if fi.Metadata == nil {
    		fi.Metadata = make(map[string]string)
    	}
    	fi.Metadata[ReservedMetadataPrefixLower+tierSkipFVID] = ""
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  3. cmd/batch-expire.go

    				case <-ctx.Done():
    					return
    				default:
    				}
    
    				stopFn := globalBatchJobsMetrics.trace(batchJobMetricExpire, ri.JobID, attempts)
    				// Copying toDel to select from objects whose
    				// deletion failed
    				copy(toDelCopy, toDel)
    				var failed int
    				errs := r.Expire(ctx, api, vc, toDel)
    				// reslice toDel in preparation for next retry
    				// attempt
    				toDel = toDel[:0]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  4. cmd/site-replication.go

    		return err
    	}
    
    	return nil
    }
    
    // DeleteBucketHook - called during a regular delete bucket call when cluster
    // replication is enabled. It is responsible for the deletion of the same bucket
    // on remote clusters.
    func (c *SiteReplicationSys) DeleteBucketHook(ctx context.Context, bucket string, forceDelete bool) error {
    	// At this point, the local bucket is deleted.
    
    	c.RLock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  5. cmd/tier-sweeper.go

    	os.TransitionVersionID = info.VersionID
    }
    
    // shouldRemoveRemoteObject determines if a transitioned object should be
    // removed from remote tier. If remote object is to be deleted, returns the
    // corresponding tier deletion journal entry and true. Otherwise returns empty
    // jentry value and false.
    func (os *objSweeper) shouldRemoveRemoteObject() (jentry, bool) {
    	if os.TransitionStatus != lifecycle.TransitionComplete {
    		return jentry{}, false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. cmd/metacache-server-pool.go

    	"time"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    func renameAllBucketMetacache(epPath string) error {
    	// Rename all previous `.minio.sys/buckets/<bucketname>/.metacache` to
    	// to `.minio.sys/tmp/` for deletion.
    	return readDirFn(pathJoin(epPath, minioMetaBucket, bucketMetaPrefix), func(name string, typ os.FileMode) error {
    		if typ == os.ModeDir {
    			tmpMetacacheOld := pathutil.Join(epPath, minioMetaTmpDeletedBucket, mustGetUUID())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    	cache := store.lock()
    	defer store.unlock()
    
    	if !isFromNotification {
    		// Check if policy is mapped to any existing user or group. If so, we do not
    		// allow deletion of the policy. If the policy is mapped to an STS account,
    		// we do allow deletion.
    		users := []string{}
    		groups := []string{}
    		cache.iamUserPolicyMap.Range(func(u string, mp MappedPolicy) bool {
    			pset := mp.policySet()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  8. cmd/tier-journal.go

    func (jd *tierDiskJournal) ReadOnlyPath() string {
    	return filepath.Join(jd.diskPath, minioMetaBucket, "ilm", "deletion-journal.ro.bin")
    }
    
    func (jd *tierDiskJournal) JournalPath() string {
    	return filepath.Join(jd.diskPath, minioMetaBucket, "ilm", "deletion-journal.bin")
    }
    
    func (jd *tierDiskJournal) WalkEntries(ctx context.Context, fn walkFn) {
    	if err := jd.rotate(); err != nil {
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    	// Empty fi.VersionID indicates that versioning is either
    	// suspended or disabled on this bucket. RenameData will replace
    	// the 'null' version. We add a free-version to track its tiered
    	// content for asynchronous deletion.
    	//
    	// Note: RestoreObject and HealObject requests don't end up replacing the
    	// null version and therefore don't require the free-version to track
    	// anything
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. cmd/iam.go

    			for i := 1; i < len(origKeys); i++ {
    				delete(policyMap, origKeys[i])
    
    				// Remove the mapping from storage by setting the policy to "".
    				if entityKeysInStorage.Contains(origKeys[i]) {
    					// Ignore any deletion error.
    					_, _ = sys.PolicyDBSet(ctx, origKeys[i], "", stsUser, isGroup)
    				}
    			}
    		}
    
    		// Replacing origKeys[0] with normKey in the policyMap
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
Back to top