Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDevfileJSONSchema ¶
GetDevfileJSONSchema returns the devfile JSON schema of the supported apiVersion
func IsApiVersionSupported ¶
IsApiVersionSupported returns true if the API version is supported in odo
Types ¶
type DevfileData ¶
type DevfileData interface { GetComponents() []common.DevfileComponent GetAliasedComponents() []common.DevfileComponent GetProjects() []common.DevfileProject GetCommands() []common.DevfileCommand }
DevfileData is an interface that defines functions for Devfile data operations
func NewDevfileData ¶
func NewDevfileData(version string) (obj DevfileData, err error)
NewDevfileData returns relevant devfile struct for the provided API version
Click to show internal directories.
Click to hide internal directories.