Versions in this module Expand all Collapse all v1 v1.2.6 Aug 31, 2020 Changes in this version + const JsonSchema100 + var SupportedProjectTypes = []ProjectType + type ApiVersion string + type Attributes map[string]string + type Command struct + Actions []CommandAction + Attributes Attributes + Name string + PreviewUrl CommandPreviewUrl + type CommandAction struct + Command string + Component string + Reference string + ReferenceContent string + Type CommandType + Workdir string + type CommandPreviewUrl struct + Path string + Port int32 + type CommandType string + const DevfileCommandTypeBuild + const DevfileCommandTypeDebug + const DevfileCommandTypeExec + const DevfileCommandTypeInit + const DevfileCommandTypeRun + type Component struct + Alias string + MountSources bool + Type ComponentType + type ComponentCheEditor struct + Id string + Reference string + RegistryUrl string + type ComponentChePlugin struct + Id string + Reference string + RegistryUrl string + type ComponentDockerimage struct + Args []string + Command []string + Endpoints []DockerimageEndpoint + Env []DockerimageEnv + Image string + MemoryLimit string + Volumes []DockerimageVolume + type ComponentKubernetes struct + EntryPoints string + MemoryLimit string + Reference string + ReferenceContent string + Selector string + type ComponentOpenshift struct + EntryPoints string + MemoryLimit string + Reference string + ReferenceContent string + Selector string + type ComponentType string + const DevfileComponentTypeCheEditor + const DevfileComponentTypeChePlugin + const DevfileComponentTypeDockerimage + const DevfileComponentTypeKubernetes + const DevfileComponentTypeOpenshift + type Devfile100 struct + ApiVersion ApiVersion + Attributes Attributes + Commands []Command + Components []Component + Metadata Metadata + Projects []Project + func (d *Devfile100) AddCommands(commands ...common.DevfileCommand) error + func (d *Devfile100) AddComponents(components []common.DevfileComponent) error + func (d *Devfile100) AddEvents(events common.DevfileEvents) error + func (d *Devfile100) AddProjects(projects []common.DevfileProject) error + func (d *Devfile100) AddStarterProjects(projects []common.DevfileStarterProject) error + func (d *Devfile100) AddVolume(volume common.Volume, path string) error + func (d *Devfile100) DeleteVolume(name string) error + func (d *Devfile100) GetAliasedComponents() []common.DevfileComponent + func (d *Devfile100) GetCommands() map[string]common.DevfileCommand + func (d *Devfile100) GetComponents() []common.DevfileComponent + func (d *Devfile100) GetEvents() common.DevfileEvents + func (d *Devfile100) GetMetadata() common.DevfileMetadata + func (d *Devfile100) GetParent() common.DevfileParent + func (d *Devfile100) GetProjects() []common.DevfileProject + func (d *Devfile100) GetStarterProjects() []common.DevfileStarterProject + func (d *Devfile100) GetVolumeMountPath(name string) (string, error) + func (d *Devfile100) SetMetadata(name, version string) + func (d *Devfile100) SetParent(parent common.DevfileParent) + func (d *Devfile100) SetSchemaVersion(version string) + func (d *Devfile100) UpdateCommand(command common.DevfileCommand) + func (d *Devfile100) UpdateComponent(component common.DevfileComponent) + func (d *Devfile100) UpdateEvents(postStart, postStop, preStart, preStop []string) + func (d *Devfile100) UpdateProject(project common.DevfileProject) + func (d *Devfile100) UpdateStarterProject(project common.DevfileStarterProject) + type DockerimageEndpoint struct + Name string + Port int32 + type DockerimageEnv struct + Name string + Value string + type DockerimageVolume struct + ContainerPath string + Name string + type Metadata struct + GenerateName string + Name string + type Project struct + ClonePath string + Name string + Source ProjectSource + type ProjectSource struct + Branch string + CommitId string + Location string + SparseCheckoutDir string + StartPoint string + Tag string + Type ProjectType + type ProjectType string + const ProjectTypeGit + const ProjectTypeGitHub + const ProjectTypeZip Incompatible versions in this module v2.0.0-alpha-2+incompatible Aug 13, 2020