Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ObjectLockConfiguration (0.14 sec)

  1. internal/bucket/object/lock/lock_test.go

    		expectErr   bool
    	}{
    		{
    			value:       `<ObjectLockConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><ObjectLockEnabled>yes</ObjectLockEnabled></ObjectLockConfiguration>`,
    			expectedErr: fmt.Errorf("only 'Enabled' value is allowed to ObjectLockEnabled element"),
    			expectErr:   true,
    		},
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. cmd/bucket-metadata.go

    	bucketMetadataFile    = ".metadata.bin"
    	bucketMetadataFormat  = 1
    	bucketMetadataVersion = 1
    )
    
    var (
    	enabledBucketObjectLockConfig = []byte(`<ObjectLockConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><ObjectLockEnabled>Enabled</ObjectLockEnabled></ObjectLockConfiguration>`)
    	enabledBucketVersioningConfig = []byte(`<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Status>Enabled</Status></VersioningConfiguration>`)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. internal/bucket/object/lock/lock.go

    // https://docs.aws.amazon.com/AmazonS3/latest/API/Type_API_ObjectLockConfiguration.html
    type Config struct {
    	XMLNS             string   `xml:"xmlns,attr,omitempty"`
    	XMLName           xml.Name `xml:"ObjectLockConfiguration"`
    	ObjectLockEnabled string   `xml:"ObjectLockEnabled"`
    	Rule              *struct {
    		DefaultRetention DefaultRetention `xml:"DefaultRetention"`
    	} `xml:"Rule,omitempty"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidBucketObjectLockConfiguration: {
    		Code:           "InvalidRequest",
    		Description:    "Bucket is missing ObjectLockConfiguration",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBucketTaggingNotFound: {
    		Code:           "NoSuchTagSet",
    		Description:    "The TagSet does not exist",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top