package
3.16.1+incompatible
Repository: https://github.com/redhat-developer/odo.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
GetPersistentVolumesAndVolumeMounts gets the PVC volumes and updates the containers with the volume mounts.
GetVolumeInfos returns the PVC name attached to the `odo-projects` directory and a map of other PVCs.
HandleOdoSourceStorage creates or deletes the volume containing project sources, based on the preference setting - if Ephemeral preference is true, any PVC with labels "component=..." and "odo-source-pvc=odo-projects" is removed - if Ephemeral preference is false and no PVC with matching labels exists, it is created.
# Structs
VolumeInfo is a struct to hold the pvc name and the volume name to create a volume.