validate

package
v1.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorNoComponents           = "no components present"
	ErrorNoDockerImageComponent = fmt.Sprintf("odo requires atleast one component of type '%s' in devfile", common.DevfileComponentTypeDockerimage)
)

Errors

Functions

func ValidateComponents

func ValidateComponents(components []common.DevfileComponent) error

ValidateComponents validates all the devfile components

func ValidateDevfileData

func ValidateDevfileData(data interface{}) error

ValidateDevfileData validates whether sections of devfile are odo compatible

Types

This section is empty.

Jump to

Keyboard shortcuts

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