data

package
v1.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDevfileJSONSchema

func GetDevfileJSONSchema(version string) (string, error)

GetDevfileJSONSchema returns the devfile JSON schema of the supported apiVersion

func IsApiVersionSupported

func IsApiVersionSupported(version string) bool

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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