Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for is_full (0.17 sec)

  1. cmd/site-replication.go

    	for id, rl := range rMap {
    		if !rl.Expiration.IsNull() || !rl.NoncurrentVersionExpiration.IsNull() {
    			if _, ok := newRMap[id]; !ok {
    				// if rule getting removed was pure expiry rule (may be got to this site
    				// as part of replication of expiry rules), remove it. Otherwise remove
    				// only the expiry part of it
    				if rl.Transition.IsNull() && rl.NoncurrentVersionTransition.IsNull() {
    					delete(rMap, id)
    				} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. internal/bucket/lifecycle/lifecycle.go

    	}
    	return false
    }
    
    // HasExpiry returns 'true' if lifecycle document has Expiry enabled.
    func (lc Lifecycle) HasExpiry() bool {
    	for _, rule := range lc.Rules {
    		if !rule.Expiration.IsNull() || !rule.NoncurrentVersionExpiration.IsNull() {
    			return true
    		}
    	}
    	return false
    }
    
    // UnmarshalXML - decodes XML data.
    func (lc *Lifecycle) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  3. cmd/bucket-metadata-sys.go

    				return updatedAt, err
    			}
    			// find a single expiry rule set the flag
    			for _, rl := range lcCfg.Rules {
    				if !rl.Expiration.IsNull() || !rl.NoncurrentVersionExpiration.IsNull() {
    					expiryRuleRemoved = true
    					break
    				}
    			}
    		}
    
    		// Form empty ILM details with `ExpiryUpdatedAt` field and save
    		var cfgData []byte
    		if expiryRuleRemoved {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top