version100

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL