
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@eclipse-che/devworkspace-client
Advanced tools
The DevWorkspace Client is a library for interacting with DevWorkspaces and related objects on your cluster. It's node side library that wraps [@kubernetes/client-node](https://www.npmjs.com/package/@kubernetes/client-node).
The DevWorkspace Client is a library for interacting with DevWorkspaces and related objects on your cluster. It's node side library that wraps @kubernetes/client-node.
It's built and published on each commit from main branch into @eclipse-che/devworkspace-client
With custom kubeconfig
import 'reflect-metadata';
import { container, INVERSIFY_TYPES } from '@eclipse-che/devworkspace-client';
import * as k8s from '@kubernes/client-node'
const kubeConfig = new k8s.KubeConfig();
// todo init kubeConfig with the needed values
const dwClient = new DevWorkspaceClient(kubeConfig);
const dwApi = dwClient.devworkspaceApi;
const dwList = await dwApi.listInNamespace('my_namespace');
for (const dw of dwList.items) {
// process all the DevWorkpsaces in namespace
}
yarn install
yarn run build
yarn test
Integration tests can be run locally by using export INTEGRATION_TESTS=true
. Refer to the Environment variables section to learn more.
The devworkspace-controller must be on the cluster before running the integration tests.
INTEGRATION_TESTS
: When the INTEGRATION_TESTS environment variable is defined and it's value is true, the integration tests will run against current context from KUBECONFIG
;KUBECONFIG
: The KUBECONFIG which should be used for getting the current cluster config, like $HOME/.kube/config
;EPL-2
FAQs
The DevWorkspace Client is a library for interacting with DevWorkspaces and related objects on your cluster. It's node side library that wraps [@kubernetes/client-node](https://www.npmjs.com/package/@kubernetes/client-node).
The npm package @eclipse-che/devworkspace-client receives a total of 2 weekly downloads. As such, @eclipse-che/devworkspace-client popularity was classified as not popular.
We found that @eclipse-che/devworkspace-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.