validate

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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