Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newIAMEtcdStore (0.22 sec)

  1. cmd/iam-etcd-store.go

    }
    
    // IAMEtcdStore implements IAMStorageAPI
    type IAMEtcdStore struct {
    	sync.RWMutex
    
    	*iamCache
    
    	usersSysType UsersSysType
    
    	client *etcd.Client
    }
    
    func newIAMEtcdStore(client *etcd.Client, usersSysType UsersSysType) *IAMEtcdStore {
    	return &IAMEtcdStore{
    		iamCache:     newIamCache(),
    		client:       client,
    		usersSysType: usersSysType,
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. cmd/iam.go

    		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
    func (sys *IAMSys) Initialized() bool {
    	if sys == nil {
    		return false
    	}
    	sys.Lock()
    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