Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ParseBucketXML (0.09 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)
  3. cmd/bucket-handlers.go

    	if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketTaggingAction, bucket, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	tags, err := tags.ParseBucketXML(io.LimitReader(r.Body, r.ContentLength))
    	if err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedXML)
    		apiErr.Description = err.Error()
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top