devfile

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 19 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAndValidate

func ParseAndValidate(path string) (d parser.DevfileObj, err error)

ParseAndValidate func parses the devfile data and validates the devfile integrity with the schema and validates the devfile data. Creates devfile context and runtime objects. Deprecated, use ParseDevfileAndValidate() instead

func ParseDevfileAndValidate

func ParseDevfileAndValidate(args parser.ParserArgs) (d parser.DevfileObj, varWarning variables.VariableWarning, err error)

ParseDevfileAndValidate func parses the devfile data, validates the devfile integrity with the schema replaces the top-level variable keys if present and validates the devfile data. It returns devfile context and runtime objects, variable substitution warning if any and an error.

func ParseFromDataAndValidate

func ParseFromDataAndValidate(data []byte) (d parser.DevfileObj, err error)

ParseFromDataAndValidate func parses the devfile data and validates the devfile integrity with the schema and validates the devfile data. Creates devfile context and runtime objects. Deprecated, use ParseDevfileAndValidate() instead

func ParseFromURLAndValidate

func ParseFromURLAndValidate(url string) (d parser.DevfileObj, err error)

ParseFromURLAndValidate func parses the devfile data from the url and validates the devfile integrity with the schema and validates the devfile data. Creates devfile context and runtime objects. Deprecated, use ParseDevfileAndValidate() instead

Types

This section is empty.

Directories

Path Synopsis
data
Package data is a generated GoMock package.
Package data is a generated GoMock package.

Jump to

Keyboard shortcuts

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