- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for DelMarkerExpiration (0.08 sec)
-
internal/bucket/lifecycle/delmarker-expiration_test.go
xml string err error }{ { xml: `<DelMarkerExpiration> <Days> 1 </Days> </DelMarkerExpiration>`, err: nil, }, { xml: `<DelMarkerExpiration> <Days> -1 </Days> </DelMarkerExpiration>`, err: errInvalidDaysDelMarkerExpiration, }, } for i, test := range tests { t.Run(fmt.Sprintf("TestDelMarker-%d", i), func(t *testing.T) { var dexp DelMarkerExpiration var fail boolRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 1.6K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration.go
// DelMarkerExpiration used to xml encode/decode ILM action by the same name type DelMarkerExpiration struct { XMLName xml.Name `xml:"DelMarkerExpiration"` Days int `xml:"Days,omitempty"` } // Empty returns if a DelMarkerExpiration XML element is empty. // Used to detect if lifecycle.Rule contained a DelMarkerExpiration element.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 2.3K bytes - Viewed (0) -
cmd/data-scanner_test.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0) -
internal/bucket/lifecycle/rule_test.go
</Rule>`, expectedErr: errXMLNotWellFormed, }, { inputXML: `<Rule> <ID>Rule with a tag and DelMarkerExpiration</ID> <Filter><Tag><Key>k1</Key><Value>v1</Value></Tag></Filter> <DelMarkerExpiration> <Days>365</Days> </DelMarkerExpiration> <Status>Enabled</Status> </Rule>`, expectedErr: errInvalidRuleDelMarkerExpiration,Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 4.9K bytes - Viewed (0) -
internal/bucket/lifecycle/rule.go
Expiration Expiration `xml:"Expiration,omitempty"` Transition Transition `xml:"Transition,omitempty"` DelMarkerExpiration DelMarkerExpiration `xml:"DelMarkerExpiration,omitempty"` // FIXME: add a type to catch unsupported AbortIncompleteMultipartUpload AbortIncompleteMultipartUpload `xml:"AbortIncompleteMultipartUpload,omitempty"`
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Nov 25 20:12:21 UTC 2024 - 6.4K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 55.5K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle.go
}) // No other conflicting actions apply to an expired object delete marker break } } } // DelMarkerExpiration if obj.IsLatest && obj.DeleteMarker && !rule.DelMarkerExpiration.Empty() { if due, ok := rule.DelMarkerExpiration.NextDue(obj); ok && (now.IsZero() || now.After(due)) { events = append(events, Event{ Action: DelMarkerDeleteAllVersionsAction, RuleID: rule.ID,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 03 06:45:06 UTC 2025 - 18.2K bytes - Viewed (0)