code: func (pdev podDevices) getContainerDevices(podUID, contName string) []*podresourcesapi.ContainerDevices {
  	if _, podExists := pdev[podUID]; !podExists {
  		return nil
  	}
  	if _, contExists := pdev[podUID][contName]; !contExists {
  		return nil
  	}
  	cDev := []*podresourcesapi.ContainerDevices{}
  	for resource, allocateInfo := range pdev[podUID][contName] {
  		cDev = append(cDev, &podresourcesapi.ContainerDevices{
  			ResourceName: resource,
  			DeviceIds:    allocateInfo.deviceIds.UnsortedList(),
  		})
  	}
  	return cDev
  }
docs: // getContainerDevices returns the devices assigned to the provided container for all ResourceNames