Documentation
¶
Overview ¶
Package render presents the LiveKit Public API's generated types as tables or JSON for the CLI. It maps each oapi type to its columns and delegates the table/JSON mechanics to pkg/util; commands call these functions with the shared Printer and the --json flag value, keeping presentation out of the command layer.
Index ¶
- func ProjectInvite(p *util.Printer, asJSON bool, i oapi.LivekitPublicapiProjectsV1ProjectInvite) error
- func ProjectInvites(p *util.Printer, asJSON bool, ...) error
- func ProjectMember(p *util.Printer, asJSON bool, m oapi.LivekitPublicapiProjectsV1ProjectMember) error
- func ProjectMembers(p *util.Printer, asJSON bool, ...) error
- func Session(p *util.Printer, asJSON bool, s oapi.LivekitPublicapiAnalyticsV1Session) error
- func Sessions(p *util.Printer, asJSON bool, ...) error
- func SessionsPage(p *util.Printer, asJSON bool, ...) error
- func SimulationRun(p *util.Printer, asJSON bool, r oapi.LivekitSimulationRun) error
- func SimulationRuns(p *util.Printer, asJSON bool, runs []oapi.LivekitSimulationRun) error
- func SimulationRunsPage(p *util.Printer, asJSON bool, runs []oapi.LivekitSimulationRun, ...) error
- func User(p *util.Printer, asJSON bool, u oapi.LivekitPublicapiUsersV1User) error
- func Users(p *util.Printer, asJSON bool, users []oapi.LivekitPublicapiUsersV1User) error
- func UsersPage(p *util.Printer, asJSON bool, users []oapi.LivekitPublicapiUsersV1User, ...) error
- func Workspace(p *util.Printer, asJSON bool, w oapi.LivekitPublicapiWorkspacesV1Workspace) error
- func WorkspaceInvite(p *util.Printer, asJSON bool, ...) error
- func WorkspaceInvites(p *util.Printer, asJSON bool, ...) error
- func WorkspaceMember(p *util.Printer, asJSON bool, ...) error
- func WorkspaceMembers(p *util.Printer, asJSON bool, ...) error
- func Workspaces(p *util.Printer, asJSON bool, ws []oapi.LivekitPublicapiWorkspacesV1Workspace) error
- func WorkspacesPage(p *util.Printer, asJSON bool, ws []oapi.LivekitPublicapiWorkspacesV1Workspace, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProjectInvite ¶
func ProjectInvite(p *util.Printer, asJSON bool, i oapi.LivekitPublicapiProjectsV1ProjectInvite) error
ProjectInvite prints a single project invite.
func ProjectInvites ¶
func ProjectInvites(p *util.Printer, asJSON bool, invites []oapi.LivekitPublicapiProjectsV1ProjectInvite) error
ProjectInvites prints a list of project invites.
func ProjectMember ¶
func ProjectMember(p *util.Printer, asJSON bool, m oapi.LivekitPublicapiProjectsV1ProjectMember) error
ProjectMember prints a single project member.
func ProjectMembers ¶
func ProjectMembers(p *util.Printer, asJSON bool, members []oapi.LivekitPublicapiProjectsV1ProjectMember) error
ProjectMembers prints a list of project members.
func Sessions ¶
func Sessions(p *util.Printer, asJSON bool, sessions []oapi.LivekitPublicapiAnalyticsV1Session) error
Sessions prints a list of analytics sessions.
func SessionsPage ¶
func SessionsPage(p *util.Printer, asJSON bool, sessions []oapi.LivekitPublicapiAnalyticsV1Session, nextCursor string) error
SessionsPage prints a cursor-paginated page of analytics sessions.
func SimulationRun ¶
SimulationRun prints a single simulation run.
func SimulationRuns ¶
SimulationRuns prints a list of simulation runs.
func SimulationRunsPage ¶
func SimulationRunsPage(p *util.Printer, asJSON bool, runs []oapi.LivekitSimulationRun, nextCursor string) error
SimulationRunsPage prints a token-paginated page of simulation runs (the nextCursor is the run list's next page token).
func UsersPage ¶
func UsersPage(p *util.Printer, asJSON bool, users []oapi.LivekitPublicapiUsersV1User, nextCursor string) error
UsersPage prints a cursor-paginated page of users.
func WorkspaceInvite ¶
func WorkspaceInvite(p *util.Printer, asJSON bool, i oapi.LivekitPublicapiWorkspacesV1WorkspaceInvite) error
WorkspaceInvite prints a single workspace invite.
func WorkspaceInvites ¶
func WorkspaceInvites(p *util.Printer, asJSON bool, invites []oapi.LivekitPublicapiWorkspacesV1WorkspaceInvite) error
WorkspaceInvites prints a list of workspace invites.
func WorkspaceMember ¶
func WorkspaceMember(p *util.Printer, asJSON bool, m oapi.LivekitPublicapiWorkspacesV1WorkspaceMember) error
WorkspaceMember prints a single workspace member.
func WorkspaceMembers ¶
func WorkspaceMembers(p *util.Printer, asJSON bool, members []oapi.LivekitPublicapiWorkspacesV1WorkspaceMember) error
WorkspaceMembers prints a list of workspace members.
func Workspaces ¶
func Workspaces(p *util.Printer, asJSON bool, ws []oapi.LivekitPublicapiWorkspacesV1Workspace) error
Workspaces prints a list of workspaces.
func WorkspacesPage ¶
func WorkspacesPage(p *util.Printer, asJSON bool, ws []oapi.LivekitPublicapiWorkspacesV1Workspace, nextCursor string) error
WorkspacesPage prints a cursor-paginated page of workspaces.
Types ¶
This section is empty.