1.0.29 • Published 2 years ago

@unparallel/connector-smartclide v1.0.29

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

SmartCLIDE Connector

This connector abstracts the Eclipse Che API, providing methods to easily obtain specific information about a user and their workspaces.

Installation

Use the package manager npm to install the SmartCLIDE connector.

npm install connector-smartclide

Usage

import Connector from 'connector-smartclide';

let connector = new Connector();

// Get list of all workspaces
connector.getWorkspaces(token);

// Get list of all workspaces of the given type
connector.getWorkspacesWithType(token, type);

// Get N most recent workspaces
connector.getRecentWorkspaces(token, n);

// Get details of a given workspace
connector.getWorkspace(token, workspaceId);

// Launch the given workspace
connector.startWorkspace(token, workspaceId);

// Stop the given workspace
connector.stopWorkspace(token, workspaceId);

License

MIT