V220Devfile

June 1, 2022 ยท View on GitHub

Devfile describes the structure of a cloud-native devworkspace and development environment.

Properties

NameTypeDescriptionNotes
attributesObjectMap of implementation-dependant free-form YAML attributes.[optional]
commandsList<V220DevfileCommands>Predefined, ready-to-use, devworkspace-related commands[optional]
componentsList<V220DevfileComponents>List of the devworkspace components, such as editor and plugins, user-provided containers, or other types of components[optional]
eventsV220DevfileEvents[optional]
metadataV220DevfileMetadata[optional]
parentV220DevfileParent[optional]
projectsList<V220DevfileProjects>Projects worked on in the devworkspace, containing names and sources locations[optional]
schemaVersionStringDevfile schema version
starterProjectsList<V220DevfileStarterProjects>StarterProjects is a project that can be used as a starting point when bootstrapping new projects[optional]
variablesMap<String, String>Map of key-value variables used for string replacement in the devfile. Values can be referenced via {{variable-key}} to replace the corresponding value in string fields in the devfile. Replacement cannot be used for - schemaVersion, metadata, parent source - element identifiers, e.g. command id, component name, endpoint name, project name - references to identifiers, e.g. in events, a command's component, container's volume mount name - string enums, e.g. command group kind, endpoint exposure[optional]