@wandelbots/nova-api 25.7.0-dev.34 → 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/v2/api.ts
CHANGED
|
@@ -210,6 +210,12 @@ export interface App {
|
|
|
210
210
|
* @memberof App
|
|
211
211
|
*/
|
|
212
212
|
'storage'?: ContainerStorage;
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* @type {ContainerResources}
|
|
216
|
+
* @memberof App
|
|
217
|
+
*/
|
|
218
|
+
'resources'?: ContainerResources;
|
|
213
219
|
/**
|
|
214
220
|
* 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.
|
|
215
221
|
* @type {string}
|
|
@@ -959,6 +965,25 @@ export interface ContainerImageSecretsInner {
|
|
|
959
965
|
*/
|
|
960
966
|
'name': string;
|
|
961
967
|
}
|
|
968
|
+
/**
|
|
969
|
+
* Additional resources that the application requires.
|
|
970
|
+
* @export
|
|
971
|
+
* @interface ContainerResources
|
|
972
|
+
*/
|
|
973
|
+
export interface ContainerResources {
|
|
974
|
+
/**
|
|
975
|
+
* Number of GPUs the application requires.
|
|
976
|
+
* @type {number}
|
|
977
|
+
* @memberof ContainerResources
|
|
978
|
+
*/
|
|
979
|
+
'intel_gpu'?: number;
|
|
980
|
+
/**
|
|
981
|
+
* The maximum memory allocated to this application.
|
|
982
|
+
* @type {string}
|
|
983
|
+
* @memberof ContainerResources
|
|
984
|
+
*/
|
|
985
|
+
'memory_limit'?: string;
|
|
986
|
+
}
|
|
962
987
|
/**
|
|
963
988
|
* 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).
|
|
964
989
|
* @export
|