version100

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const JsonSchema100 = `` /* 41869-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) GetComponents

func (d *Devfile100) GetComponents() []common.DevfileComponent

GetComponents returns the slice of DevfileComponent objects parsed from the Devfile

Jump to

Keyboard shortcuts

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