@distilled.cloud/fly-io 0.0.0 → 0.2.6
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/category.d.ts +5 -0
- package/lib/category.d.ts.map +1 -0
- package/lib/category.js +5 -0
- package/lib/category.js.map +1 -0
- package/lib/client.d.ts +17 -0
- package/lib/client.d.ts.map +1 -0
- package/lib/client.js +51 -0
- package/lib/client.js.map +1 -0
- package/lib/credentials.d.ts +14 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +17 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +31 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +23 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +16 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +16 -0
- package/lib/index.js.map +1 -0
- package/lib/operations/AppCreateDeployToken.d.ts +17 -0
- package/lib/operations/AppCreateDeployToken.d.ts.map +1 -0
- package/lib/operations/AppCreateDeployToken.js +25 -0
- package/lib/operations/AppCreateDeployToken.js.map +1 -0
- package/lib/operations/App_CertificatesAcmeCreate.d.ts +57 -0
- package/lib/operations/App_CertificatesAcmeCreate.d.ts.map +1 -0
- package/lib/operations/App_CertificatesAcmeCreate.js +69 -0
- package/lib/operations/App_CertificatesAcmeCreate.js.map +1 -0
- package/lib/operations/App_CertificatesAcmeDelete.d.ts +55 -0
- package/lib/operations/App_CertificatesAcmeDelete.d.ts.map +1 -0
- package/lib/operations/App_CertificatesAcmeDelete.js +70 -0
- package/lib/operations/App_CertificatesAcmeDelete.js.map +1 -0
- package/lib/operations/App_CertificatesCheck.d.ts +64 -0
- package/lib/operations/App_CertificatesCheck.d.ts.map +1 -0
- package/lib/operations/App_CertificatesCheck.js +79 -0
- package/lib/operations/App_CertificatesCheck.js.map +1 -0
- package/lib/operations/App_CertificatesCustomCreate.d.ts +59 -0
- package/lib/operations/App_CertificatesCustomCreate.d.ts.map +1 -0
- package/lib/operations/App_CertificatesCustomCreate.js +72 -0
- package/lib/operations/App_CertificatesCustomCreate.js.map +1 -0
- package/lib/operations/App_CertificatesCustomDelete.d.ts +56 -0
- package/lib/operations/App_CertificatesCustomDelete.d.ts.map +1 -0
- package/lib/operations/App_CertificatesCustomDelete.js +72 -0
- package/lib/operations/App_CertificatesCustomDelete.js.map +1 -0
- package/lib/operations/App_CertificatesDelete.d.ts +10 -0
- package/lib/operations/App_CertificatesDelete.d.ts.map +1 -0
- package/lib/operations/App_CertificatesDelete.js +21 -0
- package/lib/operations/App_CertificatesDelete.js.map +1 -0
- package/lib/operations/App_CertificatesList.d.ts +36 -0
- package/lib/operations/App_CertificatesList.d.ts.map +1 -0
- package/lib/operations/App_CertificatesList.js +44 -0
- package/lib/operations/App_CertificatesList.js.map +1 -0
- package/lib/operations/App_CertificatesShow.d.ts +55 -0
- package/lib/operations/App_CertificatesShow.d.ts.map +1 -0
- package/lib/operations/App_CertificatesShow.js +67 -0
- package/lib/operations/App_CertificatesShow.js.map +1 -0
- package/lib/operations/App_IPAssignmentsCreate.d.ts +22 -0
- package/lib/operations/App_IPAssignmentsCreate.d.ts.map +1 -0
- package/lib/operations/App_IPAssignmentsCreate.js +30 -0
- package/lib/operations/App_IPAssignmentsCreate.js.map +1 -0
- package/lib/operations/App_IPAssignmentsDelete.d.ts +10 -0
- package/lib/operations/App_IPAssignmentsDelete.d.ts.map +1 -0
- package/lib/operations/App_IPAssignmentsDelete.js +18 -0
- package/lib/operations/App_IPAssignmentsDelete.js.map +1 -0
- package/lib/operations/App_IPAssignmentsList.d.ts +18 -0
- package/lib/operations/App_IPAssignmentsList.d.ts.map +1 -0
- package/lib/operations/App_IPAssignmentsList.js +26 -0
- package/lib/operations/App_IPAssignmentsList.js.map +1 -0
- package/lib/operations/AppsCreate.d.ts +17 -0
- package/lib/operations/AppsCreate.d.ts.map +1 -0
- package/lib/operations/AppsCreate.js +23 -0
- package/lib/operations/AppsCreate.js.map +1 -0
- package/lib/operations/AppsDelete.d.ts +16 -0
- package/lib/operations/AppsDelete.d.ts.map +1 -0
- package/lib/operations/AppsDelete.js +22 -0
- package/lib/operations/AppsDelete.js.map +1 -0
- package/lib/operations/AppsList.d.ts +34 -0
- package/lib/operations/AppsList.d.ts.map +1 -0
- package/lib/operations/AppsList.js +40 -0
- package/lib/operations/AppsList.js.map +1 -0
- package/lib/operations/AppsShow.d.ts +29 -0
- package/lib/operations/AppsShow.d.ts.map +1 -0
- package/lib/operations/AppsShow.js +35 -0
- package/lib/operations/AppsShow.js.map +1 -0
- package/lib/operations/CurrentTokenShow.d.ts +22 -0
- package/lib/operations/CurrentTokenShow.d.ts.map +1 -0
- package/lib/operations/CurrentTokenShow.js +28 -0
- package/lib/operations/CurrentTokenShow.js.map +1 -0
- package/lib/operations/MachinesCordon.d.ts +18 -0
- package/lib/operations/MachinesCordon.d.ts.map +1 -0
- package/lib/operations/MachinesCordon.js +27 -0
- package/lib/operations/MachinesCordon.js.map +1 -0
- package/lib/operations/MachinesCreate.d.ts +840 -0
- package/lib/operations/MachinesCreate.d.ts.map +1 -0
- package/lib/operations/MachinesCreate.js +888 -0
- package/lib/operations/MachinesCreate.js.map +1 -0
- package/lib/operations/MachinesCreateLease.d.ts +27 -0
- package/lib/operations/MachinesCreateLease.d.ts.map +1 -0
- package/lib/operations/MachinesCreateLease.js +38 -0
- package/lib/operations/MachinesCreateLease.js.map +1 -0
- package/lib/operations/MachinesDelete.d.ts +20 -0
- package/lib/operations/MachinesDelete.d.ts.map +1 -0
- package/lib/operations/MachinesDelete.js +26 -0
- package/lib/operations/MachinesDelete.js.map +1 -0
- package/lib/operations/MachinesDeleteMetadata.d.ts +20 -0
- package/lib/operations/MachinesDeleteMetadata.d.ts.map +1 -0
- package/lib/operations/MachinesDeleteMetadata.js +31 -0
- package/lib/operations/MachinesDeleteMetadata.js.map +1 -0
- package/lib/operations/MachinesExec.d.ts +28 -0
- package/lib/operations/MachinesExec.d.ts.map +1 -0
- package/lib/operations/MachinesExec.js +37 -0
- package/lib/operations/MachinesExec.js.map +1 -0
- package/lib/operations/MachinesGetMemory.d.ts +21 -0
- package/lib/operations/MachinesGetMemory.d.ts.map +1 -0
- package/lib/operations/MachinesGetMemory.js +31 -0
- package/lib/operations/MachinesGetMemory.js.map +1 -0
- package/lib/operations/MachinesList.d.ts +578 -0
- package/lib/operations/MachinesList.d.ts.map +1 -0
- package/lib/operations/MachinesList.js +622 -0
- package/lib/operations/MachinesList.js.map +1 -0
- package/lib/operations/MachinesListEvents.d.ts +27 -0
- package/lib/operations/MachinesListEvents.d.ts.map +1 -0
- package/lib/operations/MachinesListEvents.js +38 -0
- package/lib/operations/MachinesListEvents.js.map +1 -0
- package/lib/operations/MachinesListProcesses.d.ts +34 -0
- package/lib/operations/MachinesListProcesses.d.ts.map +1 -0
- package/lib/operations/MachinesListProcesses.js +45 -0
- package/lib/operations/MachinesListProcesses.js.map +1 -0
- package/lib/operations/MachinesListVersions.d.ts +281 -0
- package/lib/operations/MachinesListVersions.d.ts.map +1 -0
- package/lib/operations/MachinesListVersions.js +311 -0
- package/lib/operations/MachinesListVersions.js.map +1 -0
- package/lib/operations/MachinesOrgList.d.ts +45 -0
- package/lib/operations/MachinesOrgList.d.ts.map +1 -0
- package/lib/operations/MachinesOrgList.js +51 -0
- package/lib/operations/MachinesOrgList.js.map +1 -0
- package/lib/operations/MachinesPatchMetadata.d.ts +19 -0
- package/lib/operations/MachinesPatchMetadata.d.ts.map +1 -0
- package/lib/operations/MachinesPatchMetadata.js +30 -0
- package/lib/operations/MachinesPatchMetadata.js.map +1 -0
- package/lib/operations/MachinesReclaimMemory.d.ts +21 -0
- package/lib/operations/MachinesReclaimMemory.d.ts.map +1 -0
- package/lib/operations/MachinesReclaimMemory.js +32 -0
- package/lib/operations/MachinesReclaimMemory.js.map +1 -0
- package/lib/operations/MachinesReleaseLease.d.ts +19 -0
- package/lib/operations/MachinesReleaseLease.d.ts.map +1 -0
- package/lib/operations/MachinesReleaseLease.js +30 -0
- package/lib/operations/MachinesReleaseLease.js.map +1 -0
- package/lib/operations/MachinesRestart.d.ts +22 -0
- package/lib/operations/MachinesRestart.d.ts.map +1 -0
- package/lib/operations/MachinesRestart.js +31 -0
- package/lib/operations/MachinesRestart.js.map +1 -0
- package/lib/operations/MachinesSetMemoryLimit.d.ts +22 -0
- package/lib/operations/MachinesSetMemoryLimit.d.ts.map +1 -0
- package/lib/operations/MachinesSetMemoryLimit.js +33 -0
- package/lib/operations/MachinesSetMemoryLimit.js.map +1 -0
- package/lib/operations/MachinesShow.d.ts +572 -0
- package/lib/operations/MachinesShow.d.ts.map +1 -0
- package/lib/operations/MachinesShow.js +606 -0
- package/lib/operations/MachinesShow.js.map +1 -0
- package/lib/operations/MachinesShowLease.d.ts +24 -0
- package/lib/operations/MachinesShowLease.d.ts.map +1 -0
- package/lib/operations/MachinesShowLease.js +34 -0
- package/lib/operations/MachinesShowLease.js.map +1 -0
- package/lib/operations/MachinesShowMetadata.d.ts +18 -0
- package/lib/operations/MachinesShowMetadata.d.ts.map +1 -0
- package/lib/operations/MachinesShowMetadata.js +29 -0
- package/lib/operations/MachinesShowMetadata.js.map +1 -0
- package/lib/operations/MachinesSignal.d.ts +19 -0
- package/lib/operations/MachinesSignal.d.ts.map +1 -0
- package/lib/operations/MachinesSignal.js +42 -0
- package/lib/operations/MachinesSignal.js.map +1 -0
- package/lib/operations/MachinesStart.d.ts +18 -0
- package/lib/operations/MachinesStart.d.ts.map +1 -0
- package/lib/operations/MachinesStart.js +27 -0
- package/lib/operations/MachinesStart.js.map +1 -0
- package/lib/operations/MachinesStop.d.ts +22 -0
- package/lib/operations/MachinesStop.d.ts.map +1 -0
- package/lib/operations/MachinesStop.js +31 -0
- package/lib/operations/MachinesStop.js.map +1 -0
- package/lib/operations/MachinesSuspend.d.ts +18 -0
- package/lib/operations/MachinesSuspend.d.ts.map +1 -0
- package/lib/operations/MachinesSuspend.js +27 -0
- package/lib/operations/MachinesSuspend.js.map +1 -0
- package/lib/operations/MachinesUncordon.d.ts +18 -0
- package/lib/operations/MachinesUncordon.d.ts.map +1 -0
- package/lib/operations/MachinesUncordon.js +27 -0
- package/lib/operations/MachinesUncordon.js.map +1 -0
- package/lib/operations/MachinesUpdate.d.ts +842 -0
- package/lib/operations/MachinesUpdate.d.ts.map +1 -0
- package/lib/operations/MachinesUpdate.js +890 -0
- package/lib/operations/MachinesUpdate.js.map +1 -0
- package/lib/operations/MachinesUpdateMetadata.d.ts +20 -0
- package/lib/operations/MachinesUpdateMetadata.d.ts.map +1 -0
- package/lib/operations/MachinesUpdateMetadata.js +31 -0
- package/lib/operations/MachinesUpdateMetadata.js.map +1 -0
- package/lib/operations/MachinesWait.d.ts +28 -0
- package/lib/operations/MachinesWait.d.ts.map +1 -0
- package/lib/operations/MachinesWait.js +43 -0
- package/lib/operations/MachinesWait.js.map +1 -0
- package/lib/operations/PlatformPlacementsPost.d.ts +35 -0
- package/lib/operations/PlatformPlacementsPost.d.ts.map +1 -0
- package/lib/operations/PlatformPlacementsPost.js +43 -0
- package/lib/operations/PlatformPlacementsPost.js.map +1 -0
- package/lib/operations/PlatformRegionsGet.d.ts +39 -0
- package/lib/operations/PlatformRegionsGet.d.ts.map +1 -0
- package/lib/operations/PlatformRegionsGet.js +47 -0
- package/lib/operations/PlatformRegionsGet.js.map +1 -0
- package/lib/operations/SecretCreate.d.ts +25 -0
- package/lib/operations/SecretCreate.d.ts.map +1 -0
- package/lib/operations/SecretCreate.js +31 -0
- package/lib/operations/SecretCreate.js.map +1 -0
- package/lib/operations/SecretDelete.d.ts +19 -0
- package/lib/operations/SecretDelete.d.ts.map +1 -0
- package/lib/operations/SecretDelete.js +25 -0
- package/lib/operations/SecretDelete.js.map +1 -0
- package/lib/operations/SecretGet.d.ts +26 -0
- package/lib/operations/SecretGet.d.ts.map +1 -0
- package/lib/operations/SecretGet.js +32 -0
- package/lib/operations/SecretGet.js.map +1 -0
- package/lib/operations/SecretkeyDecrypt.d.ts +22 -0
- package/lib/operations/SecretkeyDecrypt.d.ts.map +1 -0
- package/lib/operations/SecretkeyDecrypt.js +31 -0
- package/lib/operations/SecretkeyDecrypt.js.map +1 -0
- package/lib/operations/SecretkeyDelete.d.ts +19 -0
- package/lib/operations/SecretkeyDelete.d.ts.map +1 -0
- package/lib/operations/SecretkeyDelete.js +28 -0
- package/lib/operations/SecretkeyDelete.js.map +1 -0
- package/lib/operations/SecretkeyEncrypt.d.ts +22 -0
- package/lib/operations/SecretkeyEncrypt.d.ts.map +1 -0
- package/lib/operations/SecretkeyEncrypt.js +31 -0
- package/lib/operations/SecretkeyEncrypt.js.map +1 -0
- package/lib/operations/SecretkeyGenerate.d.ts +26 -0
- package/lib/operations/SecretkeyGenerate.d.ts.map +1 -0
- package/lib/operations/SecretkeyGenerate.js +36 -0
- package/lib/operations/SecretkeyGenerate.js.map +1 -0
- package/lib/operations/SecretkeyGet.d.ts +24 -0
- package/lib/operations/SecretkeyGet.d.ts.map +1 -0
- package/lib/operations/SecretkeyGet.js +30 -0
- package/lib/operations/SecretkeyGet.js.map +1 -0
- package/lib/operations/SecretkeySet.d.ts +26 -0
- package/lib/operations/SecretkeySet.d.ts.map +1 -0
- package/lib/operations/SecretkeySet.js +32 -0
- package/lib/operations/SecretkeySet.js.map +1 -0
- package/lib/operations/SecretkeySign.d.ts +21 -0
- package/lib/operations/SecretkeySign.d.ts.map +1 -0
- package/lib/operations/SecretkeySign.js +30 -0
- package/lib/operations/SecretkeySign.js.map +1 -0
- package/lib/operations/SecretkeyVerify.d.ts +20 -0
- package/lib/operations/SecretkeyVerify.d.ts.map +1 -0
- package/lib/operations/SecretkeyVerify.js +29 -0
- package/lib/operations/SecretkeyVerify.js.map +1 -0
- package/lib/operations/SecretkeysList.d.ts +26 -0
- package/lib/operations/SecretkeysList.d.ts.map +1 -0
- package/lib/operations/SecretkeysList.js +32 -0
- package/lib/operations/SecretkeysList.js.map +1 -0
- package/lib/operations/SecretsList.d.ts +26 -0
- package/lib/operations/SecretsList.d.ts.map +1 -0
- package/lib/operations/SecretsList.js +32 -0
- package/lib/operations/SecretsList.js.map +1 -0
- package/lib/operations/SecretsUpdate.d.ts +25 -0
- package/lib/operations/SecretsUpdate.d.ts.map +1 -0
- package/lib/operations/SecretsUpdate.js +31 -0
- package/lib/operations/SecretsUpdate.js.map +1 -0
- package/lib/operations/TokensRequest_Kms.d.ts +12 -0
- package/lib/operations/TokensRequest_Kms.d.ts.map +1 -0
- package/lib/operations/TokensRequest_Kms.js +19 -0
- package/lib/operations/TokensRequest_Kms.js.map +1 -0
- package/lib/operations/TokensRequest_OIDC.d.ts +15 -0
- package/lib/operations/TokensRequest_OIDC.d.ts.map +1 -0
- package/lib/operations/TokensRequest_OIDC.js +23 -0
- package/lib/operations/TokensRequest_OIDC.js.map +1 -0
- package/lib/operations/VolumeDelete.d.ts +39 -0
- package/lib/operations/VolumeDelete.d.ts.map +1 -0
- package/lib/operations/VolumeDelete.js +45 -0
- package/lib/operations/VolumeDelete.js.map +1 -0
- package/lib/operations/VolumesCreate.d.ts +59 -0
- package/lib/operations/VolumesCreate.d.ts.map +1 -0
- package/lib/operations/VolumesCreate.js +65 -0
- package/lib/operations/VolumesCreate.js.map +1 -0
- package/lib/operations/VolumesExtend.d.ts +43 -0
- package/lib/operations/VolumesExtend.d.ts.map +1 -0
- package/lib/operations/VolumesExtend.js +52 -0
- package/lib/operations/VolumesExtend.js.map +1 -0
- package/lib/operations/VolumesGetById.d.ts +39 -0
- package/lib/operations/VolumesGetById.d.ts.map +1 -0
- package/lib/operations/VolumesGetById.js +45 -0
- package/lib/operations/VolumesGetById.js.map +1 -0
- package/lib/operations/VolumesList.d.ts +39 -0
- package/lib/operations/VolumesList.d.ts.map +1 -0
- package/lib/operations/VolumesList.js +45 -0
- package/lib/operations/VolumesList.js.map +1 -0
- package/lib/operations/VolumesListSnapshots.d.ts +26 -0
- package/lib/operations/VolumesListSnapshots.d.ts.map +1 -0
- package/lib/operations/VolumesListSnapshots.js +37 -0
- package/lib/operations/VolumesListSnapshots.js.map +1 -0
- package/lib/operations/VolumesUpdate.d.ts +41 -0
- package/lib/operations/VolumesUpdate.d.ts.map +1 -0
- package/lib/operations/VolumesUpdate.js +47 -0
- package/lib/operations/VolumesUpdate.js.map +1 -0
- package/lib/operations/createVolumeSnapshot.d.ts +18 -0
- package/lib/operations/createVolumeSnapshot.d.ts.map +1 -0
- package/lib/operations/createVolumeSnapshot.js +29 -0
- package/lib/operations/createVolumeSnapshot.js.map +1 -0
- package/lib/operations/index.d.ts +72 -0
- package/lib/operations/index.d.ts.map +1 -0
- package/lib/operations/index.js +72 -0
- package/lib/operations/index.js.map +1 -0
- package/lib/retry.d.ts +22 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +21 -0
- package/lib/retry.js.map +1 -0
- package/lib/sensitive.d.ts +5 -0
- package/lib/sensitive.d.ts.map +1 -0
- package/lib/sensitive.js +5 -0
- package/lib/sensitive.js.map +1 -0
- package/lib/traits.d.ts +5 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +5 -0
- package/lib/traits.js.map +1 -0
- package/package.json +81 -9
- package/src/category.ts +4 -0
- package/src/client.ts +62 -0
- package/src/credentials.ts +30 -0
- package/src/errors.ts +47 -0
- package/src/index.ts +15 -0
- package/src/operations/AppCreateDeployToken.ts +31 -0
- package/src/operations/App_CertificatesAcmeCreate.ts +101 -0
- package/src/operations/App_CertificatesAcmeDelete.ts +102 -0
- package/src/operations/App_CertificatesCheck.ts +112 -0
- package/src/operations/App_CertificatesCustomCreate.ts +102 -0
- package/src/operations/App_CertificatesCustomDelete.ts +102 -0
- package/src/operations/App_CertificatesDelete.ts +31 -0
- package/src/operations/App_CertificatesList.ts +54 -0
- package/src/operations/App_CertificatesShow.ts +97 -0
- package/src/operations/App_IPAssignmentsCreate.ts +38 -0
- package/src/operations/App_IPAssignmentsDelete.ts +28 -0
- package/src/operations/App_IPAssignmentsList.ts +39 -0
- package/src/operations/AppsCreate.ts +27 -0
- package/src/operations/AppsDelete.ts +26 -0
- package/src/operations/AppsList.ts +50 -0
- package/src/operations/AppsShow.ts +41 -0
- package/src/operations/CurrentTokenShow.ts +40 -0
- package/src/operations/MachinesCordon.ts +33 -0
- package/src/operations/MachinesCreate.ts +1393 -0
- package/src/operations/MachinesCreateLease.ts +44 -0
- package/src/operations/MachinesDelete.ts +32 -0
- package/src/operations/MachinesDeleteMetadata.ts +41 -0
- package/src/operations/MachinesExec.ts +43 -0
- package/src/operations/MachinesGetMemory.ts +39 -0
- package/src/operations/MachinesList.ts +966 -0
- package/src/operations/MachinesListEvents.ts +46 -0
- package/src/operations/MachinesListProcesses.ts +60 -0
- package/src/operations/MachinesListVersions.ts +494 -0
- package/src/operations/MachinesOrgList.ts +59 -0
- package/src/operations/MachinesPatchMetadata.ts +39 -0
- package/src/operations/MachinesReclaimMemory.ts +41 -0
- package/src/operations/MachinesReleaseLease.ts +38 -0
- package/src/operations/MachinesRestart.ts +37 -0
- package/src/operations/MachinesSetMemoryLimit.ts +43 -0
- package/src/operations/MachinesShow.ts +950 -0
- package/src/operations/MachinesShowLease.ts +42 -0
- package/src/operations/MachinesShowMetadata.ts +37 -0
- package/src/operations/MachinesSignal.ts +50 -0
- package/src/operations/MachinesStart.ts +33 -0
- package/src/operations/MachinesStop.ts +39 -0
- package/src/operations/MachinesSuspend.ts +33 -0
- package/src/operations/MachinesUncordon.ts +33 -0
- package/src/operations/MachinesUpdate.ts +1397 -0
- package/src/operations/MachinesUpdateMetadata.ts +41 -0
- package/src/operations/MachinesWait.ts +51 -0
- package/src/operations/PlatformPlacementsPost.ts +59 -0
- package/src/operations/PlatformRegionsGet.ts +55 -0
- package/src/operations/SecretCreate.ts +37 -0
- package/src/operations/SecretDelete.ts +31 -0
- package/src/operations/SecretGet.ts +38 -0
- package/src/operations/SecretkeyDecrypt.ts +39 -0
- package/src/operations/SecretkeyDelete.ts +34 -0
- package/src/operations/SecretkeyEncrypt.ts +39 -0
- package/src/operations/SecretkeyGenerate.ts +44 -0
- package/src/operations/SecretkeyGet.ts +36 -0
- package/src/operations/SecretkeySet.ts +38 -0
- package/src/operations/SecretkeySign.ts +36 -0
- package/src/operations/SecretkeyVerify.ts +35 -0
- package/src/operations/SecretkeysList.ts +40 -0
- package/src/operations/SecretsList.ts +40 -0
- package/src/operations/SecretsUpdate.ts +39 -0
- package/src/operations/TokensRequest_Kms.ts +25 -0
- package/src/operations/TokensRequest_OIDC.ts +27 -0
- package/src/operations/VolumeDelete.ts +53 -0
- package/src/operations/VolumesCreate.ts +75 -0
- package/src/operations/VolumesExtend.ts +62 -0
- package/src/operations/VolumesGetById.ts +53 -0
- package/src/operations/VolumesList.ts +53 -0
- package/src/operations/VolumesListSnapshots.ts +47 -0
- package/src/operations/VolumesUpdate.ts +55 -0
- package/src/operations/createVolumeSnapshot.ts +37 -0
- package/src/operations/index.ts +71 -0
- package/src/retry.ts +35 -0
- package/src/sensitive.ts +4 -0
- package/src/traits.ts +4 -0
- package/index.js +0 -2
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const SecretsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
min_version: Schema.optional(Schema.String),
|
|
9
|
+
show_secrets: Schema.optional(Schema.Boolean),
|
|
10
|
+
}).pipe(T.Http({ method: "GET", path: "/apps/{app_name}/secrets" }));
|
|
11
|
+
export type SecretsListInput = typeof SecretsListInput.Type;
|
|
12
|
+
|
|
13
|
+
// Output Schema
|
|
14
|
+
export const SecretsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15
|
+
secrets: Schema.optional(
|
|
16
|
+
Schema.Array(
|
|
17
|
+
Schema.Struct({
|
|
18
|
+
created_at: Schema.optional(Schema.String),
|
|
19
|
+
digest: Schema.optional(Schema.String),
|
|
20
|
+
name: Schema.optional(Schema.String),
|
|
21
|
+
updated_at: Schema.optional(Schema.String),
|
|
22
|
+
value: Schema.optional(Schema.String),
|
|
23
|
+
}),
|
|
24
|
+
),
|
|
25
|
+
),
|
|
26
|
+
});
|
|
27
|
+
export type SecretsListOutput = typeof SecretsListOutput.Type;
|
|
28
|
+
|
|
29
|
+
// The operation
|
|
30
|
+
/**
|
|
31
|
+
* List app secrets belonging to an app
|
|
32
|
+
*
|
|
33
|
+
* @param app_name - Fly App Name
|
|
34
|
+
* @param min_version - Minimum secrets version to return. Returned when setting a new secret
|
|
35
|
+
* @param show_secrets - Show the secret values.
|
|
36
|
+
*/
|
|
37
|
+
export const SecretsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
38
|
+
inputSchema: SecretsListInput,
|
|
39
|
+
outputSchema: SecretsListOutput,
|
|
40
|
+
}));
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const SecretsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
values: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
9
|
+
}).pipe(T.Http({ method: "POST", path: "/apps/{app_name}/secrets" }));
|
|
10
|
+
export type SecretsUpdateInput = typeof SecretsUpdateInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const SecretsUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
+
Version: Schema.optional(Schema.Number),
|
|
15
|
+
secrets: Schema.optional(
|
|
16
|
+
Schema.Array(
|
|
17
|
+
Schema.Struct({
|
|
18
|
+
created_at: Schema.optional(Schema.String),
|
|
19
|
+
digest: Schema.optional(Schema.String),
|
|
20
|
+
name: Schema.optional(Schema.String),
|
|
21
|
+
updated_at: Schema.optional(Schema.String),
|
|
22
|
+
value: Schema.optional(Schema.String),
|
|
23
|
+
}),
|
|
24
|
+
),
|
|
25
|
+
),
|
|
26
|
+
version: Schema.optional(Schema.Number),
|
|
27
|
+
});
|
|
28
|
+
export type SecretsUpdateOutput = typeof SecretsUpdateOutput.Type;
|
|
29
|
+
|
|
30
|
+
// The operation
|
|
31
|
+
/**
|
|
32
|
+
* Update app secrets belonging to an app
|
|
33
|
+
*
|
|
34
|
+
* @param app_name - Fly App Name
|
|
35
|
+
*/
|
|
36
|
+
export const SecretsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
37
|
+
inputSchema: SecretsUpdateInput,
|
|
38
|
+
outputSchema: SecretsUpdateOutput,
|
|
39
|
+
}));
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const TokensRequest_KmsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
7
|
+
{},
|
|
8
|
+
).pipe(T.Http({ method: "POST", path: "/tokens/kms" }));
|
|
9
|
+
export type TokensRequest_KmsInput = typeof TokensRequest_KmsInput.Type;
|
|
10
|
+
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const TokensRequest_KmsOutput =
|
|
13
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.String;
|
|
14
|
+
export type TokensRequest_KmsOutput = typeof TokensRequest_KmsOutput.Type;
|
|
15
|
+
|
|
16
|
+
// The operation
|
|
17
|
+
/**
|
|
18
|
+
* Request a Petsem token for accessing KMS
|
|
19
|
+
*
|
|
20
|
+
* This site hosts documentation generated from the Fly.io Machines API OpenAPI specification. Visit our complete [Machines API docs](https://fly.io/docs/machines/api/apps-resource/) for details about using the Apps resource.
|
|
21
|
+
*/
|
|
22
|
+
export const TokensRequest_Kms = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
23
|
+
inputSchema: TokensRequest_KmsInput,
|
|
24
|
+
outputSchema: TokensRequest_KmsOutput,
|
|
25
|
+
}));
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const TokensRequest_OIDCInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
aud: Schema.optional(Schema.String),
|
|
9
|
+
aws_principal_tags: Schema.optional(Schema.Boolean),
|
|
10
|
+
}).pipe(T.Http({ method: "POST", path: "/tokens/oidc" }));
|
|
11
|
+
export type TokensRequest_OIDCInput = typeof TokensRequest_OIDCInput.Type;
|
|
12
|
+
|
|
13
|
+
// Output Schema
|
|
14
|
+
export const TokensRequest_OIDCOutput =
|
|
15
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.String;
|
|
16
|
+
export type TokensRequest_OIDCOutput = typeof TokensRequest_OIDCOutput.Type;
|
|
17
|
+
|
|
18
|
+
// The operation
|
|
19
|
+
/**
|
|
20
|
+
* Request an OIDC token
|
|
21
|
+
*
|
|
22
|
+
* Request an Open ID Connect token for your machine. Customize the audience claim with the `aud` parameter. This returns a JWT token. Learn more about [using OpenID Connect](/docs/reference/openid-connect/) on Fly.io.
|
|
23
|
+
*/
|
|
24
|
+
export const TokensRequest_OIDC = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
25
|
+
inputSchema: TokensRequest_OIDCInput,
|
|
26
|
+
outputSchema: TokensRequest_OIDCOutput,
|
|
27
|
+
}));
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const VolumeDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
volume_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(
|
|
10
|
+
T.Http({ method: "DELETE", path: "/apps/{app_name}/volumes/{volume_id}" }),
|
|
11
|
+
);
|
|
12
|
+
export type VolumeDeleteInput = typeof VolumeDeleteInput.Type;
|
|
13
|
+
|
|
14
|
+
// Output Schema
|
|
15
|
+
export const VolumeDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
16
|
+
attached_alloc_id: Schema.optional(Schema.String),
|
|
17
|
+
attached_machine_id: Schema.optional(Schema.String),
|
|
18
|
+
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
19
|
+
block_size: Schema.optional(Schema.Number),
|
|
20
|
+
blocks: Schema.optional(Schema.Number),
|
|
21
|
+
blocks_avail: Schema.optional(Schema.Number),
|
|
22
|
+
blocks_free: Schema.optional(Schema.Number),
|
|
23
|
+
bytes_total: Schema.optional(Schema.Number),
|
|
24
|
+
bytes_used: Schema.optional(Schema.Number),
|
|
25
|
+
created_at: Schema.optional(Schema.String),
|
|
26
|
+
encrypted: Schema.optional(Schema.Boolean),
|
|
27
|
+
fstype: Schema.optional(Schema.String),
|
|
28
|
+
host_status: Schema.optional(
|
|
29
|
+
Schema.Literals(["ok", "unknown", "unreachable"]),
|
|
30
|
+
),
|
|
31
|
+
id: Schema.optional(Schema.String),
|
|
32
|
+
name: Schema.optional(Schema.String),
|
|
33
|
+
region: Schema.optional(Schema.String),
|
|
34
|
+
size_gb: Schema.optional(Schema.Number),
|
|
35
|
+
snapshot_retention: Schema.optional(Schema.Number),
|
|
36
|
+
state: Schema.optional(Schema.String),
|
|
37
|
+
zone: Schema.optional(Schema.String),
|
|
38
|
+
});
|
|
39
|
+
export type VolumeDeleteOutput = typeof VolumeDeleteOutput.Type;
|
|
40
|
+
|
|
41
|
+
// The operation
|
|
42
|
+
/**
|
|
43
|
+
* Destroy Volume
|
|
44
|
+
*
|
|
45
|
+
* Delete a specific volume within an app by volume ID.
|
|
46
|
+
*
|
|
47
|
+
* @param app_name - Fly App Name
|
|
48
|
+
* @param volume_id - Volume ID
|
|
49
|
+
*/
|
|
50
|
+
export const VolumeDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
51
|
+
inputSchema: VolumeDeleteInput,
|
|
52
|
+
outputSchema: VolumeDeleteOutput,
|
|
53
|
+
}));
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const VolumesCreateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
9
|
+
compute: Schema.optional(
|
|
10
|
+
Schema.Struct({
|
|
11
|
+
cpu_kind: Schema.optional(Schema.String),
|
|
12
|
+
cpus: Schema.optional(Schema.Number),
|
|
13
|
+
gpu_kind: Schema.optional(Schema.String),
|
|
14
|
+
gpus: Schema.optional(Schema.Number),
|
|
15
|
+
host_dedication_id: Schema.optional(Schema.String),
|
|
16
|
+
kernel_args: Schema.optional(Schema.Array(Schema.String)),
|
|
17
|
+
memory_mb: Schema.optional(Schema.Number),
|
|
18
|
+
persist_rootfs: Schema.optional(
|
|
19
|
+
Schema.Literals(["never", "always", "restart"]),
|
|
20
|
+
),
|
|
21
|
+
}),
|
|
22
|
+
),
|
|
23
|
+
compute_image: Schema.optional(Schema.String),
|
|
24
|
+
encrypted: Schema.optional(Schema.Boolean),
|
|
25
|
+
fstype: Schema.optional(Schema.String),
|
|
26
|
+
name: Schema.optional(Schema.String),
|
|
27
|
+
region: Schema.optional(Schema.String),
|
|
28
|
+
require_unique_zone: Schema.optional(Schema.Boolean),
|
|
29
|
+
size_gb: Schema.optional(Schema.Number),
|
|
30
|
+
snapshot_id: Schema.optional(Schema.String),
|
|
31
|
+
snapshot_retention: Schema.optional(Schema.Number),
|
|
32
|
+
source_volume_id: Schema.optional(Schema.String),
|
|
33
|
+
unique_zone_app_wide: Schema.optional(Schema.Boolean),
|
|
34
|
+
}).pipe(T.Http({ method: "POST", path: "/apps/{app_name}/volumes" }));
|
|
35
|
+
export type VolumesCreateInput = typeof VolumesCreateInput.Type;
|
|
36
|
+
|
|
37
|
+
// Output Schema
|
|
38
|
+
export const VolumesCreateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
39
|
+
attached_alloc_id: Schema.optional(Schema.String),
|
|
40
|
+
attached_machine_id: Schema.optional(Schema.String),
|
|
41
|
+
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
42
|
+
block_size: Schema.optional(Schema.Number),
|
|
43
|
+
blocks: Schema.optional(Schema.Number),
|
|
44
|
+
blocks_avail: Schema.optional(Schema.Number),
|
|
45
|
+
blocks_free: Schema.optional(Schema.Number),
|
|
46
|
+
bytes_total: Schema.optional(Schema.Number),
|
|
47
|
+
bytes_used: Schema.optional(Schema.Number),
|
|
48
|
+
created_at: Schema.optional(Schema.String),
|
|
49
|
+
encrypted: Schema.optional(Schema.Boolean),
|
|
50
|
+
fstype: Schema.optional(Schema.String),
|
|
51
|
+
host_status: Schema.optional(
|
|
52
|
+
Schema.Literals(["ok", "unknown", "unreachable"]),
|
|
53
|
+
),
|
|
54
|
+
id: Schema.optional(Schema.String),
|
|
55
|
+
name: Schema.optional(Schema.String),
|
|
56
|
+
region: Schema.optional(Schema.String),
|
|
57
|
+
size_gb: Schema.optional(Schema.Number),
|
|
58
|
+
snapshot_retention: Schema.optional(Schema.Number),
|
|
59
|
+
state: Schema.optional(Schema.String),
|
|
60
|
+
zone: Schema.optional(Schema.String),
|
|
61
|
+
});
|
|
62
|
+
export type VolumesCreateOutput = typeof VolumesCreateOutput.Type;
|
|
63
|
+
|
|
64
|
+
// The operation
|
|
65
|
+
/**
|
|
66
|
+
* Create Volume
|
|
67
|
+
*
|
|
68
|
+
* Create a volume for a specific app using the details provided in the request body.
|
|
69
|
+
*
|
|
70
|
+
* @param app_name - Fly App Name
|
|
71
|
+
*/
|
|
72
|
+
export const VolumesCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
73
|
+
inputSchema: VolumesCreateInput,
|
|
74
|
+
outputSchema: VolumesCreateOutput,
|
|
75
|
+
}));
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const VolumesExtendInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
volume_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
size_gb: Schema.optional(Schema.Number),
|
|
10
|
+
}).pipe(
|
|
11
|
+
T.Http({
|
|
12
|
+
method: "PUT",
|
|
13
|
+
path: "/apps/{app_name}/volumes/{volume_id}/extend",
|
|
14
|
+
}),
|
|
15
|
+
);
|
|
16
|
+
export type VolumesExtendInput = typeof VolumesExtendInput.Type;
|
|
17
|
+
|
|
18
|
+
// Output Schema
|
|
19
|
+
export const VolumesExtendOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
20
|
+
needs_restart: Schema.optional(Schema.Boolean),
|
|
21
|
+
volume: Schema.optional(
|
|
22
|
+
Schema.Struct({
|
|
23
|
+
attached_alloc_id: Schema.optional(Schema.String),
|
|
24
|
+
attached_machine_id: Schema.optional(Schema.String),
|
|
25
|
+
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
26
|
+
block_size: Schema.optional(Schema.Number),
|
|
27
|
+
blocks: Schema.optional(Schema.Number),
|
|
28
|
+
blocks_avail: Schema.optional(Schema.Number),
|
|
29
|
+
blocks_free: Schema.optional(Schema.Number),
|
|
30
|
+
bytes_total: Schema.optional(Schema.Number),
|
|
31
|
+
bytes_used: Schema.optional(Schema.Number),
|
|
32
|
+
created_at: Schema.optional(Schema.String),
|
|
33
|
+
encrypted: Schema.optional(Schema.Boolean),
|
|
34
|
+
fstype: Schema.optional(Schema.String),
|
|
35
|
+
host_status: Schema.optional(
|
|
36
|
+
Schema.Literals(["ok", "unknown", "unreachable"]),
|
|
37
|
+
),
|
|
38
|
+
id: Schema.optional(Schema.String),
|
|
39
|
+
name: Schema.optional(Schema.String),
|
|
40
|
+
region: Schema.optional(Schema.String),
|
|
41
|
+
size_gb: Schema.optional(Schema.Number),
|
|
42
|
+
snapshot_retention: Schema.optional(Schema.Number),
|
|
43
|
+
state: Schema.optional(Schema.String),
|
|
44
|
+
zone: Schema.optional(Schema.String),
|
|
45
|
+
}),
|
|
46
|
+
),
|
|
47
|
+
});
|
|
48
|
+
export type VolumesExtendOutput = typeof VolumesExtendOutput.Type;
|
|
49
|
+
|
|
50
|
+
// The operation
|
|
51
|
+
/**
|
|
52
|
+
* Extend Volume
|
|
53
|
+
*
|
|
54
|
+
* Extend a volume's size within an app using the details provided in the request body.
|
|
55
|
+
*
|
|
56
|
+
* @param app_name - Fly App Name
|
|
57
|
+
* @param volume_id - Volume ID
|
|
58
|
+
*/
|
|
59
|
+
export const VolumesExtend = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
60
|
+
inputSchema: VolumesExtendInput,
|
|
61
|
+
outputSchema: VolumesExtendOutput,
|
|
62
|
+
}));
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const VolumesGetByIdInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
volume_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(
|
|
10
|
+
T.Http({ method: "GET", path: "/apps/{app_name}/volumes/{volume_id}" }),
|
|
11
|
+
);
|
|
12
|
+
export type VolumesGetByIdInput = typeof VolumesGetByIdInput.Type;
|
|
13
|
+
|
|
14
|
+
// Output Schema
|
|
15
|
+
export const VolumesGetByIdOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
16
|
+
attached_alloc_id: Schema.optional(Schema.String),
|
|
17
|
+
attached_machine_id: Schema.optional(Schema.String),
|
|
18
|
+
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
19
|
+
block_size: Schema.optional(Schema.Number),
|
|
20
|
+
blocks: Schema.optional(Schema.Number),
|
|
21
|
+
blocks_avail: Schema.optional(Schema.Number),
|
|
22
|
+
blocks_free: Schema.optional(Schema.Number),
|
|
23
|
+
bytes_total: Schema.optional(Schema.Number),
|
|
24
|
+
bytes_used: Schema.optional(Schema.Number),
|
|
25
|
+
created_at: Schema.optional(Schema.String),
|
|
26
|
+
encrypted: Schema.optional(Schema.Boolean),
|
|
27
|
+
fstype: Schema.optional(Schema.String),
|
|
28
|
+
host_status: Schema.optional(
|
|
29
|
+
Schema.Literals(["ok", "unknown", "unreachable"]),
|
|
30
|
+
),
|
|
31
|
+
id: Schema.optional(Schema.String),
|
|
32
|
+
name: Schema.optional(Schema.String),
|
|
33
|
+
region: Schema.optional(Schema.String),
|
|
34
|
+
size_gb: Schema.optional(Schema.Number),
|
|
35
|
+
snapshot_retention: Schema.optional(Schema.Number),
|
|
36
|
+
state: Schema.optional(Schema.String),
|
|
37
|
+
zone: Schema.optional(Schema.String),
|
|
38
|
+
});
|
|
39
|
+
export type VolumesGetByIdOutput = typeof VolumesGetByIdOutput.Type;
|
|
40
|
+
|
|
41
|
+
// The operation
|
|
42
|
+
/**
|
|
43
|
+
* Get Volume
|
|
44
|
+
*
|
|
45
|
+
* Retrieve details about a specific volume by its ID within an app.
|
|
46
|
+
*
|
|
47
|
+
* @param app_name - Fly App Name
|
|
48
|
+
* @param volume_id - Volume ID
|
|
49
|
+
*/
|
|
50
|
+
export const VolumesGetById = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
51
|
+
inputSchema: VolumesGetByIdInput,
|
|
52
|
+
outputSchema: VolumesGetByIdOutput,
|
|
53
|
+
}));
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const VolumesListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
summary: Schema.optional(Schema.Boolean),
|
|
9
|
+
}).pipe(T.Http({ method: "GET", path: "/apps/{app_name}/volumes" }));
|
|
10
|
+
export type VolumesListInput = typeof VolumesListInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const VolumesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
14
|
+
Schema.Struct({
|
|
15
|
+
attached_alloc_id: Schema.optional(Schema.String),
|
|
16
|
+
attached_machine_id: Schema.optional(Schema.String),
|
|
17
|
+
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
18
|
+
block_size: Schema.optional(Schema.Number),
|
|
19
|
+
blocks: Schema.optional(Schema.Number),
|
|
20
|
+
blocks_avail: Schema.optional(Schema.Number),
|
|
21
|
+
blocks_free: Schema.optional(Schema.Number),
|
|
22
|
+
bytes_total: Schema.optional(Schema.Number),
|
|
23
|
+
bytes_used: Schema.optional(Schema.Number),
|
|
24
|
+
created_at: Schema.optional(Schema.String),
|
|
25
|
+
encrypted: Schema.optional(Schema.Boolean),
|
|
26
|
+
fstype: Schema.optional(Schema.String),
|
|
27
|
+
host_status: Schema.optional(
|
|
28
|
+
Schema.Literals(["ok", "unknown", "unreachable"]),
|
|
29
|
+
),
|
|
30
|
+
id: Schema.optional(Schema.String),
|
|
31
|
+
name: Schema.optional(Schema.String),
|
|
32
|
+
region: Schema.optional(Schema.String),
|
|
33
|
+
size_gb: Schema.optional(Schema.Number),
|
|
34
|
+
snapshot_retention: Schema.optional(Schema.Number),
|
|
35
|
+
state: Schema.optional(Schema.String),
|
|
36
|
+
zone: Schema.optional(Schema.String),
|
|
37
|
+
}),
|
|
38
|
+
);
|
|
39
|
+
export type VolumesListOutput = typeof VolumesListOutput.Type;
|
|
40
|
+
|
|
41
|
+
// The operation
|
|
42
|
+
/**
|
|
43
|
+
* List Volumes
|
|
44
|
+
*
|
|
45
|
+
* List all volumes associated with a specific app.
|
|
46
|
+
*
|
|
47
|
+
* @param app_name - Fly App Name
|
|
48
|
+
* @param summary - Only return summary info about volumes (omit blocks, block size, etc)
|
|
49
|
+
*/
|
|
50
|
+
export const VolumesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
51
|
+
inputSchema: VolumesListInput,
|
|
52
|
+
outputSchema: VolumesListOutput,
|
|
53
|
+
}));
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const VolumesListSnapshotsInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
volume_id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
}).pipe(
|
|
11
|
+
T.Http({
|
|
12
|
+
method: "GET",
|
|
13
|
+
path: "/apps/{app_name}/volumes/{volume_id}/snapshots",
|
|
14
|
+
}),
|
|
15
|
+
);
|
|
16
|
+
export type VolumesListSnapshotsInput = typeof VolumesListSnapshotsInput.Type;
|
|
17
|
+
|
|
18
|
+
// Output Schema
|
|
19
|
+
export const VolumesListSnapshotsOutput =
|
|
20
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
21
|
+
Schema.Struct({
|
|
22
|
+
created_at: Schema.optional(Schema.String),
|
|
23
|
+
digest: Schema.optional(Schema.String),
|
|
24
|
+
id: Schema.optional(Schema.String),
|
|
25
|
+
retention_days: Schema.optional(Schema.Number),
|
|
26
|
+
size: Schema.optional(Schema.Number),
|
|
27
|
+
status: Schema.optional(Schema.String),
|
|
28
|
+
volume_size: Schema.optional(Schema.Number),
|
|
29
|
+
}),
|
|
30
|
+
);
|
|
31
|
+
export type VolumesListSnapshotsOutput = typeof VolumesListSnapshotsOutput.Type;
|
|
32
|
+
|
|
33
|
+
// The operation
|
|
34
|
+
/**
|
|
35
|
+
* List Snapshots
|
|
36
|
+
*
|
|
37
|
+
* List all snapshots for a specific volume within an app.
|
|
38
|
+
*
|
|
39
|
+
* @param app_name - Fly App Name
|
|
40
|
+
* @param volume_id - Volume ID
|
|
41
|
+
*/
|
|
42
|
+
export const VolumesListSnapshots = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
43
|
+
() => ({
|
|
44
|
+
inputSchema: VolumesListSnapshotsInput,
|
|
45
|
+
outputSchema: VolumesListSnapshotsOutput,
|
|
46
|
+
}),
|
|
47
|
+
);
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const VolumesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
volume_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
10
|
+
snapshot_retention: Schema.optional(Schema.Number),
|
|
11
|
+
}).pipe(
|
|
12
|
+
T.Http({ method: "PUT", path: "/apps/{app_name}/volumes/{volume_id}" }),
|
|
13
|
+
);
|
|
14
|
+
export type VolumesUpdateInput = typeof VolumesUpdateInput.Type;
|
|
15
|
+
|
|
16
|
+
// Output Schema
|
|
17
|
+
export const VolumesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
18
|
+
attached_alloc_id: Schema.optional(Schema.String),
|
|
19
|
+
attached_machine_id: Schema.optional(Schema.String),
|
|
20
|
+
auto_backup_enabled: Schema.optional(Schema.Boolean),
|
|
21
|
+
block_size: Schema.optional(Schema.Number),
|
|
22
|
+
blocks: Schema.optional(Schema.Number),
|
|
23
|
+
blocks_avail: Schema.optional(Schema.Number),
|
|
24
|
+
blocks_free: Schema.optional(Schema.Number),
|
|
25
|
+
bytes_total: Schema.optional(Schema.Number),
|
|
26
|
+
bytes_used: Schema.optional(Schema.Number),
|
|
27
|
+
created_at: Schema.optional(Schema.String),
|
|
28
|
+
encrypted: Schema.optional(Schema.Boolean),
|
|
29
|
+
fstype: Schema.optional(Schema.String),
|
|
30
|
+
host_status: Schema.optional(
|
|
31
|
+
Schema.Literals(["ok", "unknown", "unreachable"]),
|
|
32
|
+
),
|
|
33
|
+
id: Schema.optional(Schema.String),
|
|
34
|
+
name: Schema.optional(Schema.String),
|
|
35
|
+
region: Schema.optional(Schema.String),
|
|
36
|
+
size_gb: Schema.optional(Schema.Number),
|
|
37
|
+
snapshot_retention: Schema.optional(Schema.Number),
|
|
38
|
+
state: Schema.optional(Schema.String),
|
|
39
|
+
zone: Schema.optional(Schema.String),
|
|
40
|
+
});
|
|
41
|
+
export type VolumesUpdateOutput = typeof VolumesUpdateOutput.Type;
|
|
42
|
+
|
|
43
|
+
// The operation
|
|
44
|
+
/**
|
|
45
|
+
* Update Volume
|
|
46
|
+
*
|
|
47
|
+
* Update a volume's configuration using the details provided in the request body.
|
|
48
|
+
*
|
|
49
|
+
* @param app_name - Fly App Name
|
|
50
|
+
* @param volume_id - Volume ID
|
|
51
|
+
*/
|
|
52
|
+
export const VolumesUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
53
|
+
inputSchema: VolumesUpdateInput,
|
|
54
|
+
outputSchema: VolumesUpdateOutput,
|
|
55
|
+
}));
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const CreateVolumeSnapshotInput =
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
volume_id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
}).pipe(
|
|
11
|
+
T.Http({
|
|
12
|
+
method: "POST",
|
|
13
|
+
path: "/apps/{app_name}/volumes/{volume_id}/snapshots",
|
|
14
|
+
}),
|
|
15
|
+
);
|
|
16
|
+
export type CreateVolumeSnapshotInput = typeof CreateVolumeSnapshotInput.Type;
|
|
17
|
+
|
|
18
|
+
// Output Schema
|
|
19
|
+
export const CreateVolumeSnapshotOutput =
|
|
20
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
21
|
+
export type CreateVolumeSnapshotOutput = typeof CreateVolumeSnapshotOutput.Type;
|
|
22
|
+
|
|
23
|
+
// The operation
|
|
24
|
+
/**
|
|
25
|
+
* Create Snapshot
|
|
26
|
+
*
|
|
27
|
+
* Create a snapshot for a specific volume within an app.
|
|
28
|
+
*
|
|
29
|
+
* @param app_name - Fly App Name
|
|
30
|
+
* @param volume_id - Volume ID
|
|
31
|
+
*/
|
|
32
|
+
export const createVolumeSnapshot = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
33
|
+
() => ({
|
|
34
|
+
inputSchema: CreateVolumeSnapshotInput,
|
|
35
|
+
outputSchema: CreateVolumeSnapshotOutput,
|
|
36
|
+
}),
|
|
37
|
+
);
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export * from "./AppsList";
|
|
2
|
+
export * from "./AppsCreate";
|
|
3
|
+
export * from "./AppsShow";
|
|
4
|
+
export * from "./AppsDelete";
|
|
5
|
+
export * from "./App_CertificatesList";
|
|
6
|
+
export * from "./App_CertificatesAcmeCreate";
|
|
7
|
+
export * from "./App_CertificatesCustomCreate";
|
|
8
|
+
export * from "./App_CertificatesShow";
|
|
9
|
+
export * from "./App_CertificatesDelete";
|
|
10
|
+
export * from "./App_CertificatesAcmeDelete";
|
|
11
|
+
export * from "./App_CertificatesCheck";
|
|
12
|
+
export * from "./App_CertificatesCustomDelete";
|
|
13
|
+
export * from "./AppCreateDeployToken";
|
|
14
|
+
export * from "./App_IPAssignmentsList";
|
|
15
|
+
export * from "./App_IPAssignmentsCreate";
|
|
16
|
+
export * from "./App_IPAssignmentsDelete";
|
|
17
|
+
export * from "./MachinesList";
|
|
18
|
+
export * from "./MachinesCreate";
|
|
19
|
+
export * from "./MachinesShow";
|
|
20
|
+
export * from "./MachinesUpdate";
|
|
21
|
+
export * from "./MachinesDelete";
|
|
22
|
+
export * from "./MachinesCordon";
|
|
23
|
+
export * from "./MachinesListEvents";
|
|
24
|
+
export * from "./MachinesExec";
|
|
25
|
+
export * from "./MachinesShowLease";
|
|
26
|
+
export * from "./MachinesCreateLease";
|
|
27
|
+
export * from "./MachinesReleaseLease";
|
|
28
|
+
export * from "./MachinesGetMemory";
|
|
29
|
+
export * from "./MachinesSetMemoryLimit";
|
|
30
|
+
export * from "./MachinesReclaimMemory";
|
|
31
|
+
export * from "./MachinesShowMetadata";
|
|
32
|
+
export * from "./MachinesPatchMetadata";
|
|
33
|
+
export * from "./MachinesUpdateMetadata";
|
|
34
|
+
export * from "./MachinesDeleteMetadata";
|
|
35
|
+
export * from "./MachinesListProcesses";
|
|
36
|
+
export * from "./MachinesRestart";
|
|
37
|
+
export * from "./MachinesSignal";
|
|
38
|
+
export * from "./MachinesStart";
|
|
39
|
+
export * from "./MachinesStop";
|
|
40
|
+
export * from "./MachinesSuspend";
|
|
41
|
+
export * from "./MachinesUncordon";
|
|
42
|
+
export * from "./MachinesListVersions";
|
|
43
|
+
export * from "./MachinesWait";
|
|
44
|
+
export * from "./SecretkeysList";
|
|
45
|
+
export * from "./SecretkeyGet";
|
|
46
|
+
export * from "./SecretkeySet";
|
|
47
|
+
export * from "./SecretkeyDelete";
|
|
48
|
+
export * from "./SecretkeyDecrypt";
|
|
49
|
+
export * from "./SecretkeyEncrypt";
|
|
50
|
+
export * from "./SecretkeyGenerate";
|
|
51
|
+
export * from "./SecretkeySign";
|
|
52
|
+
export * from "./SecretkeyVerify";
|
|
53
|
+
export * from "./SecretsList";
|
|
54
|
+
export * from "./SecretsUpdate";
|
|
55
|
+
export * from "./SecretGet";
|
|
56
|
+
export * from "./SecretCreate";
|
|
57
|
+
export * from "./SecretDelete";
|
|
58
|
+
export * from "./VolumesList";
|
|
59
|
+
export * from "./VolumesCreate";
|
|
60
|
+
export * from "./VolumesGetById";
|
|
61
|
+
export * from "./VolumesUpdate";
|
|
62
|
+
export * from "./VolumeDelete";
|
|
63
|
+
export * from "./VolumesExtend";
|
|
64
|
+
export * from "./VolumesListSnapshots";
|
|
65
|
+
export * from "./createVolumeSnapshot";
|
|
66
|
+
export * from "./MachinesOrgList";
|
|
67
|
+
export * from "./PlatformPlacementsPost";
|
|
68
|
+
export * from "./PlatformRegionsGet";
|
|
69
|
+
export * from "./TokensRequest_Kms";
|
|
70
|
+
export * from "./TokensRequest_OIDC";
|
|
71
|
+
export * from "./CurrentTokenShow";
|