@api-emulator/crusoe
v0.1.0
Published
Crusoe Cloud provides cloud infrastructure APIs for projects, GPU instance types, virtual machines, SSH keys, and operations.
Readme
@api-emulator/crusoe
Crusoe Cloud provides cloud infrastructure APIs for projects, GPU instance types, virtual machines, SSH keys, and operations.
Part of api-emulator — local drop-in replacement services for CI and no-network sandboxes.
Install
npm install @api-emulator/crusoeRun
npx -p api-emulator api --plugin ./@crusoe/api-emulator.mjs --service crusoeEndpoints
GET /v1alpha5/featureflagsGET /v1alpha5/projectsGET /v1alpha5/organizations/projectsGET /v1alpha5/projects/:project_idGET /v1alpha5/locationsGET /v1alpha5/instance-typesGET /v1alpha5/projects/:project_id/instancesGET /v1alpha5/projects/:project_id/compute/vmsGET /v1alpha5/compute/vmsPOST /v1alpha5/projects/:project_id/instancesGET /v1alpha5/projects/:project_id/instances/:instance_idPATCH /v1alpha5/projects/:project_id/instances/:instance_idDELETE /v1alpha5/projects/:project_id/instances/:instance_idGET /v1alpha5/projects/:project_id/ssh-keysPOST /v1alpha5/projects/:project_id/ssh-keysGET /v1alpha5/operations/:operation_idGET /crusoe/inspect/state
Auth
No production credentials are required. Use fake local credentials in client tests.
Seed Configuration
crusoe:
# Add provider-specific seed state here.