user

user

Source:

Methods

(static) get() → {Promise.<Object>}

Source:
Quotas and disks information about the current user see: https://computing.qarnot.com/documentation/api/#api-User-Info
Examples

Usage

const user = await Qarnot.user.get();
console.log(user);

Output

{
  email: 'cool.user@qarnot-computing.com',
  maxDisk: 0,
  diskCount: 0,
  maxBucket: 100,
  maxTask: 100,
  taskCount: 6,
  maxPool: 50,
  poolCount: 0,
  maxRunningTask: 10,
  maxRunningPool: 50,
  runningTaskCount: 0,
  runningPoolCount: 0,
  maxInstances: 64,
  quotaBytes: 0,
  quotaBytesBucket: 10737412742,
  usedQuotaBytesBucket: 12288,
  usedQuotaBytes: 0,
  quotaBytesDisk: 0,
  usedQuotaBytesDisk: 0
}
Returns:
Type
Promise.<Object>