- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 141 for day0 (0.13 sec)
-
internal/bucket/lifecycle/lifecycle.go
// modification time plus the number of transition/restore days. // // e.g. If the object modtime is `Thu May 21 13:42:50 GMT 2020` and the object should // transition in 1 day, then the expected transition time is `Fri, 23 May 2020 00:00:00 GMT` func ExpectedExpiryTime(modTime time.Time, days int) time.Time { if days == 0 { return modTime } t := modTime.UTC().Add(time.Duration(days+1) * 24 * time.Hour) return t.Truncate(24 * time.Hour)
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) -
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
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Sep 29 04:28:45 GMT 2022 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
} } return documentExpires != null ? new Date(documentExpires) : null; } protected long getExpiredTime(final int days) { final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong(); return now + days * Constants.ONE_DAY_IN_MILLIS; } public Map<String, String> getInfoMap(final String sessionId) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 10.6K bytes - Viewed (1) -
.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
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu Nov 23 20:04:38 GMT 2023 - 4.1K 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 }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jan 10 17:07:49 GMT 2022 - 5.1K 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>
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Feb 21 20:28:34 GMT 2024 - 4.1K bytes - Viewed (0) -
internal/bucket/object/lock/lock.go
} if retention.Days == nil && retention.Years == nil { return fmt.Errorf("either Days or Years must be specified") } if retention.Days != nil && retention.Years != nil { return fmt.Errorf("either Days or Years must be specified, not both") } //nolint:gocritic if retention.Days != nil { if *retention.Days == 0 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 17.1K bytes - Viewed (0) -
internal/bucket/object/lock/lock_test.go
}, { value: DefaultRetention{Mode: RetGovernance, Days: &days, Years: &years}, expectedErr: fmt.Errorf("either Days or Years must be specified, not both"), expectErr: true, }, { value: DefaultRetention{Mode: RetGovernance, Days: &zerodays}, expectedErr: fmt.Errorf("Default retention period must be a positive integer value for 'Days'"), expectErr: true, }, {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 17.1K bytes - Viewed (0) -
docs/bucket/replication/setup_ilm_expiry_replication.sh
./mc ilm edit --id "${id}" --expire-days "100" sitea/bucket sleep 30s count1=$(./mc ilm rule list sitea/bucket --json | jq '.config.Rules[0].Expiration.Days') count2=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Expiration.Days') if [ $count1 -ne 100 ]; then echo "BUG: Expiration days not changed on 'sitea'" exit 1 fi
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 26 00:31:12 GMT 2024 - 12.7K bytes - Viewed (0) -
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,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Oct 01 18:58:17 GMT 2021 - 2.3K bytes - Viewed (0)