package
2.3.1-alpha
Repository: https://github.com/devfile/api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ValidateCommands validates the devfile commands and checks: 1.
ValidateComponents validates that the components 1.
ValidateEvents validates all the devfile events.
ValidateProjects checks if the project has more than one remote configured then a checkout remote is mandatory and if the checkout remote matches the renote configured.
ValidateStarterProjects checks if starter project has only one remote configured and if the checkout remote matches the remote configured.
ValidateURI checks if the string is with valid uri format, return error if not valid.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
EnvProjectsRoot is the env defined for project mount in a component container when component's mountSources=true.
EnvProjectsSrc is the env defined for path to the project source in a component container.
attribute key of the imported element resource information.
No description provided by the author
No description provided by the author
attribute key of the parent overridden element resource information.
attribute key of the plugin overridden element resource information.
No description provided by the author

# Structs

AnnotationConflictError returns an error if an annotation has been declared with conflict values.
InvalidCommandError returns an error if the command is invalid.
InvalidCommandError returns an error if the command is invalid.
InvalidComponentError returns an error if the component is invalid.
InvalidEndpointError returns an error if the component endpoint is invalid.
InvalidEventError returns an error if the devfile event type has invalid events.
InvalidProjectCheckoutRemoteError returns an error if there is an unmatched, checkoutFrom remote specified.
InvalidResourceRequestError returns an error if resource limit < resource requested.
InvalidVolumeError returns an error if the volume is invalid.
MissingDefaultCmdWarning returns an error if there is no default command for a single group kind.
MissingProjectCheckoutFromRemoteError returns an error if there are multiple git remotes but the checkoutFrom remote has not been specified.
MissingProjectRemoteError returns an error if the git remotes object under a project is empty.
MissingRemoteError returns an error if the git remotes object is empty.
MissingVolumeMountError returns an error if the container volume mount does not reference a valid volume component.
MultipleDefaultCmdError returns an error if there are multiple default commands for a single group kind.
MultipleRemoteError returns an error if multiple git remotes are specified.
ParsingResourceRequirementError returns an error if failed to parse a resource requirement.
ReservedEnvError returns an error if the user attempts to customize a reserved ENV in a container.

# Type aliases

No description provided by the author
No description provided by the author