{"modulePath":"github.com/redhat-developer/Odo","version":"v1.2.6","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package validate\n\n## Functions\n\n```go\nfunc ValidateDevfileData(data interface{}) error\n```\nValidateDevfileData validates whether sections of devfile are odo compatible\n\n## Types\n\n```go\ntype DuplicateVolumeComponentsError struct {\n}\n```\nDuplicateVolumeComponentsError returns an error if duplicate volume components are found\n\n```go\nfunc (e *DuplicateVolumeComponentsError) Error() string\n```\n\n```go\ntype InvalidEventError struct {\n\t// contains filtered or unexported fields\n}\n```\nInvalidEventError returns an error if the devfile event type has invalid events\n\n```go\nfunc (e *InvalidEventError) Error() string\n```\n\n```go\ntype InvalidVolumeSizeError struct {\n\t// contains filtered or unexported fields\n}\n```\nInvalidVolumeSizeError returns an error if volume component has an invalid size\n\n```go\nfunc (e *InvalidVolumeSizeError) Error() string\n```\n\n```go\ntype MissingVolumeMountError struct {\n\t// contains filtered or unexported fields\n}\n```\nMissingVolumeMountError returns an error if the container volume mount does not reference a valid volume component\n\n```go\nfunc (e *MissingVolumeMountError) Error() string\n```\n\n```go\ntype NoComponentsError struct {\n}\n```\nNoComponentsError returns an error if no component is found\n\n```go\nfunc (e *NoComponentsError) Error() string\n```\n\n```go\ntype NoContainerComponentError struct {\n}\n```\nNoContainerComponentError returns an error if no container component is found\n\n```go\nfunc (e *NoContainerComponentError) Error() string\n```\n\n","path":"github.com/redhat-developer/Odo/pkg/devfile/validate","name":"validate","synopsis":"","isRedistributable":true}
