Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CloneNonTransition (0.19 sec)

  1. internal/bucket/lifecycle/rule.go

    		return errXMLNotWellFormed
    	}
    	return nil
    }
    
    // CloneNonTransition - returns a clone of the object containing non transition rules
    func (r Rule) CloneNonTransition() Rule {
    	return Rule{
    		XMLName:                     r.XMLName,
    		ID:                          r.ID,
    		Status:                      r.Status,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    				if !rule.Expiration.IsNull() || !rule.NoncurrentVersionExpiration.IsNull() {
    					// copy the non transition details of the rule
    					expLclCfg.Rules = append(expLclCfg.Rules, rule.CloneNonTransition())
    				}
    			}
    			currtime := time.Now()
    			expLclCfg.ExpiryUpdatedAt = &currtime
    			ilmConfigData, err := xml.Marshal(expLclCfg)
    			if err != nil {
    				return errSRBucketMetaError(err)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top