Documentation ¶
Index ¶
- func ParseAndValidate(path string) (d parser.DevfileObj, err error)
- func ParseDevfileAndValidate(args parser.ParserArgs) (d parser.DevfileObj, varWarning variables.VariableWarning, err error)
- func ParseFromDataAndValidate(data []byte) (d parser.DevfileObj, err error)
- func ParseFromURLAndValidate(url string) (d parser.DevfileObj, err error)
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.