- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for versioningEnabled (0.19 sec)
-
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) -
cmd/object_api_suite_test.go
resetCompressEncryption() t.Run("default", func(t *testing.T) { fn(t, nil, MakeBucketOptions{}) }) t.Run("default+versioned", func(t *testing.T) { fn(t, nil, MakeBucketOptions{VersioningEnabled: true}) }) t.Run("compressed", func(t *testing.T) { fn(t, func() { resetCompressEncryption() enableCompression(t, false, []string{"*"}, []string{"*"}) }, MakeBucketOptions{}) })
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 02 15:13:05 UTC 2024 - 33.3K bytes - Viewed (0) -
cmd/admin-handlers-site-replication.go
if cerr != nil { 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)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 19.4K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
"test-bucket-folders", // This bucket has file delete marker. "test-bucket-files", } for _, bucket := range testBuckets { err := obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{ VersioningEnabled: true, }) if err != nil { t.Fatalf("%s : %s", instanceType, err.Error()) } } var err error testObjects := []struct { parentBucket string name string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 11:07:40 UTC 2024 - 73.1K bytes - Viewed (0) -
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) -
cmd/erasure-object_test.go
} bucketName := "bucket" testCases := []testCaseType{ {bucketName, "dir/obj1"}, {bucketName, "dir/obj1"}, } err = obj.MakeBucket(ctx, bucketName, MakeBucketOptions{ VersioningEnabled: true, }) if err != nil { t.Fatal(err) } names := make([]ObjectToDelete, len(testCases)) for i, testCase := range testCases {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 36.8K bytes - Viewed (0) -
cmd/site-replication.go
defer c.RUnlock() if !c.enabled { return nil } optsMap := make(map[string]string) if opts.LockEnabled { optsMap["lockEnabled"] = "true" optsMap["versioningEnabled"] = "true" } if opts.VersioningEnabled { optsMap["versioningEnabled"] = "true" } if opts.ForceCreate { optsMap["forceCreate"] = "true" } createdAt, _ := globalBucketMetadataSys.CreatedAt(bucket)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 185.1K bytes - Viewed (0) -
cmd/erasure-healing_test.go
} defer removeRoots(fsDirs) z := obj.(*erasureServerPools) er := z.serverPools[0].sets[0] // Create "bucket" err = obj.MakeBucket(ctx, "bucket", MakeBucketOptions{VersioningEnabled: true}) if err != nil { t.Fatal(err) } bucket := "bucket" object := "object" data := make([]byte, 1*humanize.MiByte) length := int64(len(data)) _, err = rand.Read(data)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 49K bytes - Viewed (0) -
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) -
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)