diff --git a/client/src/api/api.ts b/client/src/api/api.ts index bb78e15..373e1bf 100644 --- a/client/src/api/api.ts +++ b/client/src/api/api.ts @@ -222,6 +222,37 @@ export enum RoomMountTypeEnum { public = 'public' } +/** + * + * @export + * @interface RoomResources + */ +export interface RoomResources { + /** + * relative weight vs. other containers + * @type {number} + * @memberof RoomResources + */ + 'cpu_shares'?: number; + /** + * in units of 10^-9 CPUs + * @type {number} + * @memberof RoomResources + */ + 'nano_cpus'?: number; + /** + * in bytes + * @type {number} + * @memberof RoomResources + */ + 'shm_size'?: number; + /** + * in bytes + * @type {number} + * @memberof RoomResources + */ + 'memory'?: number; +} /** * * @export @@ -330,6 +361,12 @@ export interface RoomSettings { * @memberof RoomSettings */ 'mounts'?: Array; + /** + * + * @type {RoomResources} + * @memberof RoomSettings + */ + 'resources'?: RoomResources; /** * * @type {BrowserPolicy} diff --git a/client/src/components/RoomInfo.vue b/client/src/components/RoomInfo.vue index 69c5cb7..276c712 100644 --- a/client/src/components/RoomInfo.vue +++ b/client/src/components/RoomInfo.vue @@ -156,6 +156,18 @@ +
Resources
+ + + +
Browser policy