Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for VersioningConfiguration (0.46 sec)

  1. internal/bucket/versioning/versioning.go

    type ExcludedPrefix struct {
    	Prefix string
    }
    
    // Versioning - Configuration for bucket versioning.
    type Versioning struct {
    	XMLNS   string   `xml:"xmlns,attr,omitempty"`
    	XMLName xml.Name `xml:"VersioningConfiguration"`
    	// MFADelete State    `xml:"MFADelete,omitempty"` // not supported yet.
    	Status State `xml:"Status,omitempty"`
    	// MinIO extension - allows selective, prefix-level versioning exclusion.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  2. cmd/bucket-metadata.go

    	enabledBucketVersioningConfig = []byte(`<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Status>Enabled</Status></VersioningConfiguration>`)
    )
    
    //go:generate msgp -file $GOFILE
    
    // BucketMetadata contains bucket metadata.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  3. cmd/erasure-healing_test.go

    	orgDisks := append([]StorageAPI{}, disks...)
    
    	// Enable versioning.
    	globalBucketMetadataSys.Update(ctx, bucket, bucketVersioningConfig, []byte(`<VersioningConfiguration><Status>Enabled</Status></VersioningConfiguration>`))
    
    	_, err = objLayer.PutObject(ctx, bucket, object, mustGetPutObjReader(t, bytes.NewReader(data), int64(len(data)), "", ""), ObjectOptions{
    		Versioned: true,
    	})
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  4. cmd/object-api-listobjects_test.go

    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err)
    		}
    		meta.VersioningConfigXML = []byte(`<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Status>Suspended</Status></VersioningConfiguration>`)
    		if err := meta.Save(context.Background(), obj); err != nil {
    			t.Fatalf("%s : %s", instanceType, err)
    		}
    		globalBucketMetadataSys.Set(bucket, meta)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    			return false, err
    		}
    		bucketExists = true
    	}
    
    	if globalSiteReplicationSys.isEnabled() {
    		configData := []byte(`<VersioningConfiguration><Status>Enabled</Status><ExcludedPrefixes><Prefix>speedtest/*</Prefix></ExcludedPrefixes></VersioningConfiguration>`)
    		if _, err = globalBucketMetadataSys.Update(ctx, bucketName, bucketVersioningConfig, configData); err != nil {
    			return false, err
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  6. cmd/server_test.go

    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// HTTP request to create the bucket.
    	enableVersioningBody := []byte("<VersioningConfiguration><Status>Enabled</Status></VersioningConfiguration>")
    	enableVersioningBucketRequest, err := newTestSignedRequest(http.MethodPut, getBucketVersioningConfigURL(s.endPoint, bucketName),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top