Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for versioningEnabled (0.11 sec)

  1. cmd/object-api-interface_gen.go

    			z.LockEnabled, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "LockEnabled")
    				return
    			}
    		case "VersioningEnabled":
    			z.VersioningEnabled, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "VersioningEnabled")
    				return
    			}
    		case "ForceCreate":
    			z.ForceCreate, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. cmd/object-api-interface.go

    	RestoreExpiry  time.Time
    	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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    		}
    	}
    }
    
    func makeObjectPerfBucket(ctx context.Context, objectAPI ObjectLayer, bucketName string) (bucketExists bool, err error) {
    	if err = objectAPI.MakeBucket(ctx, bucketName, MakeBucketOptions{VersioningEnabled: globalSiteReplicationSys.isEnabled()}); err != nil {
    		if _, ok := err.(BucketExists); !ok {
    			// Only BucketExists error can be ignored.
    			return false, err
    		}
    		bucketExists = true
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    	meta.SetCreatedAt(opts.CreatedAt)
    	if opts.LockEnabled {
    		meta.VersioningConfigXML = enabledBucketVersioningConfig
    		meta.ObjectLockConfigXML = enabledBucketObjectLockConfig
    	}
    
    	if opts.VersioningEnabled {
    		meta.VersioningConfigXML = enabledBucketVersioningConfig
    	}
    
    	if err := meta.Save(context.Background(), z); err != nil {
    		return toObjectErr(err, bucket)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top