You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 DevWorkspace API.
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
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 yaml files in the following folders:
samples/
devfile-support/samples
have yaml language support (completion and documentation) based on the current Json schemas.
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.
About
Kube-native API for cloud development workspaces specification