Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for days (0.21 sec)

  1. 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)
  2. 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)
  3. LICENSE

    prior to 60 days after the cessation.
    
      Moreover, your license from a particular copyright holder is
    reinstated permanently if the copyright holder notifies you of the
    violation by some reasonable means, this is the first time you have
    received notice of violation of this License (for any work) from that
    copyright holder, and you cure the violation prior to 30 days after
    your receipt of the notice.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 33.7K bytes
    - Viewed (0)
  4. internal/grid/connection.go

    	// StateShutdown is the state when the server has been shut down.
    	// This will not be used under normal operation.
    	StateShutdown
    
    	// MaxDeadline is the maximum deadline allowed,
    	// Approx 49 days.
    	MaxDeadline = time.Duration(math.MaxUint32) * time.Millisecond
    )
    
    // ContextDialer is a dialer that can be used to dial a remote.
    type ContextDialer func(ctx context.Context, network, address string) (net.Conn, error)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  5. cmd/bucket-replication-handlers.go

    	arn := r.URL.Query().Get("arn")
    	resetID := r.URL.Query().Get("reset-id")
    	if resetID == "" {
    		resetID = mustGetUUID()
    	}
    	var (
    		days time.Duration
    		err  error
    	)
    	if durationStr != "" {
    		days, err = time.ParseDuration(durationStr)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, InvalidArgument{
    				Bucket: bucket,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 28 04:08:53 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  6. docs/LICENSE

      b. Where Your right to use the Licensed Material has terminated under
         Section 6(a), it reinstates:
    
           1. automatically as of the date the violation is cured, provided
              it is cured within 30 days of Your discovery of the
              violation; or
    
           2. upon express reinstatement by the Licensor.
    
         For the avoidance of doubt, this Section 6(b) does not affect any
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon May 10 16:50:06 GMT 2021
    - 18.2K bytes
    - Viewed (0)
  7. cmd/erasure-metadata.go

    				fmt.Fprint(h, meta.TransitionStatus)
    				fmt.Fprint(h, meta.TransitionTier)
    				fmt.Fprint(h, meta.TransitionedObjName)
    				fmt.Fprint(h, meta.TransitionVersionID)
    			}
    
    			// If metadata says encrypted, ask for it in quorum.
    			if etyp, ok := crypto.IsEncrypted(meta.Metadata); ok {
    				fmt.Fprint(h, etyp)
    			}
    
    			// If compressed, look for compressed FileInfo only
    			if meta.IsCompressed() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  8. internal/http/headers.go

    	AmzTagCount      = "x-amz-tagging-count"
    	AmzTagDirective  = "X-Amz-Tagging-Directive"
    
    	// S3 transition restore
    	AmzRestore            = "x-amz-restore"
    	AmzRestoreExpiryDays  = "X-Amz-Restore-Expiry-Days"
    	AmzRestoreRequestDate = "X-Amz-Restore-Request-Date"
    	AmzRestoreOutputPath  = "x-amz-restore-output-path"
    
    	// S3 extensions
    	AmzCopySourceIfModifiedSince   = "x-amz-copy-source-if-modified-since"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  9. docs/sts/ldap.md

    | Params     | Value    |
    | :--        | :--      |
    | _Type_     | _String_ |
    | _Required_ | _Yes_    |
    
    ### DurationSeconds
    
    The duration, in seconds. The value can range from 900 seconds (15 minutes) up to 365 days. If value is higher than this setting, then operation fails. By default, the value is set to 3600 seconds.
    
    | Params        | Value                                              |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.4K bytes
    - Viewed (1)
  10. cmd/signature-v4-parser_test.go

    					sampleTimeStr,
    					"us-west-1",
    					"s3",
    					"aws4_request"),
    				// valid "X-Amz-Date" query.
    				"X-Amz-Date", queryTime.UTC().Format(iso8601Format),
    				// Invalid Expiry time greater than 7 days (604800 in seconds).
    				"X-Amz-Expires", getDurationStr(605000),
    				"X-Amz-Signature", "abcd",
    				"X-Amz-SignedHeaders", "host;x-amz-content-sha256;x-amz-date",
    			},
    			expectedPreSignValues: preSignValues{},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
Back to top