Files
herolib/lib/clients/vastai
Mahmoud Emad 77809423fd feat: add VastAI instance management functions
- Added functions to manage VastAI instances:
- `attach_sshkey_to_instance`
- `stop_instance`
- `destroy_instance`
- `launch_instance`
- `start_instances`
- `start_instance`
- Updated example to demonstrate new functions.

Co-authored-by: mariobassem12 <mariobassem12@gmail.com>
2025-01-26 12:44:52 +02:00
..
2025-01-23 19:22:39 +02:00
2025-01-23 19:22:39 +02:00
2025-01-23 19:22:39 +02:00
2025-01-23 19:22:39 +02:00

vastai

To get started



import freeflowuniverse.herolib.clients. vastai

mut client:= vastai.get()!

client...




example heroscript

!!vastai.configure
    secret: '...'
    host: 'localhost'
    port: 8888