Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ForceCreate (0.26 sec)

  1. cmd/admin-handlers-site-replication.go

    			createdAt = timeSentinel
    		}
    
    		opts := MakeBucketOptions{
    			LockEnabled:       r.Form.Get("lockEnabled") == "true",
    			VersioningEnabled: r.Form.Get("versioningEnabled") == "true",
    			ForceCreate:       r.Form.Get("forceCreate") == "true",
    			CreatedAt:         createdAt,
    		}
    		err = globalSiteReplicationSys.PeerBucketMakeWithVersioningHandler(ctx, bucket, opts)
    	case madmin.ConfigureReplBktOp:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. cmd/admin-bucket-handlers.go

    			if err != nil {
    				rpt.SetStatus(bucket, fileName, err)
    				continue
    			}
    			if _, ok := bucketMap[bucket]; !ok {
    				opts := MakeBucketOptions{
    					LockEnabled: config.Enabled(),
    					ForceCreate: true, // ignore if it already exists
    				}
    				err = objectAPI.MakeBucket(ctx, bucket, opts)
    				if err != nil {
    					rpt.SetStatus(bucket, fileName, err)
    					continue
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. cmd/peer-s3-client.go

    	conn := client.gridConn()
    	if conn == nil {
    		return nil
    	}
    
    	mss := grid.NewMSSWith(map[string]string{
    		peerS3Bucket:            bucket,
    		peerS3BucketForceCreate: strconv.FormatBool(opts.ForceCreate),
    	})
    
    	ctx, cancel := context.WithTimeout(ctx, globalDriveConfig.GetMaxTimeout())
    	defer cancel()
    
    	_, err := makeBucketRPC.Call(ctx, conn, mss)
    	return toStorageErr(err)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. cmd/object-api-interface.go

    	ExpireRestored bool
    }
    
    // MakeBucketOptions represents bucket options for ObjectLayer bucket operations
    type MakeBucketOptions struct {
    	LockEnabled       bool
    	VersioningEnabled bool
    	ForceCreate       bool      // Create buckets even if they are already created.
    	CreatedAt         time.Time // only for site replication
    	NoLock            bool      // does not lock the make bucket call if set to 'true'
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top