A go library for interacting with Vast.ai
  • Go 98.6%
  • Nix 1.4%
Find a file
Eli Ribble 4d5b14ba70
Rename module, add SSH keys, injectable base URL, list-view fields
Rename the module path to source.gleipnir.technology/Gleipnir/vastai-go so
it can be imported as a proper dependency (matching nidus-sync's other
submodules). Add Client.SetBaseURL for pointing tests at a local server,
SSH key management (CreateSSHKey/DeleteSSHKey/ListSSHKeys via /api/v0/ssh),
and extend the list-view Instance with disk_space, geolocation, is_bid,
and image_uuid. Tests cover the new surface.
2026-08-25 01:11:57 +00:00
cmd/vast Rename module, add SSH keys, injectable base URL, list-view fields 2026-08-25 01:11:57 +00:00
.gitignore Scaffold vastai-go module, CLI, and Nix dev environment 2026-08-20 19:38:53 +00:00
bundles.go Use host-root base URL with absolute API paths 2026-08-24 23:43:22 +00:00
client.go Rename module, add SSH keys, injectable base URL, list-view fields 2026-08-25 01:11:57 +00:00
client_test.go Migrate ListInstances to the v1 instances endpoint 2026-08-24 23:41:07 +00:00
default.nix Scaffold vastai-go module, CLI, and Nix dev environment 2026-08-20 19:38:53 +00:00
flake.lock Scaffold vastai-go module, CLI, and Nix dev environment 2026-08-20 19:38:53 +00:00
flake.nix Scaffold vastai-go module, CLI, and Nix dev environment 2026-08-20 19:38:53 +00:00
go.mod Rename module, add SSH keys, injectable base URL, list-view fields 2026-08-25 01:11:57 +00:00
instance_detail.go Add instance detail (show-instance) support 2026-08-24 23:48:03 +00:00
instance_detail_test.go Add instance detail (show-instance) support 2026-08-24 23:48:03 +00:00
instance_logs.go Add instance logs support 2026-08-24 23:55:59 +00:00
instance_logs_test.go Add instance logs support 2026-08-24 23:55:59 +00:00
instances.go Rename module, add SSH keys, injectable base URL, list-view fields 2026-08-25 01:11:57 +00:00
instances_create_test.go Use host-root base URL with absolute API paths 2026-08-24 23:43:22 +00:00
instances_destroy_test.go Rename module, add SSH keys, injectable base URL, list-view fields 2026-08-25 01:11:57 +00:00
search_test.go Decode offer numerics as float64 to tolerate float-valued API fields 2026-08-24 23:28:28 +00:00
sshkey.go Rename module, add SSH keys, injectable base URL, list-view fields 2026-08-25 01:11:57 +00:00
sshkey_test.go Rename module, add SSH keys, injectable base URL, list-view fields 2026-08-25 01:11:57 +00:00
templates.go Use host-root base URL with absolute API paths 2026-08-24 23:43:22 +00:00
templates_test.go Use host-root base URL with absolute API paths 2026-08-24 23:43:22 +00:00
vast.go Scaffold vastai-go module, CLI, and Nix dev environment 2026-08-20 19:38:53 +00:00