Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for dayjs (0.12 sec)

  1. cmd/data-scanner_test.go

    		IsLatest:     true,
    		DeleteMarker: true,
    		NumVersions:  4,
    	}
    	deleteAllILM := `<LifecycleConfiguration>
    			    <Rule>
    		               <Expiration>
    		                  <Days>30</Days>
    	                          <ExpiredObjectAllVersions>true</ExpiredObjectAllVersions>
    	                       </Expiration>
    	                       <Filter></Filter>
    	                       <Status>Enabled</Status>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. 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)
  3. cmd/postpolicyform_test.go

    		formValues.Set("X-Amz-Credential", tt.XAmzCredential)
    		if tt.Expired {
    			// Expired already.
    			pp.SetExpires(UTCNow().AddDate(0, 0, -10))
    		} else {
    			// Expires in 10 days.
    			pp.SetExpires(UTCNow().AddDate(0, 0, 10))
    		}
    
    		formValues.Set("Policy", base64.StdEncoding.EncodeToString([]byte(pp.String())))
    		formValues.Set("Success_action_status", tt.SuccessActionStatus)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  4. .github/stale.yml

    # Configuration for probot-stale - https://github.com/probot/stale
    
    # Number of days of inactivity before an Issue or Pull Request becomes stale
    daysUntilStale: 30
    
    # Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
    # Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
    daysUntilClose: 15
    
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 24 04:36:59 GMT 2022
    - 2K bytes
    - Viewed (0)
  5. 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>`),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Viewed (0)
  6. .github/workflows/lock.yml

    concurrency:
      group: lock
    
    jobs:
      action:
        runs-on: ubuntu-latest
        steps:
          - uses: dessant/lock-threads@v3
            with:
              github-token: ${{ github.token }}
              issue-inactive-days: '365'
              exclude-any-issue-labels: 'do-not-close'
              issue-lock-reason: 'resolved'
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 30 03:27:43 GMT 2022
    - 447 bytes
    - Viewed (0)
  7. cmd/update-notifier_test.go

    func TestPrepareUpdateMessage(t *testing.T) {
    	testCases := []struct {
    		older time.Duration
    		dlURL string
    
    		expectedSubStr string
    	}{
    		// Testcase index 0
    		{72 * time.Hour, "my_download_url", "3 days before the latest release"},
    		{3 * time.Hour, "https://my_download_url_is_huge/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "3 hours before the latest release"},
    		{-72 * time.Hour, "another_update_url", ""},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle-audit.go

    		ilmRuleID                  = "ilm-rule-id"
    		ilmTier                    = "ilm-tier"
    		ilmNewerNoncurrentVersions = "ilm-newer-noncurrent-versions"
    		ilmNoncurrentDays          = "ilm-noncurrent-days"
    	)
    	tags := make(map[string]interface{}, 5)
    	if src > lcEventSrc_None {
    		tags[ilmSrc] = src.String()
    	}
    	tags[ilmAction] = event.Action.String()
    	tags[ilmRuleID] = event.RuleID
    
    	if !event.Due.IsZero() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 01 15:56:24 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  9. 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)
  10. docs/iam/identity-management-plugin.md

    | user               | string                                  | Identifier for owner of requested credentials          |
    | maxValiditySeconds | integer (>= 900 seconds and < 365 days) | Maximum allowed expiry duration for the credentials    |
    | claims             | key-value pairs                         | Claims to be associated with the requested credentials |
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 4.2K bytes
    - Viewed (0)
Back to top