Liking cljdoc? Tell your friends :D

pocketenv-io.api

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.
raw docstring

add-secretclj

(add-secret sandbox-id name value opts)

Adds an encrypted secret to a sandbox.

Adds an encrypted secret to a sandbox.
sourceraw docstring

create-sandboxclj

(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
sourceraw docstring

delete-sandboxclj

(delete-sandbox id opts)

Deletes a sandbox by name/id. Options: :token

Deletes a sandbox by name/id. Options: :token
sourceraw docstring

delete-secretclj

(delete-secret id opts)

Deletes a secret by its id.

Deletes a secret by its id.
sourceraw docstring

execclj

(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}.
sourceraw docstring

expose-portclj

(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}.
sourceraw docstring

expose-vscodeclj

(expose-vscode id opts)

Exposes VS Code Server. Returns {:ok preview-url-or-nil}.

Exposes VS Code Server. Returns {:ok preview-url-or-nil}.
sourceraw docstring

get-profileclj

(get-profile did opts)

Fetches the profile of any actor by DID or handle.

Fetches the profile of any actor by DID or handle.
sourceraw docstring

get-sandboxclj

(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}.
sourceraw docstring

get-ssh-keysclj

(get-ssh-keys sandbox-id opts)

Fetches the SSH key pair for a sandbox.

Fetches the SSH key pair for a sandbox.
sourceraw docstring

get-tailscale-auth-keyclj

(get-tailscale-auth-key sandbox-id opts)

Fetches the Tailscale auth key for a sandbox.

Fetches the Tailscale auth key for a sandbox.
sourceraw docstring

list-portsclj

(list-ports id opts)

Lists all exposed ports on the sandbox. Returns {:ok [Port]}.

Lists all exposed ports on the sandbox. Returns {:ok [Port]}.
sourceraw docstring

list-sandboxesclj

(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
sourceraw docstring

list-sandboxes-by-actorclj

(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
sourceraw docstring

list-secretsclj

(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
sourceraw docstring

meclj

(me opts)

Fetches the profile of the currently authenticated user.

Fetches the profile of the currently authenticated user.
sourceraw docstring

put-ssh-keysclj

(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.
sourceraw docstring

put-tailscale-auth-keyclj

(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.
sourceraw docstring

start-sandboxclj

(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
sourceraw docstring

stop-sandboxclj

(stop-sandbox id opts)

Stops a sandbox by name/id. Options: :token

Stops a sandbox by name/id. Options: :token
sourceraw docstring

unexpose-portclj

(unexpose-port id port opts)

Removes an exposed port from the sandbox.

Removes an exposed port from the sandbox.
sourceraw docstring

wait-until-runningclj

(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
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close