Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Workspace ¶
type Workspace struct {
SchemaName string `json:"schema_name"`
Auth0ID string `json:"auth0_id"`
Region string `json:"region"`
}
Workspace represents a workspace entry from the JWT token's workspaces claim.
func GetWorkspacesFromToken ¶
GetWorkspacesFromToken decodes the JWT access token and extracts the workspaces claim.
type WorkspaceListEntry ¶
WorkspaceListEntry is used for displaying workspace information in a table.
func GetWorkspaceList ¶
func GetWorkspaceList(cfg config.Config) ([]WorkspaceListEntry, error)
GetWorkspaceList returns a display-ready list of workspaces, marking the current one.
Click to show internal directories.
Click to hide internal directories.