@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,51 +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 MachinesShowLeaseInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
machine_id: string;
|
|
10
|
-
}
|
|
11
|
-
export const MachinesShowLeaseInput = /*@__PURE__*/ Schema.Struct({
|
|
12
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
|
-
machine_id: Schema.String.pipe(T.PathParam()),
|
|
14
|
-
}).pipe(
|
|
15
|
-
T.Http({
|
|
16
|
-
method: "GET",
|
|
17
|
-
path: "/apps/{app_name}/machines/{machine_id}/lease",
|
|
18
|
-
}),
|
|
19
|
-
) as unknown as Schema.Codec<MachinesShowLeaseInput>;
|
|
20
|
-
|
|
21
|
-
// Output Schema
|
|
22
|
-
export interface MachinesShowLeaseOutput {
|
|
23
|
-
description?: string;
|
|
24
|
-
expires_at?: number;
|
|
25
|
-
nonce?: string;
|
|
26
|
-
owner?: string;
|
|
27
|
-
version?: string;
|
|
28
|
-
}
|
|
29
|
-
export const MachinesShowLeaseOutput =
|
|
30
|
-
/*@__PURE__*/ Schema.Struct({
|
|
31
|
-
description: Schema.optional(Schema.String),
|
|
32
|
-
expires_at: Schema.optional(Schema.Number),
|
|
33
|
-
nonce: Schema.optional(Schema.String),
|
|
34
|
-
owner: Schema.optional(Schema.String),
|
|
35
|
-
version: Schema.optional(Schema.String),
|
|
36
|
-
}) as unknown as Schema.Codec<MachinesShowLeaseOutput>;
|
|
37
|
-
|
|
38
|
-
// The operation
|
|
39
|
-
/**
|
|
40
|
-
* Get Lease
|
|
41
|
-
*
|
|
42
|
-
* Retrieve the current lease of a specific Machine within an app. Machine leases can be used to obtain an exclusive lock on modifying a Machine.
|
|
43
|
-
*
|
|
44
|
-
* @param app_name - Fly App Name
|
|
45
|
-
* @param machine_id - Machine ID
|
|
46
|
-
*/
|
|
47
|
-
export const MachinesShowLease = /*@__PURE__*/ API.make(() => ({
|
|
48
|
-
inputSchema: MachinesShowLeaseInput,
|
|
49
|
-
outputSchema: MachinesShowLeaseOutput,
|
|
50
|
-
errors: [Forbidden, NotFound] as const,
|
|
51
|
-
}));
|
|
@@ -1,43 +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 MachinesShowMetadataInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
machine_id: string;
|
|
10
|
-
}
|
|
11
|
-
export const MachinesShowMetadataInput =
|
|
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: "GET",
|
|
18
|
-
path: "/apps/{app_name}/machines/{machine_id}/metadata",
|
|
19
|
-
}),
|
|
20
|
-
) as unknown as Schema.Codec<MachinesShowMetadataInput>;
|
|
21
|
-
|
|
22
|
-
// Output Schema
|
|
23
|
-
export type MachinesShowMetadataOutput = Record<string, string>;
|
|
24
|
-
export const MachinesShowMetadataOutput =
|
|
25
|
-
/*@__PURE__*/ Schema.Record(
|
|
26
|
-
Schema.String,
|
|
27
|
-
Schema.String,
|
|
28
|
-
) as unknown as Schema.Codec<MachinesShowMetadataOutput>;
|
|
29
|
-
|
|
30
|
-
// The operation
|
|
31
|
-
/**
|
|
32
|
-
* Get Metadata
|
|
33
|
-
*
|
|
34
|
-
* Retrieve metadata for a specific Machine within an app.
|
|
35
|
-
*
|
|
36
|
-
* @param app_name - Fly App Name
|
|
37
|
-
* @param machine_id - Machine ID
|
|
38
|
-
*/
|
|
39
|
-
export const MachinesShowMetadata = /*@__PURE__*/ API.make(() => ({
|
|
40
|
-
inputSchema: MachinesShowMetadataInput,
|
|
41
|
-
outputSchema: MachinesShowMetadataOutput,
|
|
42
|
-
errors: [Forbidden, NotFound] as const,
|
|
43
|
-
}));
|
|
@@ -1,72 +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 MachinesSignalInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
machine_id: string;
|
|
10
|
-
signal?:
|
|
11
|
-
| "SIGABRT"
|
|
12
|
-
| "SIGALRM"
|
|
13
|
-
| "SIGFPE"
|
|
14
|
-
| "SIGHUP"
|
|
15
|
-
| "SIGILL"
|
|
16
|
-
| "SIGINT"
|
|
17
|
-
| "SIGKILL"
|
|
18
|
-
| "SIGPIPE"
|
|
19
|
-
| "SIGQUIT"
|
|
20
|
-
| "SIGSEGV"
|
|
21
|
-
| "SIGTERM"
|
|
22
|
-
| "SIGTRAP"
|
|
23
|
-
| "SIGUSR1"
|
|
24
|
-
| "SIGUSR2";
|
|
25
|
-
}
|
|
26
|
-
export const MachinesSignalInput = /*@__PURE__*/ Schema.Struct({
|
|
27
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
28
|
-
machine_id: Schema.String.pipe(T.PathParam()),
|
|
29
|
-
signal: Schema.optional(
|
|
30
|
-
Schema.Literals([
|
|
31
|
-
"SIGABRT",
|
|
32
|
-
"SIGALRM",
|
|
33
|
-
"SIGFPE",
|
|
34
|
-
"SIGHUP",
|
|
35
|
-
"SIGILL",
|
|
36
|
-
"SIGINT",
|
|
37
|
-
"SIGKILL",
|
|
38
|
-
"SIGPIPE",
|
|
39
|
-
"SIGQUIT",
|
|
40
|
-
"SIGSEGV",
|
|
41
|
-
"SIGTERM",
|
|
42
|
-
"SIGTRAP",
|
|
43
|
-
"SIGUSR1",
|
|
44
|
-
"SIGUSR2",
|
|
45
|
-
]),
|
|
46
|
-
),
|
|
47
|
-
}).pipe(
|
|
48
|
-
T.Http({
|
|
49
|
-
method: "POST",
|
|
50
|
-
path: "/apps/{app_name}/machines/{machine_id}/signal",
|
|
51
|
-
}),
|
|
52
|
-
) as unknown as Schema.Codec<MachinesSignalInput>;
|
|
53
|
-
|
|
54
|
-
// Output Schema
|
|
55
|
-
export type MachinesSignalOutput = void;
|
|
56
|
-
export const MachinesSignalOutput =
|
|
57
|
-
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesSignalOutput>;
|
|
58
|
-
|
|
59
|
-
// The operation
|
|
60
|
-
/**
|
|
61
|
-
* Signal Machine
|
|
62
|
-
*
|
|
63
|
-
* Send a signal to a specific Machine within an app using the details provided in the request body.
|
|
64
|
-
*
|
|
65
|
-
* @param app_name - Fly App Name
|
|
66
|
-
* @param machine_id - Machine ID
|
|
67
|
-
*/
|
|
68
|
-
export const MachinesSignal = /*@__PURE__*/ API.make(() => ({
|
|
69
|
-
inputSchema: MachinesSignalInput,
|
|
70
|
-
outputSchema: MachinesSignalOutput,
|
|
71
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
72
|
-
}));
|
|
@@ -1,39 +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 MachinesStartInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
machine_id: string;
|
|
10
|
-
}
|
|
11
|
-
export const MachinesStartInput = /*@__PURE__*/ Schema.Struct({
|
|
12
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
|
-
machine_id: Schema.String.pipe(T.PathParam()),
|
|
14
|
-
}).pipe(
|
|
15
|
-
T.Http({
|
|
16
|
-
method: "POST",
|
|
17
|
-
path: "/apps/{app_name}/machines/{machine_id}/start",
|
|
18
|
-
}),
|
|
19
|
-
) as unknown as Schema.Codec<MachinesStartInput>;
|
|
20
|
-
|
|
21
|
-
// Output Schema
|
|
22
|
-
export type MachinesStartOutput = void;
|
|
23
|
-
export const MachinesStartOutput =
|
|
24
|
-
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesStartOutput>;
|
|
25
|
-
|
|
26
|
-
// The operation
|
|
27
|
-
/**
|
|
28
|
-
* Start Machine
|
|
29
|
-
*
|
|
30
|
-
* Start a specific Machine within an app.
|
|
31
|
-
*
|
|
32
|
-
* @param app_name - Fly App Name
|
|
33
|
-
* @param machine_id - Machine ID
|
|
34
|
-
*/
|
|
35
|
-
export const MachinesStart = /*@__PURE__*/ API.make(() => ({
|
|
36
|
-
inputSchema: MachinesStartInput,
|
|
37
|
-
outputSchema: MachinesStartOutput,
|
|
38
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
39
|
-
}));
|
|
@@ -1,60 +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 MachinesStopInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
machine_id: string;
|
|
10
|
-
signal?:
|
|
11
|
-
| "SIGHUP"
|
|
12
|
-
| "SIGINT"
|
|
13
|
-
| "SIGQUIT"
|
|
14
|
-
| "SIGKILL"
|
|
15
|
-
| "SIGUSR1"
|
|
16
|
-
| "SIGUSR2"
|
|
17
|
-
| "SIGTERM";
|
|
18
|
-
timeout?: string;
|
|
19
|
-
}
|
|
20
|
-
export const MachinesStopInput = /*@__PURE__*/ Schema.Struct({
|
|
21
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
22
|
-
machine_id: Schema.String.pipe(T.PathParam()),
|
|
23
|
-
signal: Schema.optional(
|
|
24
|
-
Schema.Literals([
|
|
25
|
-
"SIGHUP",
|
|
26
|
-
"SIGINT",
|
|
27
|
-
"SIGQUIT",
|
|
28
|
-
"SIGKILL",
|
|
29
|
-
"SIGUSR1",
|
|
30
|
-
"SIGUSR2",
|
|
31
|
-
"SIGTERM",
|
|
32
|
-
]),
|
|
33
|
-
),
|
|
34
|
-
timeout: Schema.optional(Schema.String),
|
|
35
|
-
}).pipe(
|
|
36
|
-
T.Http({
|
|
37
|
-
method: "POST",
|
|
38
|
-
path: "/apps/{app_name}/machines/{machine_id}/stop",
|
|
39
|
-
}),
|
|
40
|
-
) as unknown as Schema.Codec<MachinesStopInput>;
|
|
41
|
-
|
|
42
|
-
// Output Schema
|
|
43
|
-
export type MachinesStopOutput = void;
|
|
44
|
-
export const MachinesStopOutput =
|
|
45
|
-
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesStopOutput>;
|
|
46
|
-
|
|
47
|
-
// The operation
|
|
48
|
-
/**
|
|
49
|
-
* Stop Machine
|
|
50
|
-
*
|
|
51
|
-
* Stop a specific Machine within an app, with an optional request body to specify signal and timeout.
|
|
52
|
-
*
|
|
53
|
-
* @param app_name - Fly App Name
|
|
54
|
-
* @param machine_id - Machine ID
|
|
55
|
-
*/
|
|
56
|
-
export const MachinesStop = /*@__PURE__*/ API.make(() => ({
|
|
57
|
-
inputSchema: MachinesStopInput,
|
|
58
|
-
outputSchema: MachinesStopOutput,
|
|
59
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
60
|
-
}));
|
|
@@ -1,39 +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 MachinesSuspendInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
machine_id: string;
|
|
10
|
-
}
|
|
11
|
-
export const MachinesSuspendInput = /*@__PURE__*/ Schema.Struct({
|
|
12
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
|
-
machine_id: Schema.String.pipe(T.PathParam()),
|
|
14
|
-
}).pipe(
|
|
15
|
-
T.Http({
|
|
16
|
-
method: "POST",
|
|
17
|
-
path: "/apps/{app_name}/machines/{machine_id}/suspend",
|
|
18
|
-
}),
|
|
19
|
-
) as unknown as Schema.Codec<MachinesSuspendInput>;
|
|
20
|
-
|
|
21
|
-
// Output Schema
|
|
22
|
-
export type MachinesSuspendOutput = void;
|
|
23
|
-
export const MachinesSuspendOutput =
|
|
24
|
-
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesSuspendOutput>;
|
|
25
|
-
|
|
26
|
-
// The operation
|
|
27
|
-
/**
|
|
28
|
-
* Suspend Machine
|
|
29
|
-
*
|
|
30
|
-
* Suspend a specific Machine within an app. The next start operation will attempt (but is not guaranteed) to resume the Machine from a snapshot taken at suspension time, rather than performing a cold boot.
|
|
31
|
-
*
|
|
32
|
-
* @param app_name - Fly App Name
|
|
33
|
-
* @param machine_id - Machine ID
|
|
34
|
-
*/
|
|
35
|
-
export const MachinesSuspend = /*@__PURE__*/ API.make(() => ({
|
|
36
|
-
inputSchema: MachinesSuspendInput,
|
|
37
|
-
outputSchema: MachinesSuspendOutput,
|
|
38
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
39
|
-
}));
|
|
@@ -1,39 +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 MachinesUncordonInput {
|
|
8
|
-
app_name: string;
|
|
9
|
-
machine_id: string;
|
|
10
|
-
}
|
|
11
|
-
export const MachinesUncordonInput = /*@__PURE__*/ Schema.Struct({
|
|
12
|
-
app_name: Schema.String.pipe(T.PathParam()),
|
|
13
|
-
machine_id: Schema.String.pipe(T.PathParam()),
|
|
14
|
-
}).pipe(
|
|
15
|
-
T.Http({
|
|
16
|
-
method: "POST",
|
|
17
|
-
path: "/apps/{app_name}/machines/{machine_id}/uncordon",
|
|
18
|
-
}),
|
|
19
|
-
) as unknown as Schema.Codec<MachinesUncordonInput>;
|
|
20
|
-
|
|
21
|
-
// Output Schema
|
|
22
|
-
export type MachinesUncordonOutput = void;
|
|
23
|
-
export const MachinesUncordonOutput =
|
|
24
|
-
/*@__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesUncordonOutput>;
|
|
25
|
-
|
|
26
|
-
// The operation
|
|
27
|
-
/**
|
|
28
|
-
* Uncordon Machine
|
|
29
|
-
*
|
|
30
|
-
* “Cordoning” a Machine refers to disabling its services, so the Fly Proxy won’t route requests to it. In flyctl this is used by blue/green deployments; one set of Machines is started up with services disabled, and when they are all healthy, the services are enabled on the new Machines and disabled on the old ones.
|
|
31
|
-
*
|
|
32
|
-
* @param app_name - Fly App Name
|
|
33
|
-
* @param machine_id - Machine ID
|
|
34
|
-
*/
|
|
35
|
-
export const MachinesUncordon = /*@__PURE__*/ API.make(() => ({
|
|
36
|
-
inputSchema: MachinesUncordonInput,
|
|
37
|
-
outputSchema: MachinesUncordonOutput,
|
|
38
|
-
errors: [BadRequest, Forbidden, NotFound] as const,
|
|
39
|
-
}));
|