Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
grobase
command
Command grobase is a remote controller for a self-hosted grobase platform.
|
Command grobase is a remote controller for a self-hosted grobase platform. |
|
internal
|
|
|
auth
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. |
|
cli
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`. |
|
cmd/apps
Package apps implements the `grobase apps` command.
|
Package apps implements the `grobase apps` command. |
|
cmd/db
Package db implements the `grobase db` command.
|
Package db implements the `grobase db` command. |
|
cmd/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. |
|
cmd/functions
Package functions implements the `grobase functions` command.
|
Package functions implements the `grobase functions` command. |
|
cmd/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. |
|
cmd/keys
Package keys implements the `grobase keys` command.
|
Package keys implements the `grobase keys` command. |
|
cmd/orgs
Package orgs implements the `grobase orgs` command.
|
Package orgs implements the `grobase orgs` command. |
|
cmd/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. |
|
cmd/realtime
Package realtime implements the `grobase realtime` command.
|
Package realtime implements the `grobase realtime` command. |
|
cmd/status
Package status implements the `grobase status` command.
|
Package status implements the `grobase status` command. |
|
cmd/storage
Package storage implements the `grobase storage` command.
|
Package storage implements the `grobase storage` command. |
|
cmd/tenants
Package tenants implements the `grobase tenants` command.
|
Package tenants implements the `grobase tenants` command. |
|
cmd/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. |
|
config
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. |
|
env
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. |
|
exitcode
Package exitcode maps errors to the documented process exit codes.
|
Package exitcode maps errors to the documented process exit codes. |
|
httpx
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. |
|
output
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. |
|
redact
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. |
|
secret
Package secret stores credentials.
|
Package secret stores credentials. |
|
testenv
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.