Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 142 for UTC (0.13 sec)

  1. internal/logger/logger.go

    		if ek, ok := errKind[0].(madmin.LogKind); ok {
    			logKind = ek
    		}
    	}
    
    	req := GetReqInfo(ctx)
    	if req == nil {
    		req = &ReqInfo{
    			API:       "SYSTEM",
    			RequestID: fmt.Sprintf("%X", time.Now().UTC().UnixNano()),
    		}
    	}
    	req.RLock()
    	defer req.RUnlock()
    
    	API := "SYSTEM"
    	switch {
    	case req.API != "":
    		API = req.API
    	case subsystem != "":
    		API += "." + subsystem
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    					srcInfo.UserDefined[ReservedMetadataPrefixLower+ObjectLockRetentionTimestamp] = srcTimestamp.UTC().Format(time.RFC3339Nano)
    				}
    			}
    		} else {
    			srcInfo.UserDefined[strings.ToLower(xhttp.AmzObjectLockMode)] = string(retentionMode)
    			srcInfo.UserDefined[strings.ToLower(xhttp.AmzObjectLockRetainUntilDate)] = amztime.ISO8601Format(retentionDate.UTC())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/metrics-v3-cache.go

    			offlineDrives: offlineDrives.Sum(),
    			totalDrives:   totalDrives.Sum(),
    			ioStats:       map[string]driveIOStatMetrics{},
    		}
    
    		currentStats := getCurrentDriveIOStats()
    		now := time.Now().UTC()
    
    		prevDriveIOStatsMu.Lock()
    		if prevDriveIOStats != nil {
    			duration := now.Sub(prevDriveIOStatsRefreshedAt)
    			if duration.Seconds() > 1 {
    				for d, cs := range currentStats {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  4. docs/sts/web-identity.go

    					return nil, errors.New("invalid token")
    				}
    
    				return &credentials.WebIdentityToken{
    					Token:  oauth2Token.Extra("id_token").(string),
    					Expiry: int(oauth2Token.Expiry.Sub(time.Now().UTC()).Seconds()),
    				}, nil
    			}
    		}
    
    		sts, err := credentials.NewSTSWebIdentity(stsEndpoint, getWebTokenExpiry)
    		if err != nil {
    			log.Println(fmt.Errorf("Could not get STS credentials: %s", err))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Viewed (3)
  5. manifests/charts/base/crds/crd-all.gen.yaml

            when this object was created. It is not guaranteed to be set in happens-before
            order across separate operations. Clients may not set this value. It is represented
            in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
            lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
          jsonPath: .metadata.creationTimestamp
          name: Age
          type: date
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:47 GMT 2024
    - 606.1K bytes
    - Viewed (0)
  6. cmd/update.go

    // minioVersionToReleaseTime - parses a standard official release
    // MinIO version string.
    //
    // An official binary's version string is the release time formatted
    // with RFC3339 (in UTC) - e.g. `2017-09-29T19:16:56Z`
    func minioVersionToReleaseTime(version string) (releaseTime time.Time, err error) {
    	return time.Parse(time.RFC3339, version)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  7. internal/config/identity/openid/jwt.go

    	if _, err := auth.ExpToInt64(expStr); err != nil {
    		return err
    	}
    
    	defaultExpiryDuration, err := GetDefaultExpiration(dsecs)
    	if err != nil {
    		return err
    	}
    
    	claims["exp"] = time.Now().UTC().Add(defaultExpiryDuration).Unix() // update with new expiry.
    	return nil
    }
    
    const (
    	audClaim = "aud"
    	azpClaim = "azp"
    )
    
    // Validate - validates the id_token.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  8. internal/bucket/lifecycle/expiration.go

    	}
    	// Allow only date timestamp specifying midnight GMT
    	hr, min, sec := expDate.Clock()
    	nsec := expDate.Nanosecond()
    	loc := expDate.Location()
    	if !(hr == 0 && min == 0 && sec == 0 && nsec == 0 && loc.String() == time.UTC.String()) {
    		return errLifecycleDateNotMidnight
    	}
    
    	*eDate = ExpirationDate{expDate}
    	return nil
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
  9. cmd/xl-storage-format-v2.go

    			default:
    				ventry.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationStatus] = []byte(fi.ReplicationState.ReplicationStatusInternal)
    				ventry.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationTimestamp] = []byte(fi.ReplicationState.ReplicationTimeStamp.UTC().Format(time.RFC3339Nano))
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  10. docs/changelogs/changelog_1x.md

     * Fix: Persist proper `Content-Encoding` header to cache for GZip responses.
     * Fix: Eliminate rare race condition in SPDY streams that would prevent connection reuse.
     * Fix: Change HTTP date formats to UTC to conform to RFC2616 section 3.3.
     * Fix: Support SPDY header blocks with trailing bytes.
     * Fix: Allow `;` as separator for `Cache-Control` header.
     * Fix: Correct bug where HTTPS POST requests were always automatically buffered.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
Back to top