Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 136 for Opts (0.02 sec)

  1. cmd/storage-datatypes.go

    type DeleteVersionHandlerParams struct {
    	DiskID         string        `msg:"id"`
    	Volume         string        `msg:"v"`
    	FilePath       string        `msg:"fp"`
    	ForceDelMarker bool          `msg:"fdm"`
    	Opts           DeleteOptions `msg:"do"`
    	FI             FileInfo      `msg:"fi"`
    }
    
    // MetadataHandlerParams is request info for UpdateMetadataHandle and WriteMetadataHandler.
    type MetadataHandlerParams struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. cmd/data-usage_test.go

    			sizeS.totalSize = s.Size()
    			sizeS.versions++
    			return sizeS, nil
    		}
    		return
    	}
    	xls := xlStorage{drivePath: base, diskInfoCache: cachevalue.New[DiskInfo]()}
    	xls.diskInfoCache.InitOnce(time.Second, cachevalue.Opts{}, func(ctx context.Context) (DiskInfo, error) {
    		return DiskInfo{Total: 1 << 40, Free: 1 << 40}, nil
    	})
    	weSleep := func() bool { return false }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. cmd/bucket-replication-utils.go

    	usz, err = strconv.ParseUint(parts[3], 10, 64)
    	if err != nil {
    		return sz, err
    	}
    	return int64(usz), nil
    }
    
    func extractReplicateDiffOpts(q url.Values) (opts madmin.ReplDiffOpts) {
    	opts.Verbose = q.Get("verbose") == "true"
    	opts.ARN = q.Get("arn")
    	opts.Prefix = q.Get("prefix")
    	return
    }
    
    const (
    	replicationMRFDir = bucketMetaPrefix + SlashSeparator + replicationDir + SlashSeparator + "mrf"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26K bytes
    - Viewed (0)
  4. cmd/object-api-putobject_test.go

    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    	opts := ObjectOptions{}
    	// Initiate Multipart Upload on the above created bucket.
    	res, err := obj.NewMultipartUpload(context.Background(), bucket, object, opts)
    	if err != nil {
    		// Failed to create NewMultipartUpload, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. generics.go

    	LimitPerRecord(num int) PreloadBuilder
    }
    
    type op func(*DB) *DB
    
    func G[T any](db *DB, opts ...clause.Expression) Interface[T] {
    	v := &g[T]{
    		db:  db,
    		ops: make([]op, 0, 5),
    	}
    
    	if len(opts) > 0 {
    		v.ops = append(v.ops, func(db *DB) *DB {
    			return db.Clauses(opts...)
    		})
    	}
    
    	v.createG = &createG[T]{
    		chainG: chainG[T]{
    			execG: execG[T]{g: v},
    		},
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. cmd/peer-rest-server.go

    		globalBucketTargetSys.UpdateAllTargets(bucketName, meta.bucketTargetConfig)
    	}
    
    	return
    }
    
    func (s *peerRESTServer) GetMetacacheListingHandler(opts *listPathOptions) (*metacache, *grid.RemoteErr) {
    	resp := localMetacacheMgr.getBucket(context.Background(), opts.Bucket).findCache(*opts)
    	return &resp, nil
    }
    
    func (s *peerRESTServer) UpdateMetacacheListingHandler(req *metacache) (*metacache, *grid.RemoteErr) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 53.4K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    		if err != nil {
    			return err
    		}
    
    		return s.writeAllMeta(ctx, volume, pathJoin(path, xlStorageFormatFile), buf, true)
    	}
    
    	if opts.UndoWrite && opts.OldDataDir != "" {
    		return renameAll(pathJoin(filePath, opts.OldDataDir, xlStorageFormatFileBackup), pathJoin(filePath, xlStorageFormatFile), filePath)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  8. cmd/sftp-server-driver.go

    		// Send object names that are needed to be removed to objectsCh
    		go func() {
    			defer xioutil.SafeClose(objectsCh)
    			opts := minio.ListObjectsOptions{
    				Prefix:    prefix,
    				Recursive: true,
    			}
    			for object := range clnt.ListObjects(cctx, bucket, opts) {
    				if object.Err != nil {
    					return
    				}
    				objectsCh <- object
    			}
    		}()
    
    		// Call RemoveObjects API
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 10 16:35:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. cmd/erasure-metadata-utils.go

    func readAllFileInfo(ctx context.Context, disks []StorageAPI, origbucket string, bucket, object, versionID string, readData, healing bool) ([]FileInfo, []error) {
    	metadataArray := make([]FileInfo, len(disks))
    
    	opts := ReadOptions{
    		ReadData: readData,
    		Healing:  healing,
    	}
    
    	g := errgroup.WithNErrs(len(disks))
    	// Read `xl.meta` in parallel across disks.
    	for index := range disks {
    		g.Go(func() (err error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. migrator/migrator.go

    		).Row().Scan(&count)
    	})
    
    	return count > 0
    }
    
    // BuildIndexOptions build index options
    func (m Migrator) BuildIndexOptions(opts []schema.IndexOption, stmt *gorm.Statement) (results []interface{}) {
    	for _, opt := range opts {
    		str := stmt.Quote(opt.DBName)
    		if opt.Expression != "" {
    			str = opt.Expression
    		} else if opt.Length > 0 {
    			str += fmt.Sprintf("(%d)", opt.Length)
    		}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jun 06 02:35:01 UTC 2025
    - 29.5K bytes
    - Viewed (0)
Back to top