Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 77 for UTCNow (0.19 sec)

  1. cmd/globals.go

    	// Global bucket network and API statistics
    	globalBucketConnStats = newBucketConnStats()
    	globalBucketHTTPStats = newBucketHTTPStats()
    
    	// Time when the server is started
    	globalBootTime = UTCNow()
    
    	globalActiveCred         auth.Credentials
    	globalSiteReplicatorCred siteReplicatorCred
    
    	// Captures if root credentials are set via ENV.
    	globalCredViaEnv bool
    
    	globalPublicCerts []*x509.Certificate
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  2. cmd/admin-handlers_test.go

    	}
    
    	// Initialize minio server config.
    	if err := newTestConfig(globalMinioDefaultRegion, objLayer); err != nil {
    		cancel()
    		return nil, err
    	}
    
    	// Initialize boot time
    	globalBootTime = UTCNow()
    
    	globalEndpoints = mustGetPoolEndpoints(0, erasureDirs...)
    
    	initAllSubsystems(ctx)
    
    	initConfigSubsystem(ctx, objLayer)
    
    	globalIAMSys.Init(ctx, objLayer, globalEtcdClient, 2*time.Second)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. internal/s3select/sql/funceval.go

    	sqlFnDateDiff    FuncName = "DATE_DIFF"
    	sqlFnExtract     FuncName = "EXTRACT"
    	sqlFnToString    FuncName = "TO_STRING"
    	sqlFnToTimestamp FuncName = "TO_TIMESTAMP"
    	sqlFnUTCNow      FuncName = "UTCNOW"
    
    	// String
    	sqlFnCharLength      FuncName = "CHAR_LENGTH"
    	sqlFnCharacterLength FuncName = "CHARACTER_LENGTH"
    	sqlFnLower           FuncName = "LOWER"
    	sqlFnSubstring       FuncName = "SUBSTRING"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  4. cmd/ftp-server-driver.go

    			}
    			expiryDur, err := globalIAMSys.LDAPConfig.GetExpiryDuration("")
    			if err != nil {
    				return nil, err
    			}
    			claims := make(map[string]interface{})
    			claims[expClaim] = UTCNow().Add(expiryDur).Unix()
    			claims[ldapUser] = targetUser
    			claims[ldapUserN] = ctx.Sess.LoginUser()
    
    			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
    - 13.6K bytes
    - Viewed (0)
  5. cmd/signature-v4-utils_test.go

    	signedHeaders = append(signedHeaders, "expect")
    	// expected header values.
    	expectedHost := "play.min.io:9000"
    	expectedContentSha256 := "1234abcd"
    	expectedTime := UTCNow().Format(iso8601Format)
    	expectedTransferEncoding := "gzip"
    	expectedExpect := "100-continue"
    
    	r, err := http.NewRequest(http.MethodGet, "http://play.min.io:9000", nil)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  6. cmd/global-heal.go

    	hs := madmin.HealOpts{
    		// Remove objects that do not have read-quorum
    		Remove: healDeleteDangling,
    	}
    
    	return &healSequence{
    		startTime:   UTCNow(),
    		clientToken: bgHealingUUID,
    		// run-background heal with reserved bucket
    		bucket:   minioReservedBucket,
    		settings: hs,
    		currentStatus: healSequenceStatus{
    			Summary:      healNotStartedStatus,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  7. cmd/postpolicyform.go

    func checkPostPolicy(formValues http.Header, postPolicyForm PostPolicyForm) error {
    	// Check if policy document expiry date is still not reached
    	if !postPolicyForm.Expiration.After(UTCNow()) {
    		return fmt.Errorf("Invalid according to Policy: Policy expired")
    	}
    	// check all formValues appear in postPolicyForm or return error. #https://github.com/minio/minio/issues/17391
    	checkHeader := map[string][]string{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  8. cmd/object-api-interface.go

    func (o *ObjectOptions) SetReplicaStatus(st replication.StatusType) {
    	o.DeleteReplication.ReplicaStatus = st
    	o.DeleteReplication.ReplicaTimeStamp = UTCNow()
    }
    
    // DeleteMarkerReplicationStatus - returns replication status of delete marker from DeleteReplication state in ObjectOptions
    func (o *ObjectOptions) DeleteMarkerReplicationStatus() replication.StatusType {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    			}
    			if st, ok := m.TargetsMap[t.Arn]; ok {
    				st.LastUpdate = UTCNow()
    				st.ResyncStatus = ResyncCanceled
    				m.TargetsMap[t.Arn] = st
    				m.LastUpdate = UTCNow()
    			}
    			globalReplicationPool.resyncer.statusMap[bucket] = m
    			globalReplicationPool.resyncer.Unlock()
    		}
    	}
    
    	rs.Status = ResyncCanceled
    	rs.LastUpdate = UTCNow()
    	if err := saveSiteResyncMetadata(ctx, rs, objAPI); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  10. cmd/server-main.go

    		isErrBucketNotFound(err) ||
    		errors.Is(err, os.ErrDeadlineExceeded) ||
    		notInitialized
    }
    
    func bootstrapTraceMsg(msg string) {
    	info := madmin.TraceInfo{
    		TraceType: madmin.TraceBootstrap,
    		Time:      UTCNow(),
    		NodeName:  globalLocalNodeName,
    		FuncName:  "BOOTSTRAP",
    		Message:   fmt.Sprintf("%s %s", getSource(2), msg),
    	}
    	globalBootstrapTracer.Record(info)
    
    	if serverDebugLog {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
Back to top