package
1.2.6
Repository: https://github.com/redhat-developer/ocdev.git
Documentation: pkg.go.dev

# Functions

ComponentExists checks whether a deployment by the given name exists.
ConvertEnvs converts environment variables from the devfile structure to kubernetes structure.
ConvertPorts converts endpoint variables from the devfile structure to kubernetes ContainerPort.
GetContainers iterates through the components in the devfile and returns a slice of the corresponding containers.
GetEndpoints iterates through the components in the devfile and returns endpoints of all supported components.
GetResourceReqs creates a kubernetes ResourceRequirements object based on resource requirements set in the devfile.
UpdateContainersWithSupervisord updates the run components entrypoint and volume mount with supervisord if no entrypoint has been specified for the component in the devfile.
UpdateContainerWithEnvFrom populates the runtime container with relevant values for "EnvFrom" so that component can be linked with Operator backed service.