@distilled.cloud/fly-io 0.8.0 → 0.10.0
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/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +2 -2
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +2 -2
- package/lib/operations/AppCertificatesAcmeCreate.d.ts +3 -0
- package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +1 -1
- package/lib/operations/AppCertificatesAcmeCreate.js +3 -0
- package/lib/operations/AppCertificatesAcmeCreate.js.map +1 -1
- package/lib/operations/AppCertificatesAcmeDelete.d.ts +7 -1
- package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesAcmeDelete.js +7 -1
- package/lib/operations/AppCertificatesAcmeDelete.js.map +1 -1
- package/lib/operations/AppCertificatesCheck.d.ts +7 -1
- package/lib/operations/AppCertificatesCheck.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCheck.js +7 -1
- package/lib/operations/AppCertificatesCheck.js.map +1 -1
- package/lib/operations/AppCertificatesCustomCreate.d.ts +3 -0
- package/lib/operations/AppCertificatesCustomCreate.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCustomCreate.js +3 -0
- package/lib/operations/AppCertificatesCustomCreate.js.map +1 -1
- package/lib/operations/AppCertificatesCustomDelete.d.ts +7 -1
- package/lib/operations/AppCertificatesCustomDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCustomDelete.js +7 -1
- package/lib/operations/AppCertificatesCustomDelete.js.map +1 -1
- package/lib/operations/AppCertificatesDelete.d.ts +7 -1
- package/lib/operations/AppCertificatesDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesDelete.js +7 -1
- package/lib/operations/AppCertificatesDelete.js.map +1 -1
- package/lib/operations/AppCertificatesList.d.ts +2 -0
- package/lib/operations/AppCertificatesList.d.ts.map +1 -1
- package/lib/operations/AppCertificatesList.js +2 -0
- package/lib/operations/AppCertificatesList.js.map +1 -1
- package/lib/operations/AppCertificatesShow.d.ts +7 -1
- package/lib/operations/AppCertificatesShow.d.ts.map +1 -1
- package/lib/operations/AppCertificatesShow.js +7 -1
- package/lib/operations/AppCertificatesShow.js.map +1 -1
- package/lib/operations/AppIPAssignmentsCreate.d.ts +3 -0
- package/lib/operations/AppIPAssignmentsCreate.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsCreate.js +3 -0
- package/lib/operations/AppIPAssignmentsCreate.js.map +1 -1
- package/lib/operations/AppIPAssignmentsDelete.d.ts +7 -1
- package/lib/operations/AppIPAssignmentsDelete.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsDelete.js +7 -1
- package/lib/operations/AppIPAssignmentsDelete.js.map +1 -1
- package/lib/operations/AppIPAssignmentsList.d.ts +5 -1
- package/lib/operations/AppIPAssignmentsList.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsList.js +5 -1
- package/lib/operations/AppIPAssignmentsList.js.map +1 -1
- package/lib/operations/MachinesCreate.d.ts +42 -81
- package/lib/operations/MachinesCreate.d.ts.map +1 -1
- package/lib/operations/MachinesCreate.js +90 -81
- package/lib/operations/MachinesCreate.js.map +1 -1
- package/lib/operations/MachinesList.d.ts +28 -54
- package/lib/operations/MachinesList.d.ts.map +1 -1
- package/lib/operations/MachinesList.js +60 -54
- package/lib/operations/MachinesList.js.map +1 -1
- package/lib/operations/MachinesListVersions.d.ts +14 -27
- package/lib/operations/MachinesListVersions.d.ts.map +1 -1
- package/lib/operations/MachinesListVersions.js +30 -27
- package/lib/operations/MachinesListVersions.js.map +1 -1
- package/lib/operations/MachinesOrgList.d.ts +19 -2
- package/lib/operations/MachinesOrgList.d.ts.map +1 -1
- package/lib/operations/MachinesOrgList.js +19 -2
- package/lib/operations/MachinesOrgList.js.map +1 -1
- package/lib/operations/MachinesRestart.d.ts +1 -1
- package/lib/operations/MachinesRestart.d.ts.map +1 -1
- package/lib/operations/MachinesRestart.js +9 -1
- package/lib/operations/MachinesRestart.js.map +1 -1
- package/lib/operations/MachinesShow.d.ts +28 -54
- package/lib/operations/MachinesShow.d.ts.map +1 -1
- package/lib/operations/MachinesShow.js +60 -54
- package/lib/operations/MachinesShow.js.map +1 -1
- package/lib/operations/MachinesSignal.d.ts +1 -1
- package/lib/operations/MachinesSignal.d.ts.map +1 -1
- package/lib/operations/MachinesSignal.js +1 -0
- package/lib/operations/MachinesSignal.js.map +1 -1
- package/lib/operations/MachinesStop.d.ts +2 -4
- package/lib/operations/MachinesStop.d.ts.map +1 -1
- package/lib/operations/MachinesStop.js +10 -4
- package/lib/operations/MachinesStop.js.map +1 -1
- package/lib/operations/MachinesUpdate.d.ts +42 -81
- package/lib/operations/MachinesUpdate.d.ts.map +1 -1
- package/lib/operations/MachinesUpdate.js +90 -81
- package/lib/operations/MachinesUpdate.js.map +1 -1
- package/lib/operations/MachinesUpdateMetadata.d.ts +6 -4
- package/lib/operations/MachinesUpdateMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesUpdateMetadata.js +8 -6
- package/lib/operations/MachinesUpdateMetadata.js.map +1 -1
- package/lib/operations/MachinesWait.d.ts +9 -3
- package/lib/operations/MachinesWait.d.ts.map +1 -1
- package/lib/operations/MachinesWait.js +9 -2
- package/lib/operations/MachinesWait.js.map +1 -1
- package/lib/operations/PlatformPlacementsPost.d.ts +1 -0
- package/lib/operations/PlatformPlacementsPost.d.ts.map +1 -1
- package/lib/operations/PlatformPlacementsPost.js +1 -0
- package/lib/operations/PlatformPlacementsPost.js.map +1 -1
- package/lib/operations/PlatformRegionsGet.d.ts +2 -17
- package/lib/operations/PlatformRegionsGet.d.ts.map +1 -1
- package/lib/operations/PlatformRegionsGet.js +2 -17
- package/lib/operations/PlatformRegionsGet.js.map +1 -1
- package/lib/operations/VolumeDelete.d.ts +1 -0
- package/lib/operations/VolumeDelete.d.ts.map +1 -1
- package/lib/operations/VolumeDelete.js +1 -0
- package/lib/operations/VolumeDelete.js.map +1 -1
- package/lib/operations/VolumesCreate.d.ts +2 -0
- package/lib/operations/VolumesCreate.d.ts.map +1 -1
- package/lib/operations/VolumesCreate.js +2 -0
- package/lib/operations/VolumesCreate.js.map +1 -1
- package/lib/operations/VolumesExtend.d.ts +1 -0
- package/lib/operations/VolumesExtend.d.ts.map +1 -1
- package/lib/operations/VolumesExtend.js +1 -0
- package/lib/operations/VolumesExtend.js.map +1 -1
- package/lib/operations/VolumesGetById.d.ts +1 -0
- package/lib/operations/VolumesGetById.d.ts.map +1 -1
- package/lib/operations/VolumesGetById.js +1 -0
- package/lib/operations/VolumesGetById.js.map +1 -1
- package/lib/operations/VolumesList.d.ts +1 -0
- package/lib/operations/VolumesList.d.ts.map +1 -1
- package/lib/operations/VolumesList.js +1 -0
- package/lib/operations/VolumesList.js.map +1 -1
- package/lib/operations/VolumesOrgList.d.ts +59 -0
- package/lib/operations/VolumesOrgList.d.ts.map +1 -0
- package/lib/operations/VolumesOrgList.js +65 -0
- package/lib/operations/VolumesOrgList.js.map +1 -0
- package/lib/operations/VolumesUpdate.d.ts +1 -0
- package/lib/operations/VolumesUpdate.d.ts.map +1 -1
- package/lib/operations/VolumesUpdate.js +1 -0
- package/lib/operations/VolumesUpdate.js.map +1 -1
- package/lib/operations/index.d.ts +3 -1
- package/lib/operations/index.d.ts.map +1 -1
- package/lib/operations/index.js +3 -1
- package/lib/operations/index.js.map +1 -1
- package/lib/retry.d.ts +2 -2
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +2 -2
- package/lib/retry.js.map +1 -1
- package/package.json +4 -4
- package/src/credentials.ts +2 -2
- package/src/operations/AppCertificatesAcmeCreate.ts +3 -0
- package/src/operations/AppCertificatesAcmeDelete.ts +7 -1
- package/src/operations/AppCertificatesCheck.ts +7 -1
- package/src/operations/AppCertificatesCustomCreate.ts +3 -0
- package/src/operations/AppCertificatesCustomDelete.ts +7 -1
- package/src/operations/AppCertificatesDelete.ts +7 -1
- package/src/operations/AppCertificatesList.ts +2 -0
- package/src/operations/AppCertificatesShow.ts +7 -1
- package/src/operations/AppIPAssignmentsCreate.ts +3 -0
- package/src/operations/AppIPAssignmentsDelete.ts +7 -1
- package/src/operations/AppIPAssignmentsList.ts +5 -3
- package/src/operations/MachinesCreate.ts +102 -123
- package/src/operations/MachinesList.ts +68 -82
- package/src/operations/MachinesListVersions.ts +34 -41
- package/src/operations/MachinesOrgList.ts +27 -2
- package/src/operations/MachinesRestart.ts +11 -1
- package/src/operations/MachinesShow.ts +68 -82
- package/src/operations/MachinesSignal.ts +1 -0
- package/src/operations/MachinesStop.ts +11 -5
- package/src/operations/MachinesUpdate.ts +102 -123
- package/src/operations/MachinesUpdateMetadata.ts +8 -6
- package/src/operations/MachinesWait.ts +9 -2
- package/src/operations/PlatformPlacementsPost.ts +1 -0
- package/src/operations/PlatformRegionsGet.ts +4 -17
- package/src/operations/VolumeDelete.ts +1 -0
- package/src/operations/VolumesCreate.ts +2 -0
- package/src/operations/VolumesExtend.ts +1 -0
- package/src/operations/VolumesGetById.ts +1 -0
- package/src/operations/VolumesList.ts +1 -0
- package/src/operations/VolumesOrgList.ts +75 -0
- package/src/operations/VolumesUpdate.ts +1 -0
- package/src/operations/index.ts +3 -1
- package/src/retry.ts +2 -2
|
@@ -26,15 +26,16 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
26
26
|
config: Schema.optional(
|
|
27
27
|
Schema.Struct({
|
|
28
28
|
auto_destroy: Schema.optional(Schema.Boolean),
|
|
29
|
+
cache_drive: Schema.optional(
|
|
30
|
+
Schema.Struct({
|
|
31
|
+
size_mb: Schema.optional(Schema.Number),
|
|
32
|
+
}),
|
|
33
|
+
),
|
|
29
34
|
checks: Schema.optional(
|
|
30
35
|
Schema.Record(
|
|
31
36
|
Schema.String,
|
|
32
37
|
Schema.Struct({
|
|
33
|
-
grace_period: Schema.optional(
|
|
34
|
-
Schema.Struct({
|
|
35
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
36
|
-
}),
|
|
37
|
-
),
|
|
38
|
+
grace_period: Schema.optional(Schema.String),
|
|
38
39
|
headers: Schema.optional(
|
|
39
40
|
Schema.Array(
|
|
40
41
|
Schema.Struct({
|
|
@@ -43,11 +44,7 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
43
44
|
}),
|
|
44
45
|
),
|
|
45
46
|
),
|
|
46
|
-
interval: Schema.optional(
|
|
47
|
-
Schema.Struct({
|
|
48
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
49
|
-
}),
|
|
50
|
-
),
|
|
47
|
+
interval: Schema.optional(Schema.String),
|
|
51
48
|
kind: Schema.optional(
|
|
52
49
|
Schema.Literals(["informational", "readiness"]),
|
|
53
50
|
),
|
|
@@ -55,11 +52,7 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
55
52
|
path: Schema.optional(Schema.String),
|
|
56
53
|
port: Schema.optional(Schema.Number),
|
|
57
54
|
protocol: Schema.optional(Schema.String),
|
|
58
|
-
timeout: Schema.optional(
|
|
59
|
-
Schema.Struct({
|
|
60
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
61
|
-
}),
|
|
62
|
-
),
|
|
55
|
+
timeout: Schema.optional(Schema.String),
|
|
63
56
|
tls_server_name: Schema.optional(Schema.String),
|
|
64
57
|
tls_skip_verify: Schema.optional(Schema.Boolean),
|
|
65
58
|
type: Schema.optional(Schema.String),
|
|
@@ -174,12 +167,18 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
174
167
|
),
|
|
175
168
|
stop: Schema.optional(
|
|
176
169
|
Schema.Struct({
|
|
177
|
-
signal: Schema.optional(
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
"
|
|
181
|
-
|
|
170
|
+
signal: Schema.optional(
|
|
171
|
+
Schema.Literals([
|
|
172
|
+
"SIGHUP",
|
|
173
|
+
"SIGINT",
|
|
174
|
+
"SIGQUIT",
|
|
175
|
+
"SIGKILL",
|
|
176
|
+
"SIGUSR1",
|
|
177
|
+
"SIGUSR2",
|
|
178
|
+
"SIGTERM",
|
|
179
|
+
]),
|
|
182
180
|
),
|
|
181
|
+
timeout: Schema.optional(Schema.String),
|
|
183
182
|
}),
|
|
184
183
|
),
|
|
185
184
|
user: Schema.optional(Schema.String),
|
|
@@ -232,6 +231,7 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
232
231
|
gpus: Schema.optional(Schema.Number),
|
|
233
232
|
host_dedication_id: Schema.optional(Schema.String),
|
|
234
233
|
kernel_args: Schema.optional(Schema.Array(Schema.String)),
|
|
234
|
+
max_memory_mb: Schema.optional(Schema.Number),
|
|
235
235
|
memory_mb: Schema.optional(Schema.Number),
|
|
236
236
|
persist_rootfs: Schema.optional(
|
|
237
237
|
Schema.Literals(["never", "always", "restart"]),
|
|
@@ -319,7 +319,6 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
319
319
|
),
|
|
320
320
|
rootfs: Schema.optional(
|
|
321
321
|
Schema.Struct({
|
|
322
|
-
fs_size_gb: Schema.optional(Schema.Number),
|
|
323
322
|
persist: Schema.optional(
|
|
324
323
|
Schema.Literals(["never", "always", "restart"]),
|
|
325
324
|
),
|
|
@@ -337,11 +336,7 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
337
336
|
checks: Schema.optional(
|
|
338
337
|
Schema.Array(
|
|
339
338
|
Schema.Struct({
|
|
340
|
-
grace_period: Schema.optional(
|
|
341
|
-
Schema.Struct({
|
|
342
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
343
|
-
}),
|
|
344
|
-
),
|
|
339
|
+
grace_period: Schema.optional(Schema.String),
|
|
345
340
|
headers: Schema.optional(
|
|
346
341
|
Schema.Array(
|
|
347
342
|
Schema.Struct({
|
|
@@ -350,20 +345,12 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
350
345
|
}),
|
|
351
346
|
),
|
|
352
347
|
),
|
|
353
|
-
interval: Schema.optional(
|
|
354
|
-
Schema.Struct({
|
|
355
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
356
|
-
}),
|
|
357
|
-
),
|
|
348
|
+
interval: Schema.optional(Schema.String),
|
|
358
349
|
method: Schema.optional(Schema.String),
|
|
359
350
|
path: Schema.optional(Schema.String),
|
|
360
351
|
port: Schema.optional(Schema.Number),
|
|
361
352
|
protocol: Schema.optional(Schema.String),
|
|
362
|
-
timeout: Schema.optional(
|
|
363
|
-
Schema.Struct({
|
|
364
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
365
|
-
}),
|
|
366
|
-
),
|
|
353
|
+
timeout: Schema.optional(Schema.String),
|
|
367
354
|
tls_server_name: Schema.optional(Schema.String),
|
|
368
355
|
tls_skip_verify: Schema.optional(Schema.Boolean),
|
|
369
356
|
type: Schema.optional(Schema.String),
|
|
@@ -451,12 +438,18 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
451
438
|
),
|
|
452
439
|
stop_config: Schema.optional(
|
|
453
440
|
Schema.Struct({
|
|
454
|
-
signal: Schema.optional(
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
"
|
|
458
|
-
|
|
441
|
+
signal: Schema.optional(
|
|
442
|
+
Schema.Literals([
|
|
443
|
+
"SIGHUP",
|
|
444
|
+
"SIGINT",
|
|
445
|
+
"SIGQUIT",
|
|
446
|
+
"SIGKILL",
|
|
447
|
+
"SIGUSR1",
|
|
448
|
+
"SIGUSR2",
|
|
449
|
+
"SIGTERM",
|
|
450
|
+
]),
|
|
459
451
|
),
|
|
452
|
+
timeout: Schema.optional(Schema.String),
|
|
460
453
|
}),
|
|
461
454
|
),
|
|
462
455
|
}),
|
|
@@ -490,15 +483,16 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
490
483
|
incomplete_config: Schema.optional(
|
|
491
484
|
Schema.Struct({
|
|
492
485
|
auto_destroy: Schema.optional(Schema.Boolean),
|
|
486
|
+
cache_drive: Schema.optional(
|
|
487
|
+
Schema.Struct({
|
|
488
|
+
size_mb: Schema.optional(Schema.Number),
|
|
489
|
+
}),
|
|
490
|
+
),
|
|
493
491
|
checks: Schema.optional(
|
|
494
492
|
Schema.Record(
|
|
495
493
|
Schema.String,
|
|
496
494
|
Schema.Struct({
|
|
497
|
-
grace_period: Schema.optional(
|
|
498
|
-
Schema.Struct({
|
|
499
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
500
|
-
}),
|
|
501
|
-
),
|
|
495
|
+
grace_period: Schema.optional(Schema.String),
|
|
502
496
|
headers: Schema.optional(
|
|
503
497
|
Schema.Array(
|
|
504
498
|
Schema.Struct({
|
|
@@ -507,11 +501,7 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
507
501
|
}),
|
|
508
502
|
),
|
|
509
503
|
),
|
|
510
|
-
interval: Schema.optional(
|
|
511
|
-
Schema.Struct({
|
|
512
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
513
|
-
}),
|
|
514
|
-
),
|
|
504
|
+
interval: Schema.optional(Schema.String),
|
|
515
505
|
kind: Schema.optional(
|
|
516
506
|
Schema.Literals(["informational", "readiness"]),
|
|
517
507
|
),
|
|
@@ -519,11 +509,7 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
519
509
|
path: Schema.optional(Schema.String),
|
|
520
510
|
port: Schema.optional(Schema.Number),
|
|
521
511
|
protocol: Schema.optional(Schema.String),
|
|
522
|
-
timeout: Schema.optional(
|
|
523
|
-
Schema.Struct({
|
|
524
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
525
|
-
}),
|
|
526
|
-
),
|
|
512
|
+
timeout: Schema.optional(Schema.String),
|
|
527
513
|
tls_server_name: Schema.optional(Schema.String),
|
|
528
514
|
tls_skip_verify: Schema.optional(Schema.Boolean),
|
|
529
515
|
type: Schema.optional(Schema.String),
|
|
@@ -638,12 +624,18 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
638
624
|
),
|
|
639
625
|
stop: Schema.optional(
|
|
640
626
|
Schema.Struct({
|
|
641
|
-
signal: Schema.optional(
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
"
|
|
645
|
-
|
|
627
|
+
signal: Schema.optional(
|
|
628
|
+
Schema.Literals([
|
|
629
|
+
"SIGHUP",
|
|
630
|
+
"SIGINT",
|
|
631
|
+
"SIGQUIT",
|
|
632
|
+
"SIGKILL",
|
|
633
|
+
"SIGUSR1",
|
|
634
|
+
"SIGUSR2",
|
|
635
|
+
"SIGTERM",
|
|
636
|
+
]),
|
|
646
637
|
),
|
|
638
|
+
timeout: Schema.optional(Schema.String),
|
|
647
639
|
}),
|
|
648
640
|
),
|
|
649
641
|
user: Schema.optional(Schema.String),
|
|
@@ -696,6 +688,7 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
696
688
|
gpus: Schema.optional(Schema.Number),
|
|
697
689
|
host_dedication_id: Schema.optional(Schema.String),
|
|
698
690
|
kernel_args: Schema.optional(Schema.Array(Schema.String)),
|
|
691
|
+
max_memory_mb: Schema.optional(Schema.Number),
|
|
699
692
|
memory_mb: Schema.optional(Schema.Number),
|
|
700
693
|
persist_rootfs: Schema.optional(
|
|
701
694
|
Schema.Literals(["never", "always", "restart"]),
|
|
@@ -783,7 +776,6 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
783
776
|
),
|
|
784
777
|
rootfs: Schema.optional(
|
|
785
778
|
Schema.Struct({
|
|
786
|
-
fs_size_gb: Schema.optional(Schema.Number),
|
|
787
779
|
persist: Schema.optional(
|
|
788
780
|
Schema.Literals(["never", "always", "restart"]),
|
|
789
781
|
),
|
|
@@ -801,11 +793,7 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
801
793
|
checks: Schema.optional(
|
|
802
794
|
Schema.Array(
|
|
803
795
|
Schema.Struct({
|
|
804
|
-
grace_period: Schema.optional(
|
|
805
|
-
Schema.Struct({
|
|
806
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
807
|
-
}),
|
|
808
|
-
),
|
|
796
|
+
grace_period: Schema.optional(Schema.String),
|
|
809
797
|
headers: Schema.optional(
|
|
810
798
|
Schema.Array(
|
|
811
799
|
Schema.Struct({
|
|
@@ -814,20 +802,12 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
814
802
|
}),
|
|
815
803
|
),
|
|
816
804
|
),
|
|
817
|
-
interval: Schema.optional(
|
|
818
|
-
Schema.Struct({
|
|
819
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
820
|
-
}),
|
|
821
|
-
),
|
|
805
|
+
interval: Schema.optional(Schema.String),
|
|
822
806
|
method: Schema.optional(Schema.String),
|
|
823
807
|
path: Schema.optional(Schema.String),
|
|
824
808
|
port: Schema.optional(Schema.Number),
|
|
825
809
|
protocol: Schema.optional(Schema.String),
|
|
826
|
-
timeout: Schema.optional(
|
|
827
|
-
Schema.Struct({
|
|
828
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
829
|
-
}),
|
|
830
|
-
),
|
|
810
|
+
timeout: Schema.optional(Schema.String),
|
|
831
811
|
tls_server_name: Schema.optional(Schema.String),
|
|
832
812
|
tls_skip_verify: Schema.optional(Schema.Boolean),
|
|
833
813
|
type: Schema.optional(Schema.String),
|
|
@@ -915,12 +895,18 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
915
895
|
),
|
|
916
896
|
stop_config: Schema.optional(
|
|
917
897
|
Schema.Struct({
|
|
918
|
-
signal: Schema.optional(
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
"
|
|
922
|
-
|
|
898
|
+
signal: Schema.optional(
|
|
899
|
+
Schema.Literals([
|
|
900
|
+
"SIGHUP",
|
|
901
|
+
"SIGINT",
|
|
902
|
+
"SIGQUIT",
|
|
903
|
+
"SIGKILL",
|
|
904
|
+
"SIGUSR1",
|
|
905
|
+
"SIGUSR2",
|
|
906
|
+
"SIGTERM",
|
|
907
|
+
]),
|
|
923
908
|
),
|
|
909
|
+
timeout: Schema.optional(Schema.String),
|
|
924
910
|
}),
|
|
925
911
|
),
|
|
926
912
|
}),
|
|
@@ -6,12 +6,18 @@ import * as T from "../traits";
|
|
|
6
6
|
export const MachinesStopInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
7
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
8
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
signal: Schema.optional(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
9
|
+
signal: Schema.optional(
|
|
10
|
+
Schema.Literals([
|
|
11
|
+
"SIGHUP",
|
|
12
|
+
"SIGINT",
|
|
13
|
+
"SIGQUIT",
|
|
14
|
+
"SIGKILL",
|
|
15
|
+
"SIGUSR1",
|
|
16
|
+
"SIGUSR2",
|
|
17
|
+
"SIGTERM",
|
|
18
|
+
]),
|
|
14
19
|
),
|
|
20
|
+
timeout: Schema.optional(Schema.String),
|
|
15
21
|
}).pipe(
|
|
16
22
|
T.Http({
|
|
17
23
|
method: "POST",
|