- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 434 for days (0.02 sec)
-
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
if numDays <= 0 { return errLifecycleInvalidDays } *eDays = ExpirationDays(numDays) return nil } // MarshalXML encodes number of days to expire if it is non-zero and // encodes empty string otherwise func (eDays ExpirationDays) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error { if eDays == 0 { return nil } return e.EncodeElement(int(eDays), startElement) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 21 20:28:34 UTC 2024 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5.8K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
objectName: "foxdir/fooobject", objectModTime: time.Now().UTC().Add(-10 * 24 * time.Hour), // Created 10 days ago expectedAction: NoneAction, }, // Should remove (test Days) { inputConfig: `<LifecycleConfiguration><Rule><Filter><Prefix>foodir/</Prefix></Filter><Status>Enabled</Status><Expiration><Days>5</Days></Expiration></Rule></LifecycleConfiguration>`,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 55.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>
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 21 20:28:34 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/bucket/lifecycle/README.md
Lifecycle configuration imported successfully to `play/testbucket`. ``` - List the current settings ``` $ mc ilm ls play/testbucket ID | Prefix | Enabled | Expiry | Date/Days | Transition | Date/Days | Storage-Class | Tags ------------|----------|------------|--------|--------------|--------------|------------------|------------------|------------------
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 09 01:45:38 UTC 2024 - 9K 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 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 29 01:20:27 UTC 2024 - 17.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) -
.github/workflows/team-triage-stale.yml
days-before-issue-stale: 14 stale-issue-label: to-triage stale-issue-message: "" days-before-issue-close: -1 only-pr-labels: 'from:contributor' exempt-all-pr-milestones: true days-before-pr-stale: 14 stale-pr-label: to-triage stale-pr-message: ""
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu May 02 09:13:16 UTC 2024 - 835 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
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 12.8K bytes - Viewed (0)