Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for days$1 (0.16 sec)

  1. 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/lifecycle_test.go

    			expectedParsingErr:    nil,
    			expectedValidationErr: errXMLNotWellFormed,
    		},
    		// Lifecycle with the deprecated Prefix tag
    		{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle_test.go

    			expectedErr: errInvalidStorageClass,
    		},
    		{
    			// no transition rule
    			xml:         []byte(`<LifecycleConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Rule><ID>rule</ID><Prefix /><Status>Enabled</Status><Expiration><Days>1</Days></Expiration></Rule></LifecycleConfiguration>`),
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  4. 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/moment-with-locales.min.js.map

    ","monthsRegex$9","symbolMap$f","numberMap$e","੧","੨","੩","੪","੫","੬","੭","੮","੯","੦","monthsNominative","monthsSubjective","monthsParse$a","plural$3","translate$8","relativeTimeWithPlural$2","relativeTimeWithPlural$3","monthsParse$b","months$9","days$1","months$a","monthsShort$7","plural$5","translate$9","processRelativeTime$7","translator$1","translator$2","symbolMap$g","numberMap$f","௧","௨","௩","௪","௫","௬","௭","௮","௯","௦","suffixes$3","12","13","suffixes$4","numbersNouns","translate$a","numbe...
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 224.8K bytes
    - Viewed (0)
  6. 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jan 10 17:07:49 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  7. 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. .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 Oct 29 12:39:09 UTC 2024
    - Last Modified: Wed Jun 26 15:41:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top