Documentation ¶
Index ¶
Constants ¶
View Source
const JsonSchema100 = `` /* 41848-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Devfile100 ¶
type Devfile100 struct { // Devfile section "apiVersion" ApiVersion common.ApiVersion `yaml:"apiVersion" json:"apiVersion"` // Devfile section "metadata" Metadata common.DevfileMetadata `yaml:"metadata" json:"metadata"` // Devfile section projects Projects []common.DevfileProject `yaml:"projects,omitempty" json:"projects,omitempty"` Attributes common.Attributes `yaml:"attributes,omitempty" json:"attributes,omitempty"` // Description of the workspace components, such as editor and plugins Components []common.DevfileComponent `yaml:"components,omitempty" json:"components,omitempty"` // Description of the predefined commands to be available in workspace Commands []common.DevfileCommand `yaml:"commands,omitempty" json:"commands,omitempty"` }
Devfile100 struct maps to devfile 1.0.0 version schema
func (*Devfile100) GetAliasedComponents ¶
func (d *Devfile100) GetAliasedComponents() []common.DevfileComponent
GetAliasedComponents returns the slice of DevfileComponent objects that each have an alias
func (*Devfile100) GetCommands ¶
func (d *Devfile100) GetCommands() []common.DevfileCommand
GetCommands returns the slice of DevfileCommand objects parsed from the Devfile
func (*Devfile100) GetComponents ¶
func (d *Devfile100) GetComponents() []common.DevfileComponent
GetComponents returns the slice of DevfileComponent objects parsed from the Devfile
func (*Devfile100) GetProjects ¶
func (d *Devfile100) GetProjects() []common.DevfileProject
GetProjects returns the slice of DevfileProject objects parsed from the Devfile
Click to show internal directories.
Click to hide internal directories.