version100

package
v0.0.0-...-8dda575 Latest Latest
Warning

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

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

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) Validate

func (d *Devfile100) Validate() error

Validate validates whether sections of devfile are odo compatible

Jump to

Keyboard shortcuts

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