Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ExpiryUpdatedAt (0.09 sec)

  1. cmd/bucket-lifecycle-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	// explicitly set ExpiryUpdatedAt nil as its meant for internal consumption only
    	config.ExpiryUpdatedAt = nil
    
    	configData, err := xml.Marshal(config)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	if withUpdatedAt {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/lifecycle.go

    }
    
    // Lifecycle - Configuration for bucket lifecycle.
    type Lifecycle struct {
    	XMLName         xml.Name   `xml:"LifecycleConfiguration"`
    	Rules           []Rule     `xml:"Rule"`
    	ExpiryUpdatedAt *time.Time `xml:"ExpiryUpdatedAt,omitempty"`
    }
    
    // HasTransition returns 'true' if lifecycle document has Transition enabled.
    func (lc Lifecycle) HasTransition() bool {
    	for _, rule := range lc.Rules {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. cmd/bucket-metadata-sys.go

    					expiryRuleRemoved = true
    					break
    				}
    			}
    		}
    
    		// Form empty ILM details with `ExpiryUpdatedAt` field and save
    		var cfgData []byte
    		if expiryRuleRemoved {
    			var lcCfg lifecycle.Lifecycle
    			currtime := time.Now()
    			lcCfg.ExpiryUpdatedAt = &currtime
    			cfgData, err = xml.Marshal(lcCfg)
    			if err != nil {
    				return updatedAt, err
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    					}
    				}
    				expLclCfg.ExpiryUpdatedAt = meta.lifecycleConfig.ExpiryUpdatedAt
    				ilmConfigData, err := xml.Marshal(expLclCfg)
    				if err != nil {
    					return info, errSRBackendIssue(err)
    				}
    
    				expLclCfgStr := base64.StdEncoding.EncodeToString(ilmConfigData)
    				bms.ExpiryLCConfig = &expLclCfgStr
    				// if all non expiry rules only, ExpiryUpdatedAt would be nil
    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