Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for loadUsers (0.06 sec)

  1. cmd/iam-etcd-store.go

    			return errNoSuchUser
    		}
    		return err
    	}
    	return ies.addUser(ctx, user, userType, u, m)
    }
    
    func (ies *IAMEtcdStore) loadUsers(ctx context.Context, userType IAMUserType, m map[string]UserIdentity) error {
    	var basePrefix string
    	switch userType {
    	case svcUser:
    		basePrefix = iamConfigServiceAccountsPrefix
    	case stsUser:
    		basePrefix = iamConfigSTSPrefix
    	default:
    		basePrefix = iamConfigUsersPrefix
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    	loadPolicyDocs(ctx context.Context, m map[string]PolicyDoc) error
    	loadUser(ctx context.Context, user string, userType IAMUserType, m map[string]UserIdentity) error
    	loadSecretKey(ctx context.Context, user string, userType IAMUserType) (string, error)
    	loadUsers(ctx context.Context, userType IAMUserType, m map[string]UserIdentity) error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  3. cmd/iam-object-store.go

    		userName := path.Dir(item)
    		// loadUser() will delete expired user during the load.
    		iamLogIf(ctx, iamOS.loadUser(ctx, userName, stsUser, stsAccountsFromStore))
    		// No need to return errors for failed expiration of STS users
    	}
    
    	// Loading the STS policy mappings from disk ensures that stale entries
    	// (removed during loadUser() in the loop above) are removed from memory.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    			uerr := globalIAMSys.store.loadUsers(ctx, regUser, userAccounts)
    			if uerr != nil {
    				return info, errSRBackendIssue(uerr)
    			}
    
    			serr := globalIAMSys.store.loadUsers(ctx, svcUser, userAccounts)
    			if serr != nil {
    				return info, errSRBackendIssue(serr)
    			}
    
    			terr := globalIAMSys.store.loadUsers(ctx, stsUser, userAccounts)
    			if terr != nil {
    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. cmd/admin-handlers-users.go

    				writeErrorResponse(ctx, w, exportError(ctx, err, iamFile, ""), r.URL)
    				return
    			}
    		case allUsersFile:
    			userIdentities := make(map[string]UserIdentity)
    			err := globalIAMSys.store.loadUsers(ctx, regUser, userIdentities)
    			if err != nil {
    				writeErrorResponse(ctx, w, exportError(ctx, err, iamFile, ""), r.URL)
    				return
    			}
    			userAccounts := make(map[string]madmin.AddOrUpdateUserReq)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  6. cmd/metrics-v3-types.go

    // JoinLoaders - joins multiple loaders into a single loader. The returned
    // loader will call each of the given loaders in order. If any of the loaders
    // return an error, the returned loader will return that error.
    func JoinLoaders(loaders ...MetricsLoaderFn) MetricsLoaderFn {
    	return func(ctx context.Context, m MetricValues, c *metricsCache) error {
    		for _, loader := range loaders {
    			if err := loader(ctx, m, c); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/FinalizableReferenceQueue.java

          }
        }
      }
    
      /**
       * Iterates through the given loaders until it finds one that can load Finalizer.
       *
       * @return Finalizer.class
       */
      private static Class<?> loadFinalizer(FinalizerLoader... loaders) {
        for (FinalizerLoader loader : loaders) {
          Class<?> finalizer = loader.loadFinalizer();
          if (finalizer != null) {
            return finalizer;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LoadingCache.java

       * new value.
       *
       * <p><b>Warning:</b> this method silently converts checked exceptions to unchecked exceptions,
       * and should not be used with cache loaders which throw checked exceptions. In such cases use
       * {@link #get} instead.
       *
       * @throws UncheckedExecutionException if an exception was thrown while loading the value. (As
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Resources.java

       * {@linkplain Thread#getContextClassLoader() context class loader}. In simple environments, the
       * context class loader will find resources from the class path. In environments where different
       * threads can have different class loaders, for example app servers, the context class loader
       * will typically have been set to an appropriate loader for the current thread.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/internal/Finalizer.java

     * com.google.common.base.FinalizableReference}.
     *
     * <p>While this class is public, we consider it to be *internal* and not part of our published API.
     * It is public so we can access it reflectively across class loaders in secure environments.
     *
     * <p>This class can't depend on other Guava code. If we were to load this class in the same class
     * loader as the rest of Guava, this thread would keep an indirect strong reference to the class
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 23 12:54:09 UTC 2023
    - 9.4K bytes
    - Viewed (0)
Back to top