Managing Workspaces - padogrid/padogrid GitHub Wiki
◀️ Creating Workspace and Starting Cluster :link: Understanding Workspaces ▶️
When you switch between workspaces, PadoGrid resets the previous workspace context with the new workspace context. Each workspace has their own set of metadata which includes environment variables, configurations, directories, and commands. Each workspace has a set of commands that are specific to their data grid product, i.e., Geode, Hazelcast, SnappyData, and etc. This context-switching performed by PadoGrid secures workspace isolation.
All the workspace specific commands end with the suffix _workspace
as follows:
cd_workspace kill_workspace pwd_workspace show_workspace stop_workspace
create_workspace list_workspaces remove_workspace shutdown_workspace switch_workspace
Command | Description |
---|---|
cd_workspace | Change directory to the specified workspace |
create_workspace | Create a new workspace |
kill_workspace | Kill all running clusters in the workspace |
list_workspaces | List all workspaces |
pwd_workspace | Print the current workspace name |
remove_workspace | Remove the specified workspace |
show_workspace | Display workspace details |
shutdown_workspace | Gracefully shutdown all running clusters in the workspace |
start_workspace | Start all clusters in the workspace |
stop_workspace | Stop all running clusters in the workspace |
switch_workspace | Switch workspace to the specified workspace |
◀️ Creating Workspace and Starting Cluster :link: Understanding Workspaces ▶️