Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth owns login state: GoTrue sessions, the credential Resolver that injects headers into requests, and the GoTrue calls the CLI makes on its own behalf.
|
Package auth owns login state: GoTrue sessions, the credential Resolver that injects headers into requests, and the GoTrue calls the CLI makes on its own behalf. |
|
Package cli assembles the grobase command tree from constructors.
|
Package cli assembles the grobase command tree from constructors. |
|
cmd
|
|
|
apicmd
Package apicmd implements `grobase api`: a raw, authenticated call to any endpoint of the current context, like `gh api`.
|
Package apicmd implements `grobase api`: a raw, authenticated call to any endpoint of the current context, like `gh api`. |
|
apps
Package apps implements the `grobase apps` command.
|
Package apps implements the `grobase apps` command. |
|
db
Package db implements the `grobase db` command.
|
Package db implements the `grobase db` command. |
|
doctor
Package doctor implements the `grobase doctor` command: an ordered health report of the current context, from the config file to the feature flags the deployment carries.
|
Package doctor implements the `grobase doctor` command: an ordered health report of the current context, from the config file to the feature flags the deployment carries. |
|
functions
Package functions implements the `grobase functions` command.
|
Package functions implements the `grobase functions` command. |
|
host
Package host implements `grobase host`: the machine that runs grobase's containers, reached over the system ssh client.
|
Package host implements `grobase host`: the machine that runs grobase's containers, reached over the system ssh client. |
|
keys
Package keys implements the `grobase keys` command.
|
Package keys implements the `grobase keys` command. |
|
orgs
Package orgs implements the `grobase orgs` command.
|
Package orgs implements the `grobase orgs` command. |
|
query
Package query implements the `grobase query` command: raw SQL, row CRUD and schema discovery against the query service of the current context.
|
Package query implements the `grobase query` command: raw SQL, row CRUD and schema discovery against the query service of the current context. |
|
realtime
Package realtime implements the `grobase realtime` command.
|
Package realtime implements the `grobase realtime` command. |
|
status
Package status implements the `grobase status` command.
|
Package status implements the `grobase status` command. |
|
storage
Package storage implements the `grobase storage` command.
|
Package storage implements the `grobase storage` command. |
|
tenants
Package tenants implements the `grobase tenants` command.
|
Package tenants implements the `grobase tenants` command. |
|
users
Package users implements the `grobase users` command: user administration through the GoTrue admin API.
|
Package users implements the `grobase users` command: user administration through the GoTrue admin API. |
|
Package config holds the non-secret CLI configuration: named contexts, each pointing at one grobase deployment.
|
Package config holds the non-secret CLI configuration: named contexts, each pointing at one grobase deployment. |
|
Package env carries everything a command needs: injected I/O, clock, config and credential stores, and the helpers that build an authenticated HTTP client.
|
Package env carries everything a command needs: injected I/O, clock, config and credential stores, and the helpers that build an authenticated HTTP client. |
|
Package exitcode maps errors to the documented process exit codes.
|
Package exitcode maps errors to the documented process exit codes. |
|
Package httpx is the one HTTP client every command uses: TLS trust (CA bundle, certificate pin, or explicit insecure mode), credential injection, redacted debug tracing and uniform API errors.
|
Package httpx is the one HTTP client every command uses: TLS trust (CA bundle, certificate pin, or explicit insecure mode), credential injection, redacted debug tracing and uniform API errors. |
|
Package output renders command results as table, JSON or YAML, optionally filtered through a jq expression.
|
Package output renders command results as table, JSON or YAML, optionally filtered through a jq expression. |
|
Package redact scrubs credentials from anything that is about to be printed or logged: HTTP headers, request/response bodies and error strings.
|
Package redact scrubs credentials from anything that is about to be printed or logged: HTTP headers, request/response bodies and error strings. |
|
Package secret stores credentials.
|
Package secret stores credentials. |
|
Package testenv builds a hermetic *env.Env for command tests: an httptest server, an in-memory credential store, a temp config dir and captured stdout/stderr.
|
Package testenv builds a hermetic *env.Env for command tests: an httptest server, an in-memory credential store, a temp config dir and captured stdout/stderr. |
Click to show internal directories.
Click to hide internal directories.