Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for listIAMConfigItems (0.13 sec)

  1. cmd/iam-object-store.go

    	m[policy] = p
    	return nil
    }
    
    func (iamOS *IAMObjectStore) loadPolicyDocs(ctx context.Context, m map[string]PolicyDoc) error {
    	ctx, cancel := context.WithCancel(ctx)
    	defer cancel()
    	for item := range listIAMConfigItems(ctx, iamOS.objAPI, iamConfigPoliciesPrefix) {
    		if item.Err != nil {
    			return item.Err
    		}
    
    		policyName := path.Dir(item.Item)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    			} else {
    				s.Add(decodeUser)
    				policyToUsersMap[policy] = s
    			}
    		}
    		return true
    	})
    
    	if iamOS, ok := store.IAMStorageAPI.(*IAMObjectStore); ok {
    		for item := range listIAMConfigItems(context.Background(), iamOS.objAPI, iamConfigPrefix+SlashSeparator+policyDBSTSUsersListKey) {
    			user := strings.TrimSuffix(item.Item, ".json")
    			if userPredicate != nil && !userPredicate(user) {
    				continue
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top