Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for timestamp (0.17 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	today := time.Now()
    	expDate, err := time.Parse(time.RFC3339, cert.ExpirationTime)
    	if err != nil {
    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ExpirationTime, err)
    		return false
    	}
    	fromDate, err := time.Parse(time.RFC3339, cert.ValidFrom)
    	if err != nil {
    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ValidFrom, err)
    		return false
    	}
    	if today.After(fromDate) && today.Before(expDate) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    	TaggingTimestamp = "tagging-timestamp"
    	// ObjectLockRetentionTimestamp - the last time a object lock metadata modification happened on this cluster for this object version
    	ObjectLockRetentionTimestamp = "objectlock-retention-timestamp"
    	// ObjectLockLegalHoldTimestamp - the last time a legal hold metadata modification happened on this cluster for this object version
    	ObjectLockLegalHoldTimestamp = "objectlock-legalhold-timestamp"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  3. internal/logger/logrotate.go

    	MaximumFileSize int64
    
    	// FileNameFunc specifies the name a new file will take.
    	// FileNameFunc must ensure collisions in filenames do not occur.
    	// Do not rely on timestamps to be unique, high throughput writes
    	// may fall on the same timestamp.
    	// Eg.
    	// 	2020-03-28_15-00-945-<random-hash>.log
    	// When FileNameFunc is not specified, DefaultFilenameFunc will be used.
    	FileNameFunc func() string
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. chainable_api.go

    	tx.Statement.assigns = attrs
    	return
    }
    
    // Unscoped disables the global scope of soft deletion in a query.
    // By default, GORM uses soft deletion, marking records as "deleted"
    // by setting a timestamp on a specific field (e.g., `deleted_at`).
    // Unscoped allows queries to include records marked as deleted,
    // overriding the soft deletion behavior.
    // Example:
    //    var users []User
    //    db.Unscoped().Find(&users)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  5. internal/event/target/postgresql.go

    )
    
    const (
    	psqlTableExists          = `SELECT 1 FROM %s;`
    	psqlCreateNamespaceTable = `CREATE TABLE %s (key VARCHAR PRIMARY KEY, value JSONB);`
    	psqlCreateAccessTable    = `CREATE TABLE %s (event_time TIMESTAMP WITH TIME ZONE NOT NULL, event_data JSONB);`
    
    	psqlUpdateRow = `INSERT INTO %s (key, value) VALUES ($1, $2) ON CONFLICT (key) DO UPDATE SET value = EXCLUDED.value;`
    	psqlDeleteRow = `DELETE FROM %s WHERE key = $1;`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  6. cmd/globals.go

    	globalObjectPerfUserMetadata = "X-Amz-Meta-Minio-Object-Perf" // Clients can set this to bypass S3 API service freeze. Used by object pref tests.
    
    	// MinIO version unix timestamp
    	globalVersionUnix uint64
    
    	// MinIO client
    	globalMinioClient *minio.Client
    
    	// Public key for subnet confidential information
    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)
  7. cmd/tier.go

    	config.Lock()
    	defer config.Unlock()
    
    	switch err {
    	case nil:
    		break
    	case errConfigNotFound: // nothing to reload
    		// To maintain the invariance that lastRefreshedAt records the
    		// timestamp of last successful refresh
    		config.lastRefreshedAt = UTCNow()
    		return nil
    	default:
    		return err
    	}
    
    	// Reset drivercache built using current config
    	for k := range config.drivercache {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  8. cmd/iam.go

    		return nil, errIAMActionNotAllowed
    	}
    
    	select {
    	case <-sys.configLoaded:
    		pe := sys.store.ListPolicyMappings(q, sys.LDAPConfig.IsLDAPUserDN, sys.LDAPConfig.IsLDAPGroupDN)
    		pe.Timestamp = UTCNow()
    		return &pe, nil
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // IsTempUser - returns if given key is a temporary user and parent user.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  9. cmd/iam-store.go

    	}
    	err := store.loadUser(ctx, accessKey, userType, m)
    
    	if err == errNoSuchUser {
    		// User was deleted - we update the cache.
    		delete(m, accessKey)
    
    		// Since cache was updated, we update the timestamp.
    		defer func() {
    			cache.updatedAt = time.Now()
    		}()
    
    		// 1. Start with updating user-group memberships
    		if store.getUsersSysType() == MinIOUsersSysType {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  10. cmd/object-handlers.go

    			srcTimestamp := dstOpts.ReplicationSourceTaggingTimestamp
    			if !srcTimestamp.IsZero() {
    				ondiskTimestamp, err := time.Parse(time.RFC3339Nano, lastTaggingTimestamp)
    				// update tagging metadata only if replica  timestamp is newer than what's on disk
    				if err != nil || (err == nil && ondiskTimestamp.Before(srcTimestamp)) {
    					srcInfo.UserDefined[ReservedMetadataPrefixLower+TaggingTimestamp] = srcTimestamp.UTC().Format(time.RFC3339Nano)
    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)
Back to top