@cirrobio/api-client 0.12.19 → 0.12.20
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/README.md
CHANGED
|
@@ -45,6 +45,12 @@ export interface WorkspaceComputeConfig {
|
|
|
45
45
|
* @memberof WorkspaceComputeConfig
|
|
46
46
|
*/
|
|
47
47
|
gpu?: number;
|
|
48
|
+
/**
|
|
49
|
+
* NVIDIA GPU model. When null, AWS selects from any available GPU instance family.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof WorkspaceComputeConfig
|
|
52
|
+
*/
|
|
53
|
+
gpuModel?: string | null;
|
|
48
54
|
/**
|
|
49
55
|
* Map of environment variables injected into the container at runtime. Keys must be non-blank.
|
|
50
56
|
* @type {{ [key: string]: string; }}
|
|
@@ -33,6 +33,7 @@ export function WorkspaceComputeConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'memoryGiB': !exists(json, 'memoryGiB') ? undefined : json['memoryGiB'],
|
|
34
34
|
'volumeSizeGiB': !exists(json, 'volumeSizeGiB') ? undefined : json['volumeSizeGiB'],
|
|
35
35
|
'gpu': !exists(json, 'gpu') ? undefined : json['gpu'],
|
|
36
|
+
'gpuModel': !exists(json, 'gpuModel') ? undefined : json['gpuModel'],
|
|
36
37
|
'environmentVariables': !exists(json, 'environmentVariables') ? undefined : json['environmentVariables'],
|
|
37
38
|
'localPort': !exists(json, 'localPort') ? undefined : json['localPort'],
|
|
38
39
|
};
|
|
@@ -50,6 +51,7 @@ export function WorkspaceComputeConfigToJSON(value) {
|
|
|
50
51
|
'memoryGiB': value.memoryGiB,
|
|
51
52
|
'volumeSizeGiB': value.volumeSizeGiB,
|
|
52
53
|
'gpu': value.gpu,
|
|
54
|
+
'gpuModel': value.gpuModel,
|
|
53
55
|
'environmentVariables': value.environmentVariables,
|
|
54
56
|
'localPort': value.localPort,
|
|
55
57
|
};
|
|
@@ -45,6 +45,12 @@ export interface WorkspaceComputeConfig {
|
|
|
45
45
|
* @memberof WorkspaceComputeConfig
|
|
46
46
|
*/
|
|
47
47
|
gpu?: number;
|
|
48
|
+
/**
|
|
49
|
+
* NVIDIA GPU model. When null, AWS selects from any available GPU instance family.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof WorkspaceComputeConfig
|
|
52
|
+
*/
|
|
53
|
+
gpuModel?: string | null;
|
|
48
54
|
/**
|
|
49
55
|
* Map of environment variables injected into the container at runtime. Keys must be non-blank.
|
|
50
56
|
* @type {{ [key: string]: string; }}
|
|
@@ -38,6 +38,7 @@ function WorkspaceComputeConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'memoryGiB': !(0, runtime_1.exists)(json, 'memoryGiB') ? undefined : json['memoryGiB'],
|
|
39
39
|
'volumeSizeGiB': !(0, runtime_1.exists)(json, 'volumeSizeGiB') ? undefined : json['volumeSizeGiB'],
|
|
40
40
|
'gpu': !(0, runtime_1.exists)(json, 'gpu') ? undefined : json['gpu'],
|
|
41
|
+
'gpuModel': !(0, runtime_1.exists)(json, 'gpuModel') ? undefined : json['gpuModel'],
|
|
41
42
|
'environmentVariables': !(0, runtime_1.exists)(json, 'environmentVariables') ? undefined : json['environmentVariables'],
|
|
42
43
|
'localPort': !(0, runtime_1.exists)(json, 'localPort') ? undefined : json['localPort'],
|
|
43
44
|
};
|
|
@@ -56,6 +57,7 @@ function WorkspaceComputeConfigToJSON(value) {
|
|
|
56
57
|
'memoryGiB': value.memoryGiB,
|
|
57
58
|
'volumeSizeGiB': value.volumeSizeGiB,
|
|
58
59
|
'gpu': value.gpu,
|
|
60
|
+
'gpuModel': value.gpuModel,
|
|
59
61
|
'environmentVariables': value.environmentVariables,
|
|
60
62
|
'localPort': value.localPort,
|
|
61
63
|
};
|