- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for days$1 (0.11 sec)
-
internal/bucket/lifecycle/transition_test.go
}{ { input: `<Transition> <Days>0</Days> <StorageClass>S3TIER-1</StorageClass> </Transition>`, err: nil, }, { input: `<Transition> <Days>1</Days> <Date>2021-01-01T00:00:00Z</Date> <StorageClass>S3TIER-1</StorageClass> </Transition>`, err: errTransitionInvalid, }, { input: `<Transition> <Days>1</Days> </Transition>`, err: errXMLNotWellFormed,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 01 18:58:17 UTC 2021 - 2.3K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration_test.go
) func TestDelMarkerExpParseAndValidate(t *testing.T) { tests := []struct { 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 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 1.6K bytes - Viewed (0) -
cmd/bucket-lifecycle_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 31 09:57:57 UTC 2022 - 7K bytes - Viewed (0) -
docs/bucket/retention/README.md
```sh awscli s3api put-object-lock-configuration --bucket mybucket --object-lock-configuration 'ObjectLockEnabled=\"Enabled\",Rule={DefaultRetention={Mode=\"GOVERNANCE\",Days=1}}' ``` ### Set object lock
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 29 04:28:45 UTC 2022 - 3.9K bytes - Viewed (0) -
internal/bucket/lifecycle/transition.go
} // TransitionDays is a type alias to unmarshal Days in Transition type TransitionDays int // UnmarshalXML parses number of days from Transition and validates if // >= 0 func (tDays *TransitionDays) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error { var days int err := d.DecodeElement(&days, &startElement) if err != nil { return err } if days < 0 { return errTransitionInvalidDays }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 10 17:07:49 UTC 2022 - 5.1K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration.go
errLifecycleInvalidDays = Errorf("Days must be positive integer when used with Expiration") errLifecycleInvalidExpiration = Errorf("Exactly one of Days (positive integer) or Date (positive ISO 8601 format) should be present inside Expiration.") errLifecycleInvalidDeleteMarker = Errorf("Delete marker cannot be specified with Days or Date in a Lifecycle Expiration Policy")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 21 20:28:34 UTC 2024 - 6.6K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration_test.go
inputXML: `<Expiration> <Days>3</Days> <Date>2019-04-20T00:00:00Z</Date> </Expiration>`, expectedErr: errLifecycleInvalidExpiration, }, { // Expiration with both ExpiredObjectDeleteMarker and days inputXML: `<Expiration> <Days>3</Days>
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 21 20:28:34 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PurgeLogJob.java
resultBuf.append(e.getMessage()).append("\n"); } // purge search logs try { final int days = ComponentUtil.getFessConfig().getPurgeSearchLogDay(); if (days >= 0) { searchLogService.deleteBefore(days); } else { resultBuf.append("Skipped to purge search logs.\n"); } } catch (final Exception e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
cal.setTimeInMillis(ComponentUtil.getSystemHelper().getCurrentTimeAsLong()); return cal; } public void addIntervalRule(final String from, final String to, final String days, final long delay) { ruleList.add(new IntervalRule(from, to, days, delay)); } public boolean isCrawlerRunning() { return crawlerRunning; } public void setCrawlerRunning(final boolean crawlerRunning) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5.8K bytes - Viewed (0) -
.github/workflows/stale-issues.yml
This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. close-issue-message: > This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. days-before-pr-stale: 14 days-before-pr-close: 14
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jun 26 15:41:19 UTC 2024 - 4.1K bytes - Viewed (0)