  def HostPath(self) -> Optional[str]:
    """Returns the host path of this volume.

    Will return None if this volume is not hostPath type.

    Returns:
      Optional[str]: Returns the path if this is a hostPath volume, None
          otherwise
    """
    host_path = self._response.host_path
    return host_path.path if host_path else None
Returns the host path of this volume.

Will return None if this volume is not hostPath type.

Returns:
Optional[str]: Returns the path if this is a hostPath volume, None
otherwise
libcloudforensics/providers/kubernetes/volume.py