Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ParseBucketXML (0.21 sec)

  1. cmd/bucket-metadata.go

    		if err != nil {
    			return err
    		}
    	} else {
    		b.sseConfig = nil
    	}
    
    	if len(b.TaggingConfigXML) != 0 {
    		b.taggingConfig, err = tags.ParseBucketXML(bytes.NewReader(b.TaggingConfigXML))
    		if err != nil {
    			return err
    		}
    	} else {
    		b.taggingConfig = nil
    	}
    
    	if bytes.Equal(b.ObjectLockConfigXML, enabledBucketObjectLockConfig) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. cmd/admin-bucket-handlers.go

    			}
    
    			bucketMap[bucket].EncryptionConfigXML = configData
    			bucketMap[bucket].EncryptionConfigUpdatedAt = updatedAt
    			rpt.SetStatus(bucket, fileName, nil)
    		case bucketTaggingConfig:
    			tags, err := tags.ParseBucketXML(io.LimitReader(reader, sz))
    			if err != nil {
    				rpt.SetStatus(bucket, fileName, fmt.Errorf("%s (%s)", errorCodes[ErrMalformedXML].Description, err))
    				continue
    			}
    
    			configData, err := xml.Marshal(tags)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top