Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 78 for updateMap (0.33 sec)

  1. cmd/bucket-policy-handlers.go

    		Type:      madmin.SRBucketMetaTypePolicy,
    		Bucket:    bucket,
    		Policy:    bucketPolicyBytes,
    		UpdatedAt: updatedAt,
    	}))
    
    	// Success.
    	writeSuccessNoContent(w)
    }
    
    // DeleteBucketPolicyHandler - This HTTP handler removes bucket policy configuration.
    func (api objectAPIHandlers) DeleteBucketPolicyHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/log/bsentity/dbmeta/UserInfoDbm.java

                false, false, "LocalDateTime", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnUpdatedAt = cci("updatedAt", "updatedAt", null, null, LocalDateTime.class, "updatedAt", null, false,
                false, false, "LocalDateTime", 0, 0, null, null, false, null, null, null, null, null, false);
    
        public ColumnInfo columnCreatedAt() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. tests/non_std_test.go

    	CreatedAt  time.Time
    	UpdatedAt  time.Time
    }
    
    func TestNonStdPrimaryKeyAndDefaultValues(t *testing.T) {
    	DB.Migrator().DropTable(&Animal{})
    	if err := DB.AutoMigrate(&Animal{}); err != nil {
    		t.Fatalf("no error should happen when migrate but got %v", err)
    	}
    
    	animal := Animal{Name: "Ferdinand"}
    	DB.Save(&animal)
    	updatedAt1 := animal.UpdatedAt
    
    	DB.Save(&animal).Update("name", "Francis")
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    	if change == nil {
    		return errSRInvalidRequest(errInvalidArgument)
    	}
    	// skip overwrite of local update if peer sent stale info
    	if !updatedAt.IsZero() {
    		if ui, err := globalIAMSys.GetUserInfo(ctx, change.AccessKey); err == nil && ui.UpdatedAt.After(updatedAt) {
    			return nil
    		}
    	}
    
    	var err error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  5. tests/update_has_one_test.go

    	} else {
    		user.Account.UpdatedAt = user4.Account.UpdatedAt
    		CheckUser(t, user4, user)
    	}
    
    	t.Run("Polymorphic", func(t *testing.T) {
    		pet := Pet{Name: "create"}
    
    		if err := DB.Create(&pet).Error; err != nil {
    			t.Fatalf("errors happened when create: %v", err)
    		}
    
    		pet.Toy = Toy{Name: "Update-HasOneAssociation-Polymorphic"}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jul 14 06:55:54 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  6. cmd/iam.go

    	if !sys.Initialized() {
    		return updatedAt, errServerNotInitialized
    	}
    
    	updatedAt, err = sys.store.UpdateServiceAccount(ctx, accessKey, opts)
    	if err != nil {
    		return updatedAt, err
    	}
    
    	sys.notifyForServiceAccount(ctx, accessKey)
    	return updatedAt, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  7. cmd/bucket-encryption-handlers.go

    	replLogIf(ctx, globalSiteReplicationSys.BucketMetaHook(ctx, madmin.SRBucketMeta{
    		Type:      madmin.SRBucketMetaTypeSSEConfig,
    		Bucket:    bucket,
    		SSEConfig: &cfgStr,
    		UpdatedAt: updatedAt,
    	}))
    
    	writeSuccessResponseHeadersOnly(w)
    }
    
    // GetBucketEncryptionHandler - Returns bucket policy configuration
    // https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. cmd/sts-handlers.go

    			STSCredential: &madmin.SRSTSCredential{
    				AccessKey:    cred.AccessKey,
    				SecretKey:    cred.SecretKey,
    				SessionToken: cred.SessionToken,
    				ParentUser:   cred.ParentUser,
    			},
    			UpdatedAt: updatedAt,
    		}))
    	}
    
    	assumeRoleResponse := &AssumeRoleResponse{
    		Result: AssumeRoleResult{
    			Credentials: cred,
    		},
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  9. cmd/admin-bucket-handlers.go

    		return
    	}
    
    	updatedAt, err := globalBucketMetadataSys.Update(ctx, bucket, bucketQuotaConfigFile, data)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	bucketMeta := madmin.SRBucketMeta{
    		Type:      madmin.SRBucketMetaTypeQuotaConfig,
    		Bucket:    bucket,
    		Quota:     data,
    		UpdatedAt: updatedAt,
    	}
    	if quotaConfig.Size == 0 && quotaConfig.Quota == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. model.go

    import "time"
    
    // Model a basic GoLang struct which includes the following fields: ID, CreatedAt, UpdatedAt, DeletedAt
    // It may be embedded into your model or you may build your own model without it
    //
    //	type User struct {
    //	  gorm.Model
    //	}
    type Model struct {
    	ID        uint `gorm:"primarykey"`
    	CreatedAt time.Time
    	UpdatedAt time.Time
    	DeletedAt DeletedAt `gorm:"index"`
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Feb 18 01:06:43 UTC 2023
    - 396 bytes
    - Viewed (0)
Back to top