Api
Kube-native API for cloud development workspaces specification
Install / Use
/learn @devfile/ApiREADME
Kube-native API for cloud development workspaces specification
<div id="header" align="center"> </div>Sources for this API are defined in Go code, starting from the devworkspace_types.go source file
From these Go sources, several files are generated:
- A Kubernetes Custom Resource Definition(CRD) with an embedded OpenApi schema,
- json schemas (in the schemas folder) generated from the above CRD, to specify the syntax of:
- the DevWorkspace CRD itself;
- the DevWorkspaceTemplate CRD (a devworkspace content, without runtime information);
- the Devfile 2.0.0 format, which is generated from the
DevWorkspaceAPI.
Generated files are created by a build script (see section How to build).
Devfile 2.0.0 file format
A Subset of this DevWorkspace API defines a structure (workspace template content), which is also at the core of the Devfile 2.0 format specification.
For more information about this, please look into the Devfile support README
You can read the available generated documentation of the Devfile 2.0 format, based on its json schema.
Typescript model is build on each commit of main branch and available as an NPM package.
Release
Release details and process are found in Devfile Release
How to build
For information about building this project visit CONTRIBUTING.md.
Specification status
This work is still in an early stage of specification, and the related API and schemas are still a draft proposal.
Quickly open and test ?
In order to test existing or new Devfile 2.0 or DevWorkspace sample files in a self-service Che workspace (hosted on che.openshift.io), just click on the button below:
As soon as the devworkspace is opened, you should be able to:
- open the
yamlfiles in the following folders:samples/devfile-support/samples
- have
yamllanguage support (completion and documentation) based on the current Json schemas.
Contributing
Please see our contributing.md.
License
Apache License 2.0, see LICENSE for details.
Adding License Headers
license_header contains the license header to be contained under all source files. For Go sources, this can be included by running bash add_licenses.sh.
Ensure github.com/google/addlicense is installed by running go install github.com/google/addlicense@latest.
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
