render

package
v2.18.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProjectInvite

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

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 Session

Session prints a single analytics session.

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

func SimulationRun(p *util.Printer, asJSON bool, r oapi.LivekitSimulationRun) error

SimulationRun prints a single simulation run.

func SimulationRuns

func SimulationRuns(p *util.Printer, asJSON bool, runs []oapi.LivekitSimulationRun) error

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 User

User prints a single user.

func Users

func Users(p *util.Printer, asJSON bool, users []oapi.LivekitPublicapiUsersV1User) error

Users prints a list of users.

func UsersPage

func UsersPage(p *util.Printer, asJSON bool, users []oapi.LivekitPublicapiUsersV1User, nextCursor string) error

UsersPage prints a cursor-paginated page of users.

func Workspace

Workspace prints a single workspace.

func WorkspaceInvite

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL