@wandelbots/nova-api 25.7.0-dev.35 → 25.7.0-dev.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/v2/api.d.ts +25 -0
- package/v2/api.js.map +1 -1
- package/v2/api.ts +25 -0
package/package.json
CHANGED
package/v2/api.d.ts
CHANGED
|
@@ -196,6 +196,12 @@ export interface App {
|
|
|
196
196
|
* @memberof App
|
|
197
197
|
*/
|
|
198
198
|
'storage'?: ContainerStorage;
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @type {ContainerResources}
|
|
202
|
+
* @memberof App
|
|
203
|
+
*/
|
|
204
|
+
'resources'?: ContainerResources;
|
|
199
205
|
/**
|
|
200
206
|
* Defines the URL path suffix used to check the application\'s health status. The complete health check URL is constructed as `/$cell/$name/$health_path`. When the application is working as expected, the endpoint returns an HTTP 200 status code. If not specified, the system will default to using the application icon path suffix (the value of `app_icon`) as the health check endpoint, resulting in `/$cell/$name/$app_icon`. If the health check fails (no response or non-200 status code), the system will automatically restart the application container to restore service.
|
|
201
207
|
* @type {string}
|
|
@@ -928,6 +934,25 @@ export interface ContainerImageSecretsInner {
|
|
|
928
934
|
*/
|
|
929
935
|
'name': string;
|
|
930
936
|
}
|
|
937
|
+
/**
|
|
938
|
+
* Additional resources that the application requires.
|
|
939
|
+
* @export
|
|
940
|
+
* @interface ContainerResources
|
|
941
|
+
*/
|
|
942
|
+
export interface ContainerResources {
|
|
943
|
+
/**
|
|
944
|
+
* Number of GPUs the application requires.
|
|
945
|
+
* @type {number}
|
|
946
|
+
* @memberof ContainerResources
|
|
947
|
+
*/
|
|
948
|
+
'intel_gpu'?: number;
|
|
949
|
+
/**
|
|
950
|
+
* The maximum memory allocated to this application.
|
|
951
|
+
* @type {string}
|
|
952
|
+
* @memberof ContainerResources
|
|
953
|
+
*/
|
|
954
|
+
'memory_limit'?: string;
|
|
955
|
+
}
|
|
931
956
|
/**
|
|
932
957
|
* The path and capacity of a volume that retains data across application restarts. The maximal requestable capacity is 300Mi. If you need more capacity consider using [storeObject](storeObject).
|
|
933
958
|
* @export
|