package
3.16.1+incompatible
Repository: https://github.com/redhat-developer/odo.git
Documentation: pkg.go.dev

# Packages

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

# Functions

CreateFakeContainer creates a container with the given containerName.
CreateFakeContainerWithVolumeMounts creates a container with the given containerName and volumeMounts.
CreateFakeDeployment creates a fake deployment with the given pod name and labels isPartOfComponent bool decides if the deployment is supposed to be a part of the core resources deployed by `odo dev`.
CreateFakeDeploymentsWithContainers creates a fake pod with the given pod name, container name and containers isPartOfComponent bool decides if the deployment is supposed to be a part of the core resources deployed by `odo dev`.
CreateFakePod creates a fake pod with the given pod name and component name.
No description provided by the author
No description provided by the author
FakeProjects returns fake projectlist for use by API mock functions for Unit tests.
No description provided by the author
GetFakeContainerComponent returns a fake container component for testing.
GetFakeVolumeComponent returns a fake volume component for testing.
GetTestDevfileObj returns a devfile object for testing.
GetTestDevfileObjFromFile takes the filename of devfile from tests/examples/source/devfiles/nodejs and returns a parser.DevfileObj.
GetTestDevfileObjWithPreStopEvents returns a devfile object with preStop event.