Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for usersMap (0.09 sec)

  1. cmd/iam-store.go

    }
    
    // Assumes store is locked by caller. If userMap is empty, returns all user mappings.
    func (store *IAMStoreSys) listUserPolicyMappings(cache *iamCache, userMap map[string]set.StringSet,
    	userPredicate func(string) bool, decodeFunc func(string) string,
    ) []madmin.UserPolicyEntities {
    	stsMap := xsync.NewMapOf[string, MappedPolicy]()
    	resMap := make(map[string]madmin.UserPolicyEntities, len(userMap))
    
    	for user, groupSet := range userMap {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    	err = mockM.AutoMigrate(&NotTriggerUpdate{})
    	AssertEqual(t, err, nil)
    }
    
    func TestMigrateSameEmbeddedFieldName(t *testing.T) {
    	type UserStat struct {
    		GroundDestroyCount int
    	}
    
    	type GameUser struct {
    		gorm.Model
    		StatAb UserStat `gorm:"embedded;embeddedPrefix:stat_ab_"`
    	}
    
    	type UserStat1 struct {
    		GroundDestroyCount string
    	}
    
    	type GroundRate struct {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
Back to top