Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 77 for UTCNow (0.18 sec)

  1. cmd/erasure-object.go

    		// preserve destination versionId if specified.
    		if versionID == "" {
    			versionID = mustGetUUID()
    			fi.IsLatest = true // we are creating a new version so this is latest.
    		}
    	}
    
    	modTime = UTCNow() // We only preserve modTime if dstOpts.MTime is true.
    	// in all other cases mtime is latest.
    
    	fi.VersionID = versionID // set any new versionID we might have created
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  2. cmd/event-notification.go

    	RespElements map[string]string
    	Host         string
    	UserAgent    string
    }
    
    // ToEvent - converts to notification event.
    func (args eventArgs) ToEvent(escape bool) event.Event {
    	eventTime := UTCNow()
    	uniqueID := fmt.Sprintf("%X", eventTime.UnixNano())
    	if !args.Object.ModTime.IsZero() {
    		uniqueID = fmt.Sprintf("%X", args.Object.ModTime.UnixNano())
    	}
    
    	respElements := map[string]string{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  3. cmd/veeam-sos-api.go

    		Bucket:      bucket,
    		Name:        object,
    		Size:        r.Size(),
    		IsLatest:    true,
    		ContentType: string(mimeXML),
    		NumVersions: 1,
    		ETag:        etag,
    		ModTime:     UTCNow(),
    	}, opts)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 18:43:58 GMT 2024
    - 8.2K bytes
    - Viewed (2)
  4. docs/select/README.md

    - Large numbers (outside of the signed 64-bit range) are not yet supported.
    - The Date [functions](https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-glacier-select-sql-reference-date.html) `DATE_ADD`, `DATE_DIFF`, `EXTRACT` and `UTCNOW` along with type conversion using `CAST` to the `TIMESTAMP` data type are currently supported.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 6.5K bytes
    - Viewed (0)
  5. ci/official/utilities/extract_resultstore_links.py

      failure_count = 0
      error_count = 0
    
      date_time = datetime.datetime
      attrib = {'name': 'Bazel Invocations', 'time': '0.0',
                'timestamp': date_time.isoformat(date_time.utcnow())}
      testsuites = ElemTree.Element('testsuites')
      testsuite = ElemTree.SubElement(testsuites, 'testsuite')
      for url, invocation_results in result_store_dict.items():
        invocation_id = url.rsplit('/')[-1]
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  6. pyproject.toml

        # related issues:
        #   - https://github.com/mpdavis/python-jose/issues/332
        #   - https://github.com/mpdavis/python-jose/issues/334
        'ignore:datetime\.datetime\.utcnow\(\) is deprecated and scheduled for removal in a future version\..*:DeprecationWarning:jose',
    ]
    
    [tool.coverage.run]
    parallel = true
    source = [
        "docs_src",
        "tests",
        "fastapi"
    ]
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    	if opts.WantChecksum != nil && opts.WantChecksum.Type.IsSet() {
    		userDefined[hash.MinIOMultipartChecksum] = opts.WantChecksum.Type.String()
    	}
    
    	modTime := opts.MTime
    	if opts.MTime.IsZero() {
    		modTime = UTCNow()
    	}
    
    	onlineDisks, partsMetadata = shuffleDisksAndPartsMetadata(onlineDisks, partsMetadata, fi)
    
    	// Fill all the necessary metadata.
    	// Update `xl.meta` content on each disks.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  8. cmd/object-multipart-handlers.go

    	}
    	if r.Header.Get(xhttp.AmzBucketReplicationStatus) == replication.Replica.String() {
    		metadata[ReservedMetadataPrefixLower+ReplicaStatus] = replication.Replica.String()
    		metadata[ReservedMetadataPrefixLower+ReplicaTimestamp] = UTCNow().Format(time.RFC3339Nano)
    	}
    	retPerms := isPutActionAllowed(ctx, getRequestAuthType(r), bucket, object, r, policy.PutObjectRetentionAction)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  9. cmd/sftp-server-driver.go

    				return nil, err
    			}
    			expiryDur, err := globalIAMSys.LDAPConfig.GetExpiryDuration("")
    			if err != nil {
    				return nil, err
    			}
    			claims := make(map[string]interface{})
    			claims[expClaim] = UTCNow().Add(expiryDur).Unix()
    			for k, v := range f.permissions.CriticalOptions {
    				claims[k] = v
    			}
    
    			cred, err := auth.GetNewCredentialsWithMetadata(claims, globalActiveCred.SecretKey)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  10. cmd/update_test.go

    		}
    	}
    }
    
    func TestDownloadURL(t *testing.T) {
    	sci := globalIsCICD
    	globalIsCICD = false
    	defer func() {
    		globalIsCICD = sci
    	}()
    
    	minioVersion1 := releaseTimeToReleaseTag(UTCNow())
    	durl := getDownloadURL(minioVersion1)
    	if IsDocker() {
    		if durl != "podman pull quay.io/minio/minio:"+minioVersion1 {
    			t.Errorf("Expected %s, got %s", "podman pull quay.io/minio/minio:"+minioVersion1, durl)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
Back to top