Internal HTTP layer. Not part of the public API. Consumers should use pocketenv-io.pocketenv and pocketenv-io.sandbox.
Internal HTTP layer. Not part of the public API. Consumers should use pocketenv-io.pocketenv and pocketenv-io.sandbox.
(add-secret sandbox-id name value opts)Adds an encrypted secret to a sandbox.
Adds an encrypted secret to a sandbox.
(create-sandbox name opts)Creates a new sandbox. Options: :base, :provider, :repo, :keep-alive, :token
Creates a new sandbox. Options: :base, :provider, :repo, :keep-alive, :token
(delete-sandbox id opts)Deletes a sandbox by name/id. Options: :token
Deletes a sandbox by name/id. Options: :token
(delete-secret id opts)Deletes a secret by its id.
Deletes a secret by its id.
(exec id cmd args opts)Executes a shell command in the sandbox. Returns {:ok ExecResult}.
Executes a shell command in the sandbox. Returns {:ok ExecResult}.
(expose-port id port opts)Exposes a port on the sandbox. Returns {:ok preview-url-or-nil}.
Exposes a port on the sandbox. Returns {:ok preview-url-or-nil}.
(expose-vscode id opts)Exposes VS Code Server. Returns {:ok preview-url-or-nil}.
Exposes VS Code Server. Returns {:ok preview-url-or-nil}.
(get-profile did opts)Fetches the profile of any actor by DID or handle.
Fetches the profile of any actor by DID or handle.
(get-sandbox id opts)Fetches a single sandbox by id or name. Returns {:ok sandbox} or {:ok nil}.
Fetches a single sandbox by id or name. Returns {:ok sandbox} or {:ok nil}.
(get-ssh-keys sandbox-id opts)Fetches the SSH key pair for a sandbox.
Fetches the SSH key pair for a sandbox.
(get-tailscale-auth-key sandbox-id opts)Fetches the Tailscale auth key for a sandbox.
Fetches the Tailscale auth key for a sandbox.
(list-ports id opts)Lists all exposed ports on the sandbox. Returns {:ok [Port]}.
Lists all exposed ports on the sandbox. Returns {:ok [Port]}.
(list-sandboxes opts)Lists the public sandbox catalog. Options: :limit (30), :offset (0), :token
Lists the public sandbox catalog. Options: :limit (30), :offset (0), :token
(list-sandboxes-by-actor did opts)Lists sandboxes for a given actor (DID or handle). Options: :limit, :offset, :token
Lists sandboxes for a given actor (DID or handle). Options: :limit, :offset, :token
(list-secrets sandbox-id opts)Lists all secrets for a sandbox. Options: :limit (100), :offset (0), :token
Lists all secrets for a sandbox. Options: :limit (100), :offset (0), :token
(me opts)Fetches the profile of the currently authenticated user.
Fetches the profile of the currently authenticated user.
(put-ssh-keys sandbox-id private-key public-key opts)Stores an SSH key pair. Private key is encrypted client-side.
Stores an SSH key pair. Private key is encrypted client-side.
(put-tailscale-auth-key sandbox-id auth-key opts)Stores a Tailscale auth key. Must start with "tskey-auth-". Encrypted client-side.
Stores a Tailscale auth key. Must start with "tskey-auth-". Encrypted client-side.
(start-sandbox id opts)Starts a sandbox by name/id. Options: :repo, :keep-alive, :token
Starts a sandbox by name/id. Options: :repo, :keep-alive, :token
(stop-sandbox id opts)Stops a sandbox by name/id. Options: :token
Stops a sandbox by name/id. Options: :token
(unexpose-port id port opts)Removes an exposed port from the sandbox.
Removes an exposed port from the sandbox.
(wait-until-running id opts)Polls until the sandbox is :running or timeout is reached.
Options: :timeout-ms (60000), :interval-ms (2000), :token
Polls until the sandbox is :running or timeout is reached. Options: :timeout-ms (60000), :interval-ms (2000), :token
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |