- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 91 for Days (0.01 seconds)
-
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>
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Feb 21 20:28:34 GMT 2024 - 4.1K bytes - Click Count (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 }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 5.1K bytes - Click Count (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")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 6.6K bytes - Click Count (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,Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 01 18:58:17 GMT 2021 - 2.3K bytes - Click Count (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: 14Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Nov 01 08:08:54 GMT 2025 - 4.1K bytes - Click Count (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 ------------|----------|------------|--------|--------------|--------------|------------------|------------------|------------------Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 9.1K bytes - Click Count (0) -
internal/bucket/lifecycle/rule_test.go
<Expiration> <Days>365</Days> </Expiration> <Status>Enabled</Status> </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>
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 4.9K bytes - Click Count (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: ""Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Sep 04 22:13:29 GMT 2025 - 836 bytes - Click Count (0) -
.github/workflows/stale.yml
with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: "This issue has been automatically marked as stale because it has been open 360 days with no activity. Remove stale label or comment or this will be closed in 180 days" days-before-stale: 360 days-before-close: 180 stale-issue-label: "status:stale" exempt-issue-labels: 'type:feature,type:with reproduction steps,type:has pull request'Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Apr 11 02:27:05 GMT 2023 - 972 bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy
import gradlebuild.buildutils.model.ReleasedVersion import gradlebuild.buildutils.model.ReleasedVersions import spock.lang.Specification import java.text.SimpleDateFormat import static java.util.concurrent.TimeUnit.DAYS class UpdateReleasedVersionsTest extends Specification { def format = new SimpleDateFormat('yyyyMMddHHmmssZ') def setup() { format.timeZone = TimeZone.getTimeZone("UTC") }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 5.4K bytes - Click Count (0)