- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for usersMap (0.12 sec)
-
cmd/admin-handlers-users_test.go
if err != nil { c.Fatalf("Unable to set user: %v", err) } // 2. Check new user appears in listing usersMap, err := s.adm.ListUsers(ctx) if err != nil { c.Fatalf("error listing: %v", err) } v, ok := usersMap[accessKey] if !ok { c.Fatalf("user not listed: %s", accessKey) } c.Assert(v.Status, madmin.AccountEnabled)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 47.3K bytes - Viewed (0) -
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)