@distilled.cloud/fly-io 0.30.3 → 1.0.0-rc.1
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.map +1 -1
- package/lib/credentials.js +8 -0
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +22 -4
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +11 -5
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +7 -10
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +7 -10
- package/lib/index.js.map +1 -1
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +41 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +4 -4
- package/lib/retry.js +4 -4
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +3 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/machines.d.ts +2236 -0
- package/lib/services/machines.d.ts.map +1 -0
- package/lib/services/machines.js +2461 -0
- package/lib/services/machines.js.map +1 -0
- package/lib/traits.d.ts +8 -2
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +8 -2
- package/lib/traits.js.map +1 -1
- package/package.json +31 -37
- package/src/credentials.ts +8 -0
- package/src/errors.ts +24 -6
- package/src/index.ts +11 -10
- package/src/protocol.ts +61 -0
- package/src/retry.ts +4 -4
- package/src/services/index.ts +2 -0
- package/src/services/machines.ts +5962 -0
- package/src/traits.ts +42 -2
- package/README.md +0 -69
- package/lib/category.d.ts +0 -5
- package/lib/category.d.ts.map +0 -1
- package/lib/category.js +0 -5
- package/lib/category.js.map +0 -1
- package/lib/client.d.ts +0 -11
- package/lib/client.d.ts.map +0 -1
- package/lib/client.js +0 -56
- package/lib/client.js.map +0 -1
- package/lib/operations/AppCertificatesAcmeCreate.d.ts +0 -61
- package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +0 -1
- package/lib/operations/AppCertificatesAcmeCreate.js +0 -72
- package/lib/operations/AppCertificatesAcmeCreate.js.map +0 -1
- package/lib/operations/AppCertificatesAcmeDelete.d.ts +0 -62
- package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +0 -1
- package/lib/operations/AppCertificatesAcmeDelete.js +0 -76
- package/lib/operations/AppCertificatesAcmeDelete.js.map +0 -1
- package/lib/operations/AppCertificatesCheck.d.ts +0 -71
- package/lib/operations/AppCertificatesCheck.d.ts.map +0 -1
- package/lib/operations/AppCertificatesCheck.js +0 -85
- package/lib/operations/AppCertificatesCheck.js.map +0 -1
- package/lib/operations/AppCertificatesCustomCreate.d.ts +0 -64
- package/lib/operations/AppCertificatesCustomCreate.d.ts.map +0 -1
- package/lib/operations/AppCertificatesCustomCreate.js +0 -76
- package/lib/operations/AppCertificatesCustomCreate.js.map +0 -1
- package/lib/operations/AppCertificatesCustomDelete.d.ts +0 -63
- package/lib/operations/AppCertificatesCustomDelete.d.ts.map +0 -1
- package/lib/operations/AppCertificatesCustomDelete.js +0 -77
- package/lib/operations/AppCertificatesCustomDelete.js.map +0 -1
- package/lib/operations/AppCertificatesDelete.d.ts +0 -17
- package/lib/operations/AppCertificatesDelete.d.ts.map +0 -1
- package/lib/operations/AppCertificatesDelete.js +0 -27
- package/lib/operations/AppCertificatesDelete.js.map +0 -1
- package/lib/operations/AppCertificatesList.d.ts +0 -39
- package/lib/operations/AppCertificatesList.d.ts.map +0 -1
- package/lib/operations/AppCertificatesList.js +0 -46
- package/lib/operations/AppCertificatesList.js.map +0 -1
- package/lib/operations/AppCertificatesShow.d.ts +0 -62
- package/lib/operations/AppCertificatesShow.d.ts.map +0 -1
- package/lib/operations/AppCertificatesShow.js +0 -73
- package/lib/operations/AppCertificatesShow.js.map +0 -1
- package/lib/operations/AppCreateDeployToken.d.ts +0 -18
- package/lib/operations/AppCreateDeployToken.d.ts.map +0 -1
- package/lib/operations/AppCreateDeployToken.js +0 -25
- package/lib/operations/AppCreateDeployToken.js.map +0 -1
- package/lib/operations/AppIPAssignmentsCreate.d.ts +0 -26
- package/lib/operations/AppIPAssignmentsCreate.d.ts.map +0 -1
- package/lib/operations/AppIPAssignmentsCreate.js +0 -33
- package/lib/operations/AppIPAssignmentsCreate.js.map +0 -1
- package/lib/operations/AppIPAssignmentsDelete.d.ts +0 -17
- package/lib/operations/AppIPAssignmentsDelete.d.ts.map +0 -1
- package/lib/operations/AppIPAssignmentsDelete.js +0 -24
- package/lib/operations/AppIPAssignmentsDelete.js.map +0 -1
- package/lib/operations/AppIPAssignmentsList.d.ts +0 -23
- package/lib/operations/AppIPAssignmentsList.d.ts.map +0 -1
- package/lib/operations/AppIPAssignmentsList.js +0 -30
- package/lib/operations/AppIPAssignmentsList.js.map +0 -1
- package/lib/operations/App_CertificatesAcmeCreate.d.ts +0 -104
- package/lib/operations/App_CertificatesAcmeCreate.d.ts.map +0 -1
- package/lib/operations/App_CertificatesAcmeCreate.js +0 -69
- package/lib/operations/App_CertificatesAcmeCreate.js.map +0 -1
- package/lib/operations/App_CertificatesAcmeDelete.d.ts +0 -100
- package/lib/operations/App_CertificatesAcmeDelete.d.ts.map +0 -1
- package/lib/operations/App_CertificatesAcmeDelete.js +0 -70
- package/lib/operations/App_CertificatesAcmeDelete.js.map +0 -1
- package/lib/operations/App_CertificatesCheck.d.ts +0 -118
- package/lib/operations/App_CertificatesCheck.d.ts.map +0 -1
- package/lib/operations/App_CertificatesCheck.js +0 -79
- package/lib/operations/App_CertificatesCheck.js.map +0 -1
- package/lib/operations/App_CertificatesCustomCreate.d.ts +0 -108
- package/lib/operations/App_CertificatesCustomCreate.d.ts.map +0 -1
- package/lib/operations/App_CertificatesCustomCreate.js +0 -72
- package/lib/operations/App_CertificatesCustomCreate.js.map +0 -1
- package/lib/operations/App_CertificatesCustomDelete.d.ts +0 -102
- package/lib/operations/App_CertificatesCustomDelete.d.ts.map +0 -1
- package/lib/operations/App_CertificatesCustomDelete.js +0 -72
- package/lib/operations/App_CertificatesCustomDelete.js.map +0 -1
- package/lib/operations/App_CertificatesDelete.d.ts +0 -10
- package/lib/operations/App_CertificatesDelete.d.ts.map +0 -1
- package/lib/operations/App_CertificatesDelete.js +0 -20
- package/lib/operations/App_CertificatesDelete.js.map +0 -1
- package/lib/operations/App_CertificatesList.d.ts +0 -58
- package/lib/operations/App_CertificatesList.d.ts.map +0 -1
- package/lib/operations/App_CertificatesList.js +0 -44
- package/lib/operations/App_CertificatesList.js.map +0 -1
- package/lib/operations/App_CertificatesShow.d.ts +0 -100
- package/lib/operations/App_CertificatesShow.d.ts.map +0 -1
- package/lib/operations/App_CertificatesShow.js +0 -67
- package/lib/operations/App_CertificatesShow.js.map +0 -1
- package/lib/operations/App_IPAssignmentsCreate.d.ts +0 -34
- package/lib/operations/App_IPAssignmentsCreate.d.ts.map +0 -1
- package/lib/operations/App_IPAssignmentsCreate.js +0 -30
- package/lib/operations/App_IPAssignmentsCreate.js.map +0 -1
- package/lib/operations/App_IPAssignmentsDelete.d.ts +0 -10
- package/lib/operations/App_IPAssignmentsDelete.d.ts.map +0 -1
- package/lib/operations/App_IPAssignmentsDelete.js +0 -17
- package/lib/operations/App_IPAssignmentsDelete.js.map +0 -1
- package/lib/operations/App_IPAssignmentsList.d.ts +0 -26
- package/lib/operations/App_IPAssignmentsList.d.ts.map +0 -1
- package/lib/operations/App_IPAssignmentsList.js +0 -26
- package/lib/operations/App_IPAssignmentsList.js.map +0 -1
- package/lib/operations/AppsCreate.d.ts +0 -18
- package/lib/operations/AppsCreate.d.ts.map +0 -1
- package/lib/operations/AppsCreate.js +0 -24
- package/lib/operations/AppsCreate.js.map +0 -1
- package/lib/operations/AppsDelete.d.ts +0 -17
- package/lib/operations/AppsDelete.d.ts.map +0 -1
- package/lib/operations/AppsDelete.js +0 -23
- package/lib/operations/AppsDelete.js.map +0 -1
- package/lib/operations/AppsList.d.ts +0 -35
- package/lib/operations/AppsList.d.ts.map +0 -1
- package/lib/operations/AppsList.js +0 -40
- package/lib/operations/AppsList.js.map +0 -1
- package/lib/operations/AppsShow.d.ts +0 -30
- package/lib/operations/AppsShow.d.ts.map +0 -1
- package/lib/operations/AppsShow.js +0 -35
- package/lib/operations/AppsShow.js.map +0 -1
- package/lib/operations/CurrentTokenShow.d.ts +0 -23
- package/lib/operations/CurrentTokenShow.d.ts.map +0 -1
- package/lib/operations/CurrentTokenShow.js +0 -26
- package/lib/operations/CurrentTokenShow.js.map +0 -1
- package/lib/operations/MachinesCordon.d.ts +0 -19
- package/lib/operations/MachinesCordon.d.ts.map +0 -1
- package/lib/operations/MachinesCordon.js +0 -28
- package/lib/operations/MachinesCordon.js.map +0 -1
- package/lib/operations/MachinesCreate.d.ts +0 -810
- package/lib/operations/MachinesCreate.d.ts.map +0 -1
- package/lib/operations/MachinesCreate.js +0 -917
- package/lib/operations/MachinesCreate.js.map +0 -1
- package/lib/operations/MachinesCreateLease.d.ts +0 -28
- package/lib/operations/MachinesCreateLease.d.ts.map +0 -1
- package/lib/operations/MachinesCreateLease.js +0 -38
- package/lib/operations/MachinesCreateLease.js.map +0 -1
- package/lib/operations/MachinesDelete.d.ts +0 -21
- package/lib/operations/MachinesDelete.d.ts.map +0 -1
- package/lib/operations/MachinesDelete.js +0 -27
- package/lib/operations/MachinesDelete.js.map +0 -1
- package/lib/operations/MachinesDeleteMetadata.d.ts +0 -21
- package/lib/operations/MachinesDeleteMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesDeleteMetadata.js +0 -31
- package/lib/operations/MachinesDeleteMetadata.js.map +0 -1
- package/lib/operations/MachinesExec.d.ts +0 -29
- package/lib/operations/MachinesExec.d.ts.map +0 -1
- package/lib/operations/MachinesExec.js +0 -37
- package/lib/operations/MachinesExec.js.map +0 -1
- package/lib/operations/MachinesGetMemory.d.ts +0 -22
- package/lib/operations/MachinesGetMemory.d.ts.map +0 -1
- package/lib/operations/MachinesGetMemory.js +0 -31
- package/lib/operations/MachinesGetMemory.js.map +0 -1
- package/lib/operations/MachinesGetMetadataKey.d.ts +0 -23
- package/lib/operations/MachinesGetMetadataKey.d.ts.map +0 -1
- package/lib/operations/MachinesGetMetadataKey.js +0 -33
- package/lib/operations/MachinesGetMetadataKey.js.map +0 -1
- package/lib/operations/MachinesList.d.ts +0 -559
- package/lib/operations/MachinesList.d.ts.map +0 -1
- package/lib/operations/MachinesList.js +0 -642
- package/lib/operations/MachinesList.js.map +0 -1
- package/lib/operations/MachinesListEvents.d.ts +0 -28
- package/lib/operations/MachinesListEvents.d.ts.map +0 -1
- package/lib/operations/MachinesListEvents.js +0 -38
- package/lib/operations/MachinesListEvents.js.map +0 -1
- package/lib/operations/MachinesListProcesses.d.ts +0 -35
- package/lib/operations/MachinesListProcesses.d.ts.map +0 -1
- package/lib/operations/MachinesListProcesses.js +0 -45
- package/lib/operations/MachinesListProcesses.js.map +0 -1
- package/lib/operations/MachinesListVersions.d.ts +0 -272
- package/lib/operations/MachinesListVersions.d.ts.map +0 -1
- package/lib/operations/MachinesListVersions.js +0 -321
- package/lib/operations/MachinesListVersions.js.map +0 -1
- package/lib/operations/MachinesOrgList.d.ts +0 -63
- package/lib/operations/MachinesOrgList.d.ts.map +0 -1
- package/lib/operations/MachinesOrgList.js +0 -68
- package/lib/operations/MachinesOrgList.js.map +0 -1
- package/lib/operations/MachinesPatchMetadata.d.ts +0 -23
- package/lib/operations/MachinesPatchMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesPatchMetadata.js +0 -31
- package/lib/operations/MachinesPatchMetadata.js.map +0 -1
- package/lib/operations/MachinesReclaimMemory.d.ts +0 -22
- package/lib/operations/MachinesReclaimMemory.d.ts.map +0 -1
- package/lib/operations/MachinesReclaimMemory.js +0 -32
- package/lib/operations/MachinesReclaimMemory.js.map +0 -1
- package/lib/operations/MachinesReleaseLease.d.ts +0 -20
- package/lib/operations/MachinesReleaseLease.d.ts.map +0 -1
- package/lib/operations/MachinesReleaseLease.js +0 -30
- package/lib/operations/MachinesReleaseLease.js.map +0 -1
- package/lib/operations/MachinesRestart.d.ts +0 -23
- package/lib/operations/MachinesRestart.d.ts.map +0 -1
- package/lib/operations/MachinesRestart.js +0 -40
- package/lib/operations/MachinesRestart.js.map +0 -1
- package/lib/operations/MachinesSetMemoryLimit.d.ts +0 -23
- package/lib/operations/MachinesSetMemoryLimit.d.ts.map +0 -1
- package/lib/operations/MachinesSetMemoryLimit.js +0 -33
- package/lib/operations/MachinesSetMemoryLimit.js.map +0 -1
- package/lib/operations/MachinesShow.d.ts +0 -553
- package/lib/operations/MachinesShow.d.ts.map +0 -1
- package/lib/operations/MachinesShow.js +0 -626
- package/lib/operations/MachinesShow.js.map +0 -1
- package/lib/operations/MachinesShowLease.d.ts +0 -25
- package/lib/operations/MachinesShowLease.d.ts.map +0 -1
- package/lib/operations/MachinesShowLease.js +0 -34
- package/lib/operations/MachinesShowLease.js.map +0 -1
- package/lib/operations/MachinesShowMetadata.d.ts +0 -19
- package/lib/operations/MachinesShowMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesShowMetadata.js +0 -29
- package/lib/operations/MachinesShowMetadata.js.map +0 -1
- package/lib/operations/MachinesSignal.d.ts +0 -20
- package/lib/operations/MachinesSignal.d.ts.map +0 -1
- package/lib/operations/MachinesSignal.js +0 -44
- package/lib/operations/MachinesSignal.js.map +0 -1
- package/lib/operations/MachinesStart.d.ts +0 -19
- package/lib/operations/MachinesStart.d.ts.map +0 -1
- package/lib/operations/MachinesStart.js +0 -28
- package/lib/operations/MachinesStart.js.map +0 -1
- package/lib/operations/MachinesStop.d.ts +0 -21
- package/lib/operations/MachinesStop.d.ts.map +0 -1
- package/lib/operations/MachinesStop.js +0 -38
- package/lib/operations/MachinesStop.js.map +0 -1
- package/lib/operations/MachinesSuspend.d.ts +0 -19
- package/lib/operations/MachinesSuspend.d.ts.map +0 -1
- package/lib/operations/MachinesSuspend.js +0 -28
- package/lib/operations/MachinesSuspend.js.map +0 -1
- package/lib/operations/MachinesUncordon.d.ts +0 -19
- package/lib/operations/MachinesUncordon.d.ts.map +0 -1
- package/lib/operations/MachinesUncordon.js +0 -28
- package/lib/operations/MachinesUncordon.js.map +0 -1
- package/lib/operations/MachinesUpdate.d.ts +0 -812
- package/lib/operations/MachinesUpdate.d.ts.map +0 -1
- package/lib/operations/MachinesUpdate.js +0 -919
- package/lib/operations/MachinesUpdate.js.map +0 -1
- package/lib/operations/MachinesUpdateMetadata.d.ts +0 -23
- package/lib/operations/MachinesUpdateMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesUpdateMetadata.js +0 -33
- package/lib/operations/MachinesUpdateMetadata.js.map +0 -1
- package/lib/operations/MachinesUpsertMetadata.d.ts +0 -23
- package/lib/operations/MachinesUpsertMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesUpsertMetadata.js +0 -33
- package/lib/operations/MachinesUpsertMetadata.js.map +0 -1
- package/lib/operations/MachinesWait.d.ts +0 -35
- package/lib/operations/MachinesWait.d.ts.map +0 -1
- package/lib/operations/MachinesWait.js +0 -50
- package/lib/operations/MachinesWait.js.map +0 -1
- package/lib/operations/PlatformPlacementsPost.d.ts +0 -37
- package/lib/operations/PlatformPlacementsPost.d.ts.map +0 -1
- package/lib/operations/PlatformPlacementsPost.js +0 -44
- package/lib/operations/PlatformPlacementsPost.js.map +0 -1
- package/lib/operations/PlatformRegionsGet.d.ts +0 -26
- package/lib/operations/PlatformRegionsGet.d.ts.map +0 -1
- package/lib/operations/PlatformRegionsGet.js +0 -32
- package/lib/operations/PlatformRegionsGet.js.map +0 -1
- package/lib/operations/SecretCreate.d.ts +0 -26
- package/lib/operations/SecretCreate.d.ts.map +0 -1
- package/lib/operations/SecretCreate.js +0 -31
- package/lib/operations/SecretCreate.js.map +0 -1
- package/lib/operations/SecretDelete.d.ts +0 -20
- package/lib/operations/SecretDelete.d.ts.map +0 -1
- package/lib/operations/SecretDelete.js +0 -25
- package/lib/operations/SecretDelete.js.map +0 -1
- package/lib/operations/SecretGet.d.ts +0 -27
- package/lib/operations/SecretGet.d.ts.map +0 -1
- package/lib/operations/SecretGet.js +0 -32
- package/lib/operations/SecretGet.js.map +0 -1
- package/lib/operations/SecretkeyDecrypt.d.ts +0 -23
- package/lib/operations/SecretkeyDecrypt.d.ts.map +0 -1
- package/lib/operations/SecretkeyDecrypt.js +0 -31
- package/lib/operations/SecretkeyDecrypt.js.map +0 -1
- package/lib/operations/SecretkeyDelete.d.ts +0 -20
- package/lib/operations/SecretkeyDelete.d.ts.map +0 -1
- package/lib/operations/SecretkeyDelete.js +0 -28
- package/lib/operations/SecretkeyDelete.js.map +0 -1
- package/lib/operations/SecretkeyEncrypt.d.ts +0 -23
- package/lib/operations/SecretkeyEncrypt.d.ts.map +0 -1
- package/lib/operations/SecretkeyEncrypt.js +0 -31
- package/lib/operations/SecretkeyEncrypt.js.map +0 -1
- package/lib/operations/SecretkeyGenerate.d.ts +0 -27
- package/lib/operations/SecretkeyGenerate.d.ts.map +0 -1
- package/lib/operations/SecretkeyGenerate.js +0 -36
- package/lib/operations/SecretkeyGenerate.js.map +0 -1
- package/lib/operations/SecretkeyGet.d.ts +0 -25
- package/lib/operations/SecretkeyGet.d.ts.map +0 -1
- package/lib/operations/SecretkeyGet.js +0 -30
- package/lib/operations/SecretkeyGet.js.map +0 -1
- package/lib/operations/SecretkeySet.d.ts +0 -27
- package/lib/operations/SecretkeySet.d.ts.map +0 -1
- package/lib/operations/SecretkeySet.js +0 -32
- package/lib/operations/SecretkeySet.js.map +0 -1
- package/lib/operations/SecretkeySign.d.ts +0 -22
- package/lib/operations/SecretkeySign.d.ts.map +0 -1
- package/lib/operations/SecretkeySign.js +0 -30
- package/lib/operations/SecretkeySign.js.map +0 -1
- package/lib/operations/SecretkeyVerify.d.ts +0 -21
- package/lib/operations/SecretkeyVerify.d.ts.map +0 -1
- package/lib/operations/SecretkeyVerify.js +0 -30
- package/lib/operations/SecretkeyVerify.js.map +0 -1
- package/lib/operations/SecretkeysList.d.ts +0 -27
- package/lib/operations/SecretkeysList.d.ts.map +0 -1
- package/lib/operations/SecretkeysList.js +0 -32
- package/lib/operations/SecretkeysList.js.map +0 -1
- package/lib/operations/SecretsList.d.ts +0 -27
- package/lib/operations/SecretsList.d.ts.map +0 -1
- package/lib/operations/SecretsList.js +0 -32
- package/lib/operations/SecretsList.js.map +0 -1
- package/lib/operations/SecretsUpdate.d.ts +0 -26
- package/lib/operations/SecretsUpdate.d.ts.map +0 -1
- package/lib/operations/SecretsUpdate.js +0 -31
- package/lib/operations/SecretsUpdate.js.map +0 -1
- package/lib/operations/TokensAuthenticate.d.ts +0 -26
- package/lib/operations/TokensAuthenticate.d.ts.map +0 -1
- package/lib/operations/TokensAuthenticate.js +0 -33
- package/lib/operations/TokensAuthenticate.js.map +0 -1
- package/lib/operations/TokensAuthorize.d.ts +0 -59
- package/lib/operations/TokensAuthorize.d.ts.map +0 -1
- package/lib/operations/TokensAuthorize.js +0 -64
- package/lib/operations/TokensAuthorize.js.map +0 -1
- package/lib/operations/TokensRequestKms.d.ts +0 -14
- package/lib/operations/TokensRequestKms.d.ts.map +0 -1
- package/lib/operations/TokensRequestKms.js +0 -19
- package/lib/operations/TokensRequestKms.js.map +0 -1
- package/lib/operations/TokensRequestOIDC.d.ts +0 -16
- package/lib/operations/TokensRequestOIDC.d.ts.map +0 -1
- package/lib/operations/TokensRequestOIDC.js +0 -22
- package/lib/operations/TokensRequestOIDC.js.map +0 -1
- package/lib/operations/TokensRequest_Kms.d.ts +0 -12
- package/lib/operations/TokensRequest_Kms.d.ts.map +0 -1
- package/lib/operations/TokensRequest_Kms.js +0 -18
- package/lib/operations/TokensRequest_Kms.js.map +0 -1
- package/lib/operations/TokensRequest_OIDC.d.ts +0 -18
- package/lib/operations/TokensRequest_OIDC.d.ts.map +0 -1
- package/lib/operations/TokensRequest_OIDC.js +0 -22
- package/lib/operations/TokensRequest_OIDC.js.map +0 -1
- package/lib/operations/VolumeDelete.d.ts +0 -41
- package/lib/operations/VolumeDelete.d.ts.map +0 -1
- package/lib/operations/VolumeDelete.js +0 -46
- package/lib/operations/VolumeDelete.js.map +0 -1
- package/lib/operations/VolumesCreate.d.ts +0 -62
- package/lib/operations/VolumesCreate.d.ts.map +0 -1
- package/lib/operations/VolumesCreate.js +0 -67
- package/lib/operations/VolumesCreate.js.map +0 -1
- package/lib/operations/VolumesExtend.d.ts +0 -45
- package/lib/operations/VolumesExtend.d.ts.map +0 -1
- package/lib/operations/VolumesExtend.js +0 -53
- package/lib/operations/VolumesExtend.js.map +0 -1
- package/lib/operations/VolumesGetById.d.ts +0 -41
- package/lib/operations/VolumesGetById.d.ts.map +0 -1
- package/lib/operations/VolumesGetById.js +0 -46
- package/lib/operations/VolumesGetById.js.map +0 -1
- package/lib/operations/VolumesList.d.ts +0 -41
- package/lib/operations/VolumesList.d.ts.map +0 -1
- package/lib/operations/VolumesList.js +0 -46
- package/lib/operations/VolumesList.js.map +0 -1
- package/lib/operations/VolumesListSnapshots.d.ts +0 -27
- package/lib/operations/VolumesListSnapshots.d.ts.map +0 -1
- package/lib/operations/VolumesListSnapshots.js +0 -37
- package/lib/operations/VolumesListSnapshots.js.map +0 -1
- package/lib/operations/VolumesOrgList.d.ts +0 -59
- package/lib/operations/VolumesOrgList.d.ts.map +0 -1
- package/lib/operations/VolumesOrgList.js +0 -63
- package/lib/operations/VolumesOrgList.js.map +0 -1
- package/lib/operations/VolumesUpdate.d.ts +0 -43
- package/lib/operations/VolumesUpdate.d.ts.map +0 -1
- package/lib/operations/VolumesUpdate.js +0 -48
- package/lib/operations/VolumesUpdate.js.map +0 -1
- package/lib/operations/createVolumeSnapshot.d.ts +0 -19
- package/lib/operations/createVolumeSnapshot.d.ts.map +0 -1
- package/lib/operations/createVolumeSnapshot.js +0 -29
- package/lib/operations/createVolumeSnapshot.js.map +0 -1
- package/lib/operations/index.d.ts +0 -77
- package/lib/operations/index.d.ts.map +0 -1
- package/lib/operations/index.js +0 -77
- package/lib/operations/index.js.map +0 -1
- package/lib/sensitive.d.ts +0 -5
- package/lib/sensitive.d.ts.map +0 -1
- package/lib/sensitive.js +0 -5
- package/lib/sensitive.js.map +0 -1
- package/src/category.ts +0 -4
- package/src/client.ts +0 -71
- package/src/operations/AppCertificatesAcmeCreate.ts +0 -148
- package/src/operations/AppCertificatesAcmeDelete.ts +0 -147
- package/src/operations/AppCertificatesCheck.ts +0 -167
- package/src/operations/AppCertificatesCustomCreate.ts +0 -154
- package/src/operations/AppCertificatesCustomDelete.ts +0 -149
- package/src/operations/AppCertificatesDelete.ts +0 -38
- package/src/operations/AppCertificatesList.ts +0 -81
- package/src/operations/AppCertificatesShow.ts +0 -144
- package/src/operations/AppCreateDeployToken.ts +0 -38
- package/src/operations/AppIPAssignmentsCreate.ts +0 -54
- package/src/operations/AppIPAssignmentsDelete.ts +0 -35
- package/src/operations/AppIPAssignmentsList.ts +0 -52
- package/src/operations/App_CertificatesAcmeCreate.ts +0 -99
- package/src/operations/App_CertificatesAcmeDelete.ts +0 -100
- package/src/operations/App_CertificatesCheck.ts +0 -110
- package/src/operations/App_CertificatesCustomCreate.ts +0 -102
- package/src/operations/App_CertificatesCustomDelete.ts +0 -102
- package/src/operations/App_CertificatesDelete.ts +0 -28
- package/src/operations/App_CertificatesList.ts +0 -52
- package/src/operations/App_CertificatesShow.ts +0 -95
- package/src/operations/App_IPAssignmentsCreate.ts +0 -36
- package/src/operations/App_IPAssignmentsDelete.ts +0 -25
- package/src/operations/App_IPAssignmentsList.ts +0 -37
- package/src/operations/AppsCreate.ts +0 -37
- package/src/operations/AppsDelete.ts +0 -33
- package/src/operations/AppsList.ts +0 -73
- package/src/operations/AppsShow.ts +0 -56
- package/src/operations/CurrentTokenShow.ts +0 -48
- package/src/operations/MachinesCordon.ts +0 -39
- package/src/operations/MachinesCreate.ts +0 -2166
- package/src/operations/MachinesCreateLease.ts +0 -57
- package/src/operations/MachinesDelete.ts +0 -39
- package/src/operations/MachinesDeleteMetadata.ts +0 -43
- package/src/operations/MachinesExec.ts +0 -58
- package/src/operations/MachinesGetMemory.ts +0 -45
- package/src/operations/MachinesGetMetadataKey.ts +0 -47
- package/src/operations/MachinesList.ts +0 -1494
- package/src/operations/MachinesListEvents.ts +0 -59
- package/src/operations/MachinesListProcesses.ts +0 -73
- package/src/operations/MachinesListVersions.ts +0 -742
- package/src/operations/MachinesOrgList.ts +0 -128
- package/src/operations/MachinesPatchMetadata.ts +0 -38
- package/src/operations/MachinesReclaimMemory.ts +0 -46
- package/src/operations/MachinesReleaseLease.ts +0 -41
- package/src/operations/MachinesRestart.ts +0 -62
- package/src/operations/MachinesSetMemoryLimit.ts +0 -48
- package/src/operations/MachinesShow.ts +0 -1473
- package/src/operations/MachinesShowLease.ts +0 -51
- package/src/operations/MachinesShowMetadata.ts +0 -43
- package/src/operations/MachinesSignal.ts +0 -72
- package/src/operations/MachinesStart.ts +0 -39
- package/src/operations/MachinesStop.ts +0 -60
- package/src/operations/MachinesSuspend.ts +0 -39
- package/src/operations/MachinesUncordon.ts +0 -39
- package/src/operations/MachinesUpdate.ts +0 -2170
- package/src/operations/MachinesUpdateMetadata.ts +0 -47
- package/src/operations/MachinesUpsertMetadata.ts +0 -47
- package/src/operations/MachinesWait.ts +0 -79
- package/src/operations/PlatformPlacementsPost.ts +0 -80
- package/src/operations/PlatformRegionsGet.ts +0 -56
- package/src/operations/SecretCreate.ts +0 -51
- package/src/operations/SecretDelete.ts +0 -39
- package/src/operations/SecretGet.ts +0 -51
- package/src/operations/SecretkeyDecrypt.ts +0 -47
- package/src/operations/SecretkeyDelete.ts +0 -42
- package/src/operations/SecretkeyEncrypt.ts +0 -47
- package/src/operations/SecretkeyGenerate.ts +0 -57
- package/src/operations/SecretkeyGet.ts +0 -48
- package/src/operations/SecretkeySet.ts +0 -53
- package/src/operations/SecretkeySign.ts +0 -45
- package/src/operations/SecretkeyVerify.ts +0 -44
- package/src/operations/SecretkeysList.ts +0 -56
- package/src/operations/SecretsList.ts +0 -56
- package/src/operations/SecretsUpdate.ts +0 -56
- package/src/operations/TokensAuthenticate.ts +0 -54
- package/src/operations/TokensAuthorize.ts +0 -122
- package/src/operations/TokensRequestKms.ts +0 -27
- package/src/operations/TokensRequestOIDC.ts +0 -33
- package/src/operations/TokensRequest_Kms.ts +0 -24
- package/src/operations/TokensRequest_OIDC.ts +0 -26
- package/src/operations/VolumeDelete.ts +0 -81
- package/src/operations/VolumesCreate.ts +0 -128
- package/src/operations/VolumesExtend.ts +0 -94
- package/src/operations/VolumesGetById.ts +0 -81
- package/src/operations/VolumesList.ts +0 -83
- package/src/operations/VolumesListSnapshots.ts +0 -58
- package/src/operations/VolumesOrgList.ts +0 -115
- package/src/operations/VolumesUpdate.ts +0 -85
- package/src/operations/createVolumeSnapshot.ts +0 -40
- package/src/operations/index.ts +0 -76
- package/src/sensitive.ts +0 -4
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface MachinesOrgListInput {
|
|
8
|
-
org_slug: string;
|
|
9
|
-
include_deleted?: boolean;
|
|
10
|
-
region?: string;
|
|
11
|
-
state?: string;
|
|
12
|
-
summary?: boolean;
|
|
13
|
-
updated_after?: string;
|
|
14
|
-
cursor?: string;
|
|
15
|
-
limit?: number;
|
|
16
|
-
}
|
|
17
|
-
export const MachinesOrgListInput = /*@__PURE__*/ Schema.Struct({
|
|
18
|
-
org_slug: Schema.String.pipe(T.PathParam()),
|
|
19
|
-
include_deleted: Schema.optional(Schema.Boolean),
|
|
20
|
-
region: Schema.optional(Schema.String),
|
|
21
|
-
state: Schema.optional(Schema.String),
|
|
22
|
-
summary: Schema.optional(Schema.Boolean),
|
|
23
|
-
updated_after: Schema.optional(Schema.String),
|
|
24
|
-
cursor: Schema.optional(Schema.String),
|
|
25
|
-
limit: Schema.optional(Schema.Number),
|
|
26
|
-
}).pipe(
|
|
27
|
-
T.Http({ method: "GET", path: "/orgs/{org_slug}/machines" }),
|
|
28
|
-
) as unknown as Schema.Codec<MachinesOrgListInput>;
|
|
29
|
-
|
|
30
|
-
// Output Schema
|
|
31
|
-
export interface MachinesOrgListOutput {
|
|
32
|
-
error_regions?: string[];
|
|
33
|
-
last_machine_id?: string;
|
|
34
|
-
last_updated_at?: string;
|
|
35
|
-
machines?: {
|
|
36
|
-
app_name?: string;
|
|
37
|
-
config?: {
|
|
38
|
-
guest?: {
|
|
39
|
-
cpu_kind?: string;
|
|
40
|
-
cpus?: number;
|
|
41
|
-
gpu_kind?: string;
|
|
42
|
-
gpus?: number;
|
|
43
|
-
host_dedication_id?: string;
|
|
44
|
-
kernel_args?: string[];
|
|
45
|
-
max_memory_mb?: number;
|
|
46
|
-
memory_mb?: number;
|
|
47
|
-
persist_rootfs?: "never" | "always" | "restart";
|
|
48
|
-
};
|
|
49
|
-
image?: string;
|
|
50
|
-
metadata?: Record<string, string>;
|
|
51
|
-
};
|
|
52
|
-
created_at?: string;
|
|
53
|
-
id?: string;
|
|
54
|
-
name?: string;
|
|
55
|
-
private_ip?: string;
|
|
56
|
-
region?: string;
|
|
57
|
-
state?: string;
|
|
58
|
-
updated_at?: string;
|
|
59
|
-
version?: string;
|
|
60
|
-
}[];
|
|
61
|
-
next_cursor?: string;
|
|
62
|
-
}
|
|
63
|
-
export const MachinesOrgListOutput = /*@__PURE__*/ Schema.Struct({
|
|
64
|
-
error_regions: Schema.optional(Schema.Array(Schema.String)),
|
|
65
|
-
last_machine_id: Schema.optional(Schema.String),
|
|
66
|
-
last_updated_at: Schema.optional(Schema.String),
|
|
67
|
-
machines: Schema.optional(
|
|
68
|
-
Schema.Array(
|
|
69
|
-
Schema.Struct({
|
|
70
|
-
app_name: Schema.optional(Schema.String),
|
|
71
|
-
config: Schema.optional(
|
|
72
|
-
Schema.Struct({
|
|
73
|
-
guest: Schema.optional(
|
|
74
|
-
Schema.Struct({
|
|
75
|
-
cpu_kind: Schema.optional(Schema.String),
|
|
76
|
-
cpus: Schema.optional(Schema.Number),
|
|
77
|
-
gpu_kind: Schema.optional(Schema.String),
|
|
78
|
-
gpus: Schema.optional(Schema.Number),
|
|
79
|
-
host_dedication_id: Schema.optional(Schema.String),
|
|
80
|
-
kernel_args: Schema.optional(Schema.Array(Schema.String)),
|
|
81
|
-
max_memory_mb: Schema.optional(Schema.Number),
|
|
82
|
-
memory_mb: Schema.optional(Schema.Number),
|
|
83
|
-
persist_rootfs: Schema.optional(
|
|
84
|
-
Schema.Literals(["never", "always", "restart"]),
|
|
85
|
-
),
|
|
86
|
-
}),
|
|
87
|
-
),
|
|
88
|
-
image: Schema.optional(Schema.String),
|
|
89
|
-
metadata: Schema.optional(
|
|
90
|
-
Schema.Record(Schema.String, Schema.String),
|
|
91
|
-
),
|
|
92
|
-
}),
|
|
93
|
-
),
|
|
94
|
-
created_at: Schema.optional(Schema.String),
|
|
95
|
-
id: Schema.optional(Schema.String),
|
|
96
|
-
name: Schema.optional(Schema.String),
|
|
97
|
-
private_ip: Schema.optional(Schema.String),
|
|
98
|
-
region: Schema.optional(Schema.String),
|
|
99
|
-
state: Schema.optional(Schema.String),
|
|
100
|
-
updated_at: Schema.optional(Schema.String),
|
|
101
|
-
version: Schema.optional(Schema.String),
|
|
102
|
-
}),
|
|
103
|
-
),
|
|
104
|
-
),
|
|
105
|
-
next_cursor: Schema.optional(Schema.String),
|
|
106
|
-
}) as unknown as Schema.Codec<MachinesOrgListOutput>;
|
|
107
|
-
|
|
108
|
-
// The operation
|
|
109
|
-
/**
|
|
110
|
-
* List All Machines
|
|
111
|
-
*
|
|
112
|
-
* List all Machines associated with a specific organization. Machines are sorted by their `updated_at` timestamps, oldest to newest.
|
|
113
|
-
* This API call represents "a point in time". Recent machine changes, including creations and destructions, may take time to propagate. When polling with `updated_after`, offset your timestamps to catch late-arriving events.
|
|
114
|
-
*
|
|
115
|
-
* @param org_slug - Fly Organization Slug
|
|
116
|
-
* @param include_deleted - Include deleted machines
|
|
117
|
-
* @param region - Region filter
|
|
118
|
-
* @param state - Comma separated list of states to filter (created, started, stopped, suspended)
|
|
119
|
-
* @param summary - Omit config from responses
|
|
120
|
-
* @param updated_after - Only return machines updated after this time. Timestamp must be in the RFC 3339 format
|
|
121
|
-
* @param cursor - Pagination cursor from previous response (takes precedence over updated_after). Note that there is no guarantee that all machines returned by this endpoint are sorted by their updated_at fields. Pagination may reveal machines older than the last updated_at.
|
|
122
|
-
* @param limit - The number of machines to fetch (max of 1000). This limit is advisory. Responses may be shorter, or even empty, even when more machines remain. If omitted, the maximum is used
|
|
123
|
-
*/
|
|
124
|
-
export const MachinesOrgList = /*@__PURE__*/ API.make(() => ({
|
|
125
|
-
inputSchema: MachinesOrgListInput,
|
|
126
|
-
outputSchema: MachinesOrgListOutput,
|
|
127
|
-
errors: [Forbidden, NotFound] as const,
|
|
128
|
-
}));
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export const MachinesPatchMetadataInput =
|
|
8
|
-
/*@__PURE__*/ Schema.Struct({
|
|
9
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
10
|
-
machine_id: Schema.String.pipe(T.PathParam()),
|
|
11
|
-
}).pipe(
|
|
12
|
-
T.Http({
|
|
13
|
-
method: "PATCH",
|
|
14
|
-
path: "/apps/{app_name}/machines/{machine_id}/metadata",
|
|
15
|
-
}),
|
|
16
|
-
);
|
|
17
|
-
export type MachinesPatchMetadataInput = typeof MachinesPatchMetadataInput.Type;
|
|
18
|
-
|
|
19
|
-
// Output Schema
|
|
20
|
-
export const MachinesPatchMetadataOutput = /*@__PURE__*/ Schema.Void;
|
|
21
|
-
export type MachinesPatchMetadataOutput =
|
|
22
|
-
typeof MachinesPatchMetadataOutput.Type;
|
|
23
|
-
|
|
24
|
-
// The operation
|
|
25
|
-
/**
|
|
26
|
-
* Patch Metadata (set/remove multiple keys)
|
|
27
|
-
*
|
|
28
|
-
* Update multiple metadata keys at once. Null values and empty strings remove keys.
|
|
29
|
-
* + If `machine_version` is provided and no longer matches the current machine version, returns 412 Precondition Failed.
|
|
30
|
-
*
|
|
31
|
-
* @param app_name - Fly App Name
|
|
32
|
-
* @param machine_id - Machine ID
|
|
33
|
-
*/
|
|
34
|
-
export const MachinesPatchMetadata = /*@__PURE__*/ API.make(() => ({
|
|
35
|
-
inputSchema: MachinesPatchMetadataInput,
|
|
36
|
-
outputSchema: MachinesPatchMetadataOutput,
|
|
37
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
38
|
-
}));
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface MachinesReclaimMemoryInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
machine_id: string;
|
|
10
|
-
amount_mb?: number;
|
|
11
|
-
}
|
|
12
|
-
export const MachinesReclaimMemoryInput =
|
|
13
|
-
/*@__PURE__*/ Schema.Struct({
|
|
14
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
15
|
-
machine_id: Schema.String.pipe(T.PathParam()),
|
|
16
|
-
amount_mb: Schema.optional(Schema.Number),
|
|
17
|
-
}).pipe(
|
|
18
|
-
T.Http({
|
|
19
|
-
method: "POST",
|
|
20
|
-
path: "/apps/{app_name}/machines/{machine_id}/memory/reclaim",
|
|
21
|
-
}),
|
|
22
|
-
) as unknown as Schema.Codec<MachinesReclaimMemoryInput>;
|
|
23
|
-
|
|
24
|
-
// Output Schema
|
|
25
|
-
export interface MachinesReclaimMemoryOutput {
|
|
26
|
-
actual_mb?: number;
|
|
27
|
-
}
|
|
28
|
-
export const MachinesReclaimMemoryOutput =
|
|
29
|
-
/*@__PURE__*/ Schema.Struct({
|
|
30
|
-
actual_mb: Schema.optional(Schema.Number),
|
|
31
|
-
}) as unknown as Schema.Codec<MachinesReclaimMemoryOutput>;
|
|
32
|
-
|
|
33
|
-
// The operation
|
|
34
|
-
/**
|
|
35
|
-
* Reclaim Machine Memory
|
|
36
|
-
*
|
|
37
|
-
* Trigger the balloon device to reclaim memory from a machine
|
|
38
|
-
*
|
|
39
|
-
* @param app_name - Fly App Name
|
|
40
|
-
* @param machine_id - Machine ID
|
|
41
|
-
*/
|
|
42
|
-
export const MachinesReclaimMemory = /*@__PURE__*/ API.make(() => ({
|
|
43
|
-
inputSchema: MachinesReclaimMemoryInput,
|
|
44
|
-
outputSchema: MachinesReclaimMemoryOutput,
|
|
45
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
46
|
-
}));
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface MachinesReleaseLeaseInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
machine_id: string;
|
|
10
|
-
}
|
|
11
|
-
export const MachinesReleaseLeaseInput =
|
|
12
|
-
/*@__PURE__*/ Schema.Struct({
|
|
13
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
14
|
-
machine_id: Schema.String.pipe(T.PathParam()),
|
|
15
|
-
}).pipe(
|
|
16
|
-
T.Http({
|
|
17
|
-
method: "DELETE",
|
|
18
|
-
path: "/apps/{app_name}/machines/{machine_id}/lease",
|
|
19
|
-
}),
|
|
20
|
-
) as unknown as Schema.Codec<MachinesReleaseLeaseInput>;
|
|
21
|
-
|
|
22
|
-
// Output Schema
|
|
23
|
-
export type MachinesReleaseLeaseOutput = void;
|
|
24
|
-
export const MachinesReleaseLeaseOutput =
|
|
25
|
-
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesReleaseLeaseOutput>;
|
|
26
|
-
|
|
27
|
-
// The operation
|
|
28
|
-
/**
|
|
29
|
-
* Release Lease
|
|
30
|
-
*
|
|
31
|
-
* Release the lease of a specific Machine within an app. Machine leases can be used to obtain an exclusive lock on modifying a Machine.
|
|
32
|
-
*
|
|
33
|
-
* @param app_name - Fly App Name
|
|
34
|
-
* @param machine_id - Machine ID
|
|
35
|
-
* @param fly-machine-lease-nonce - Existing lease nonce
|
|
36
|
-
*/
|
|
37
|
-
export const MachinesReleaseLease = /*@__PURE__*/ API.make(() => ({
|
|
38
|
-
inputSchema: MachinesReleaseLeaseInput,
|
|
39
|
-
outputSchema: MachinesReleaseLeaseOutput,
|
|
40
|
-
errors: [Forbidden, NotFound] as const,
|
|
41
|
-
}));
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface MachinesRestartInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
machine_id: string;
|
|
10
|
-
timeout?: string;
|
|
11
|
-
signal?:
|
|
12
|
-
| "SIGHUP"
|
|
13
|
-
| "SIGINT"
|
|
14
|
-
| "SIGQUIT"
|
|
15
|
-
| "SIGKILL"
|
|
16
|
-
| "SIGUSR1"
|
|
17
|
-
| "SIGUSR2"
|
|
18
|
-
| "SIGTERM";
|
|
19
|
-
}
|
|
20
|
-
export const MachinesRestartInput = /*@__PURE__*/ Schema.Struct({
|
|
21
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
22
|
-
machine_id: Schema.String.pipe(T.PathParam()),
|
|
23
|
-
timeout: Schema.optional(Schema.String),
|
|
24
|
-
signal: Schema.optional(
|
|
25
|
-
Schema.Literals([
|
|
26
|
-
"SIGHUP",
|
|
27
|
-
"SIGINT",
|
|
28
|
-
"SIGQUIT",
|
|
29
|
-
"SIGKILL",
|
|
30
|
-
"SIGUSR1",
|
|
31
|
-
"SIGUSR2",
|
|
32
|
-
"SIGTERM",
|
|
33
|
-
]),
|
|
34
|
-
),
|
|
35
|
-
}).pipe(
|
|
36
|
-
T.Http({
|
|
37
|
-
method: "POST",
|
|
38
|
-
path: "/apps/{app_name}/machines/{machine_id}/restart",
|
|
39
|
-
}),
|
|
40
|
-
) as unknown as Schema.Codec<MachinesRestartInput>;
|
|
41
|
-
|
|
42
|
-
// Output Schema
|
|
43
|
-
export type MachinesRestartOutput = void;
|
|
44
|
-
export const MachinesRestartOutput =
|
|
45
|
-
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesRestartOutput>;
|
|
46
|
-
|
|
47
|
-
// The operation
|
|
48
|
-
/**
|
|
49
|
-
* Restart Machine
|
|
50
|
-
*
|
|
51
|
-
* Restart a specific Machine within an app, with an optional timeout parameter.
|
|
52
|
-
*
|
|
53
|
-
* @param app_name - Fly App Name
|
|
54
|
-
* @param machine_id - Machine ID
|
|
55
|
-
* @param timeout - Restart timeout as a Go duration string or number of seconds
|
|
56
|
-
* @param signal - Unix signal name
|
|
57
|
-
*/
|
|
58
|
-
export const MachinesRestart = /*@__PURE__*/ API.make(() => ({
|
|
59
|
-
inputSchema: MachinesRestartInput,
|
|
60
|
-
outputSchema: MachinesRestartOutput,
|
|
61
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
62
|
-
}));
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../client.ts";
|
|
3
|
-
import * as T from "../traits.ts";
|
|
4
|
-
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface MachinesSetMemoryLimitInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
machine_id: string;
|
|
10
|
-
limit_mb?: number;
|
|
11
|
-
}
|
|
12
|
-
export const MachinesSetMemoryLimitInput =
|
|
13
|
-
/*@__PURE__*/ Schema.Struct({
|
|
14
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
15
|
-
machine_id: Schema.String.pipe(T.PathParam()),
|
|
16
|
-
limit_mb: Schema.optional(Schema.Number),
|
|
17
|
-
}).pipe(
|
|
18
|
-
T.Http({
|
|
19
|
-
method: "PUT",
|
|
20
|
-
path: "/apps/{app_name}/machines/{machine_id}/memory",
|
|
21
|
-
}),
|
|
22
|
-
) as unknown as Schema.Codec<MachinesSetMemoryLimitInput>;
|
|
23
|
-
|
|
24
|
-
// Output Schema
|
|
25
|
-
export interface MachinesSetMemoryLimitOutput {
|
|
26
|
-
available_mb?: number;
|
|
27
|
-
limit_mb?: number;
|
|
28
|
-
}
|
|
29
|
-
export const MachinesSetMemoryLimitOutput =
|
|
30
|
-
/*@__PURE__*/ Schema.Struct({
|
|
31
|
-
available_mb: Schema.optional(Schema.Number),
|
|
32
|
-
limit_mb: Schema.optional(Schema.Number),
|
|
33
|
-
}) as unknown as Schema.Codec<MachinesSetMemoryLimitOutput>;
|
|
34
|
-
|
|
35
|
-
// The operation
|
|
36
|
-
/**
|
|
37
|
-
* Set Machine Memory Limit
|
|
38
|
-
*
|
|
39
|
-
* Set the memory limit for a machine using the balloon device
|
|
40
|
-
*
|
|
41
|
-
* @param app_name - Fly App Name
|
|
42
|
-
* @param machine_id - Machine ID
|
|
43
|
-
*/
|
|
44
|
-
export const MachinesSetMemoryLimit = /*@__PURE__*/ API.make(() => ({
|
|
45
|
-
inputSchema: MachinesSetMemoryLimitInput,
|
|
46
|
-
outputSchema: MachinesSetMemoryLimitOutput,
|
|
47
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
48
|
-
}));
|