Versions in this module Expand all Collapse all v1 v1.2.6 Aug 31, 2020 Changes in this version + const APIVersion100 + const APIVersion200 + func GetDevfileJSONSchema(version string) (string, error) + func IsApiVersionSupported(version string) bool + type DevfileData interface + AddCommands func(commands ...common.DevfileCommand) error + AddComponents func(components []common.DevfileComponent) error + AddEvents func(events common.DevfileEvents) error + AddProjects func(projects []common.DevfileProject) error + AddStarterProjects func(projects []common.DevfileStarterProject) error + AddVolume func(volume common.Volume, path string) error + DeleteVolume func(name string) error + GetAliasedComponents func() []common.DevfileComponent + GetCommands func() map[string]common.DevfileCommand + GetComponents func() []common.DevfileComponent + GetEvents func() common.DevfileEvents + GetMetadata func() common.DevfileMetadata + GetParent func() common.DevfileParent + GetProjects func() []common.DevfileProject + GetStarterProjects func() []common.DevfileStarterProject + GetVolumeMountPath func(name string) (string, error) + SetMetadata func(name, version string) + SetParent func(parent common.DevfileParent) + SetSchemaVersion func(version string) + UpdateCommand func(command common.DevfileCommand) + UpdateComponent func(component common.DevfileComponent) + UpdateEvents func(postStart, postStop, preStart, preStop []string) + UpdateProject func(project common.DevfileProject) + UpdateStarterProject func(project common.DevfileStarterProject) + func NewDevfileData(version string) (obj DevfileData, err error)