Documentation
¶
Overview ¶
Package command defines the shared Command abstraction used by every ofga command, mirroring the structure of task-pilot-cli: each command exposes its cobra command, registers its sub-commands, and implements its run logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package api implements `ofga api`: send a raw request to the OpenFGA API using the active profile's connection and authentication.
|
Package api implements `ofga api`: send a raw request to the OpenFGA API using the active profile's connection and authentication. |
|
Package assertions implements `ofga assertions`: read and write the assertion test-suite attached to an authorization model, and run it.
|
Package assertions implements `ofga assertions`: read and write the assertion test-suite attached to an authorization model, and run it. |
|
Package base provides the root `ofga` command: persistent flags, the help banner, and registration of every top-level sub-command.
|
Package base provides the root `ofga` command: persistent flags, the help banner, and registration of every top-level sub-command. |
|
Package configcmd implements `ofga config`: inspect where ofga's configuration lives and what it resolves to.
|
Package configcmd implements `ofga config`: inspect where ofga's configuration lives and what it resolves to. |
|
Package model implements `ofga model`: write, list, inspect, and visualize authorization models (including a colored relation graph).
|
Package model implements `ofga model`: write, list, inspect, and visualize authorization models (including a colored relation graph). |
|
Package playground implements the interactive `ofga` TUI: a full-screen, Crush-style shell for exploring a store — picking models, browsing tuples, running live checks, and visualizing the authorization model as a graph.
|
Package playground implements the interactive `ofga` TUI: a full-screen, Crush-style shell for exploring a store — picking models, browsing tuples, running live checks, and visualizing the authorization model as a graph. |
|
Package profiles implements `ofga profiles`: manage named connection profiles — list, switch, inspect, create, edit and remove them.
|
Package profiles implements `ofga profiles`: manage named connection profiles — list, switch, inspect, create, edit and remove them. |
|
Package query implements `ofga query`: the read-side authorization questions — check, batch-check, expand, list-objects and list-users.
|
Package query implements `ofga query`: the read-side authorization questions — check, batch-check, expand, list-objects and list-users. |
|
Package store implements `ofga stores`: create, list, inspect and delete OpenFGA stores.
|
Package store implements `ofga stores`: create, list, inspect and delete OpenFGA stores. |
|
Package tuple implements `ofga tuples`: write, delete, read relationship tuples and follow the changelog.
|
Package tuple implements `ofga tuples`: write, delete, read relationship tuples and follow the changelog. |
Click to show internal directories.
Click to hide internal directories.