Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newIAMObjectStore (0.17 sec)

  1. cmd/iam-object-store.go

    type IAMObjectStore struct {
    	// Protect access to storage within the current server.
    	sync.RWMutex
    
    	*iamCache
    
    	usersSysType UsersSysType
    
    	objAPI ObjectLayer
    }
    
    func newIAMObjectStore(objAPI ObjectLayer, usersSysType UsersSysType) *IAMObjectStore {
    	return &IAMObjectStore{
    		iamCache:     newIamCache(),
    		objAPI:       objAPI,
    		usersSysType: usersSysType,
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. cmd/iam.go

    func (sys *IAMSys) initStore(objAPI ObjectLayer, etcdClient *etcd.Client) {
    	if sys.LDAPConfig.Enabled() {
    		sys.SetUsersSysType(LDAPUsersSysType)
    	}
    
    	if etcdClient == nil {
    		sys.store = &IAMStoreSys{newIAMObjectStore(objAPI, sys.usersSysType), &singleflight.Group{}}
    	} else {
    		sys.store = &IAMStoreSys{newIAMEtcdStore(etcdClient, sys.usersSysType), &singleflight.Group{}}
    	}
    }
    
    // Initialized checks if IAM is initialized
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top