<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def ingest_volumes_param(self, volumes):
 """ This is for ingesting the "volumes" of a pod spec """

        data = {}
        for volume in volumes:
            if volume.get('hostPath', {}).get('path'):
                data[volume.get('name')] = {
                    'path': volume.get('hostPath', {}).get('path'),
                }
            elif volume.get('emptyDir'):
                data[volume.get('name')] = {}
            else:
                data[volume.get('name')] = {}
            # TODO Support other k8s volume types?
        return data