@daocloud-proto/zestu 0.11.0-dev-44191f81 → 0.11.0-dev-0c81322a

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/zestu",
3
- "version":"v0.11.0-dev-44191f81",
3
+ "version":"v0.11.0-dev-0c81322a",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -57,6 +57,11 @@ export enum InstanceStatus {
57
57
  CREATING = "CREATING",
58
58
  }
59
59
 
60
+ export enum StartMode {
61
+ GPU = "GPU",
62
+ CPU = "CPU",
63
+ }
64
+
60
65
  export enum NetworkType {
61
66
  NETWORK_TYPE_UNSPECIFIED = "NETWORK_TYPE_UNSPECIFIED",
62
67
  SSH = "SSH",
@@ -149,6 +154,7 @@ export type ContainerInstance = {
149
154
  serviceEnable?: ServiceEnable
150
155
  enableDockerInDocker?: boolean
151
156
  enablePersistentRootfs?: boolean
157
+ startMode?: StartMode
152
158
  }
153
159
 
154
160
  export type Schedule = {
@@ -261,6 +267,7 @@ export type StopContainerInstanceResponse = {
261
267
  export type StartContainerInstanceRequest = {
262
268
  instanceId?: string
263
269
  regionId?: string
270
+ startMode?: StartMode
264
271
  }
265
272
 
266
273
  export type StartContainerInstanceResponse = {