Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for LifecycleConfigXML (0.1 sec)

  1. cmd/bucket-metadata_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "NotificationConfigXML")
    				return
    			}
    		case "LifecycleConfigXML":
    			z.LifecycleConfigXML, err = dc.ReadBytes(z.LifecycleConfigXML)
    			if err != nil {
    				err = msgp.WrapError(err, "LifecycleConfigXML")
    				return
    			}
    		case "ObjectLockConfigXML":
    			z.ObjectLockConfigXML, err = dc.ReadBytes(z.ObjectLockConfigXML)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. cmd/bucket-metadata-sys.go

    		if e != nil && !errors.Is(e, errConfigNotFound) {
    			return updatedAt, e
    		}
    		var expiryRuleRemoved bool
    		if len(meta.LifecycleConfigXML) > 0 {
    			var lcCfg lifecycle.Lifecycle
    			if err := xml.Unmarshal(meta.LifecycleConfigXML, &lcCfg); err != nil {
    				return updatedAt, err
    			}
    			// find a single expiry rule set the flag
    			for _, rl := range lcCfg.Rules {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. cmd/bucket-metadata.go

    		if err = xml.Unmarshal(b.NotificationConfigXML, b.notificationConfig); err != nil {
    			return err
    		}
    	}
    
    	if len(b.LifecycleConfigXML) != 0 {
    		b.lifecycleConfig, err = lifecycle.ParseLifecycleConfig(bytes.NewReader(b.LifecycleConfigXML))
    		if err != nil {
    			return err
    		}
    	} else {
    		b.lifecycleConfig = nil
    	}
    
    	if len(b.EncryptionConfigXML) != 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. cmd/admin-bucket-handlers.go

    				continue
    			}
    
    			configData, err := xml.Marshal(bucketLifecycle)
    			if err != nil {
    				rpt.SetStatus(bucket, fileName, err)
    				continue
    			}
    
    			bucketMap[bucket].LifecycleConfigXML = configData
    			bucketMap[bucket].LifecycleConfigUpdatedAt = updatedAt
    			rpt.SetStatus(bucket, fileName, nil)
    		case bucketSSEConfig:
    			// Parse bucket encryption xml
    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