validate

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

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 InvalidEventError added in v1.2.6

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

InvalidEventError returns an error if the devfile event type has invalid events

func (*InvalidEventError) Error added in v1.2.6

func (e *InvalidEventError) Error() string

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