Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for loadMappedPolicy (0.23 sec)

  1. cmd/iam-object-store.go

    			if retries <= 0 {
    				return err
    			}
    			time.Sleep(500 * time.Millisecond)
    			goto retry
    		}
    
    		m.Store(name, p)
    		return nil
    	}
    }
    
    func (iamOS *IAMObjectStore) loadMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error {
    	var p MappedPolicy
    	err := iamOS.loadIAMConfig(ctx, &p, getMappedPolicyPath(name, userType, isGroup))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  2. cmd/iam-etcd-store.go

    func (ies *IAMEtcdStore) loadMappedPolicyWithRetry(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy], retries int) error {
    	return ies.loadMappedPolicy(ctx, name, userType, isGroup, m)
    }
    
    func (ies *IAMEtcdStore) loadMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error {
    	var p MappedPolicy
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    		if parentIsRegularUser {
    			err = store.loadMappedPolicy(ctx, cred.ParentUser, regUser, false, cache.iamUserPolicyMap)
    		} else {
    			err = store.loadMappedPolicy(ctx, cred.ParentUser, stsUser, false, cache.iamSTSPolicyMap)
    		}
    	case regUser:
    		// For regular users, we load the mapped policy.
    		err = store.loadMappedPolicy(ctx, accessKey, userType, false, cache.iamUserPolicyMap)
    	default:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
Back to top