Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RetGovernance (0.06 sec)

  1. internal/bucket/lifecycle/evaluator.go

    	if lhold.Status.Valid() && lhold.Status == objlock.LegalHoldOn {
    		return true
    	}
    
    	ret := objlock.GetObjectRetentionMeta(obj.UserDefined)
    	if ret.Mode.Valid() && (ret.Mode == objlock.RetCompliance || ret.Mode == objlock.RetGovernance) {
    		t, err := objlock.UTCNowNTP()
    		if err != nil {
    			// it is safe to assume that the object is locked when
    			// we can't get the current time
    			return true
    		}
    		if ret.RetainUntilDate.After(t) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 08 15:41:24 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top