Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for loadMappedPolicies (0.1 sec)

  1. cmd/iam-etcd-store.go

    			return errNoSuchPolicy
    		}
    		return err
    	}
    	name := extractPathPrefixAndSuffix(string(kv.Key), basePrefix, ".json")
    	m.Store(name, p)
    	return nil
    }
    
    func (ies *IAMEtcdStore) loadMappedPolicies(ctx context.Context, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error {
    	cctx, cancel := context.WithTimeout(ctx, defaultContextTimeout)
    	defer cancel()
    	var basePrefix string
    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-object-store.go

    	p, err := iamOS.loadMappedPolicyInternal(ctx, name, userType, isGroup)
    	if err != nil {
    		return err
    	}
    	m.Store(name, p)
    	return nil
    }
    
    func (iamOS *IAMObjectStore) loadMappedPolicies(ctx context.Context, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error {
    	var basePath string
    	if isGroup {
    		basePath = iamConfigPolicyDBGroupsPrefix
    	} else {
    		switch userType {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top