validate

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateDevfileData

func ValidateDevfileData(data interface{}) error

ValidateDevfileData validates whether sections of devfile are odo compatible

Types

type DuplicateVolumeComponentsError added in v1.2.5

type DuplicateVolumeComponentsError struct {
}

DuplicateVolumeComponentsError returns an error if duplicate volume components are found

func (*DuplicateVolumeComponentsError) Error added in v1.2.5

type InvalidVolumeSizeError added in v1.2.5

type InvalidVolumeSizeError struct {
	// contains filtered or unexported fields
}

InvalidVolumeSizeError returns an error if volume component has an invalid size

func (*InvalidVolumeSizeError) Error added in v1.2.5

func (e *InvalidVolumeSizeError) Error() string

type MissingVolumeMountError added in v1.2.5

type MissingVolumeMountError struct {
	// contains filtered or unexported fields
}

MissingVolumeMountError returns an error if the container volume mount does not reference a valid volume component

func (*MissingVolumeMountError) Error added in v1.2.5

func (e *MissingVolumeMountError) Error() string

type NoComponentsError added in v1.2.5

type NoComponentsError struct {
}

NoComponentsError returns an error if no component is found

func (*NoComponentsError) Error added in v1.2.5

func (e *NoComponentsError) Error() string

type NoContainerComponentError added in v1.2.5

type NoContainerComponentError struct {
}

NoContainerComponentError returns an error if no container component is found

func (*NoContainerComponentError) Error added in v1.2.5

func (e *NoContainerComponentError) Error() string

Jump to

Keyboard shortcuts

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