...

Package validate

Overview ▾

func ValidateDevfileData

func ValidateDevfileData(data interface{}) error

ValidateDevfileData validates whether sections of devfile are odo compatible after invoking the generic devfile validation

type NoComponentsError

NoComponentsError returns an error if no component is found

type NoComponentsError struct {
}

func (*NoComponentsError) Error

func (e *NoComponentsError) Error() string

type NoContainerComponentError

NoContainerComponentError returns an error if no container component is found

type NoContainerComponentError struct {
}

func (*NoContainerComponentError) Error

func (e *NoContainerComponentError) Error() string

type UnsupportedOdoCommandError

UnsupportedOdoCommandError returns an error if the command is neither exec nor composite

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

func (*UnsupportedOdoCommandError) Error

func (e *UnsupportedOdoCommandError) Error() string