Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for VersioningConfiguration (0.24 sec)

  1. internal/bucket/versioning/versioning_test.go

    		excludedPrefixes []string
    		excludeFolders   bool
    	}{
    		{
    			input: `<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
                                      <Status>Enabled</Status>
                                    </VersioningConfiguration>`,
    			err: nil,
    		},
    		{
    			input: `<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
                                      <Status>Enabled</Status>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 08 05:06:44 GMT 2022
    - 8.8K bytes
    - Viewed (0)
  2. docs/bucket/versioning/README.md

    ```
    <VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
    </VersioningConfiguration>
    ```
    
    To enable versioning, you send a request to MinIO with a versioning configuration with Status set to `Enabled`.
    
    ```
    <VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
      <Status>Enabled</Status>
    </VersioningConfiguration>
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 04 21:43:52 GMT 2023
    - 11.9K bytes
    - Viewed (1)
  3. 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)
  4. 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)
  5. docs/bucket/replication/README.md

    ### Interaction with extended Bucket Versioning configuration
    
    When Bucket Versioning with excluded prefixes are configured objects matching these prefixes are excluded from being versioned and replicated.
    
    ```
    <VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
            <Status>Enabled</Status>
            <ExcludeFolders>true</ExcludeFolders>
    
            <ExcludedPrefixes>
              <Prefix>app1-jobs/*/_temporary/</Prefix>
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 24 23:46:33 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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