Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eclipse-che/che-devworkspace-generator

Package Overview
Dependencies
Maintainers
5
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eclipse-che/che-devworkspace-generator

Generates DevWorkspaces by transforming existing devfiles

  • 0.0.1-4e80d1b
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
590
decreased by-7.52%
Maintainers
5
Weekly downloads
 
Created
Source

DevWorkspace Generator

The library is used by Devfile registry component to generate the DevWorkspace components and DevWorkspace templates.

How to use the library

The library could be used as a standalone library.

USAGE
    $ node lib/entrypoint.js [OPTIONS]

OPTIONS
      --devfile-path    path to the devfile.yaml file
      --devfile-url     URL to the git repository that contains devfile.yaml 
      --plugin-registry-url URL to the plugin registry that contains an editor's definition
      --editor-entry    editor's ID 
      --editor-path:    path to the editor's devfile.yaml file
      --output-file path to the file where the generated content will be stored
      --project.    describes project entry

EXAMPLE

    $ node lib/entrypoint.js --devfile-url:https://github.com/che-samples/java-spring-petclinic/tree/main --editor-entry:che-incubator/che-code/insiders --plugin-registry-url:https://che-plugin-registry-main.surge.sh/v3/ --output-file:/tmp/all-in-one.yaml`

The file /tmp/all-in-one.yaml contains a DevWorkspace based on the repository devfile and a Che-Code DevWorkspaceTemplate. If DevWorkspace engine is available on the cluster, the following command will create a DevWorkspace:

$ kubectl apply -f /tmp/all-in-one.yaml

FAQs

Package last updated on 27 Feb 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc