Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ListGroups (0.09 sec)

  1. cmd/iam-store.go

    	return groupSet.ToSlice(), nil
    }
    
    // ListGroups - lists groups. Since this is not going to be a frequent
    // operation, we fetch this info from storage, and refresh the cache as well.
    func (store *IAMStoreSys) ListGroups(ctx context.Context) (res []string, err error) {
    	cache := store.lock()
    	defer store.unlock()
    
    	return store.updateGroups(ctx, cache)
    }
    
    // listGroups - lists groups - fetch groups from cache
    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. cmd/iam.go

    	}
    
    	return sys.store.GetGroupDescription(group)
    }
    
    // ListGroups - lists groups.
    func (sys *IAMSys) ListGroups(ctx context.Context) (r []string, err error) {
    	if !sys.Initialized() {
    		return r, errServerNotInitialized
    	}
    
    	select {
    	case <-sys.configLoaded:
    		return sys.store.ListGroups(ctx)
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    	}
    
    	writeSuccessResponseJSON(w, body)
    }
    
    // ListGroups - GET /minio/admin/v3/groups
    func (a adminAPIHandlers) ListGroups(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.ListGroupsAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	groups, err := globalIAMSys.ListGroups(ctx)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
Back to top