package
1.2.6
Repository: https://github.com/openshift/odo.git
Documentation: pkg.go.dev

# Functions

AddVolumeToContainer adds the volume name and mount to the container host config.
ComponentExists checks if a component exist returns true, if the number of containers equals the number of unique devfile container components returns false, if number of containers is zero returns an error, if number of containers is more than zero but does not equal the number of unique devfile container components.
ConvertEnvs converts environment variables from the devfile structure to an array of strings, as expected by Docker.
ConvertPorts converts endpoints from the devfile structure to PortSet, which is expected by Docker.
DoesContainerNeedUpdating returns true if a given container needs to be removed and recreated This function compares values in the container vs corresponding values in the devfile component.
GetComponentContainers returns a list of the running component containers.
GetContainerIDForAlias returns the container ID for the devfile alias from a list of containers.
GetContainerLabels returns the label selectors used to retrieve/create the component container.
GetProjectVolumeLabels returns the label selectors used to retrieve the project/source volume for a given component.
GetSupervisordVolumeLabels returns the label selectors used to retrieve the supervisord volume.

# Constants

ProjectsVolume is project source volume type.
SupervisordVolume is supervisord volume type.