func (pdev podDevices) addContainerAllocatedResources(podUID, contName string, allocatedResources map[string]sets.String) {
	containers, exists := pdev[podUID]
	if !exists {
		return
	}
	resources, exists := containers[contName]
	if !exists {
		return
	}
	for resource, devices := range resources {
		allocatedResources[resource] = allocatedResources[resource].Union(devices.deviceIds)
	}
}
// Populates allocatedResources with the device resources allocated to the specified <podUID, contName>.
Populates allocatedResources with the device resources allocated to the specified .
// Populates allocatedResources with the device resources allocated to the specified <podUID contName > .
func (pdev podDevices) addContainerAllocatedResources(podUID, contName string, allocatedResources map[string]sets.String) {
	containers, exists := pdev[podUID]
	if !exists {
		return
	}
	resources, exists := containers[contName]
	if !exists {
		return
	}
	for resource, devices := range resources {
		allocatedResources[resource] = allocatedResources[resource].Union(devices.deviceIds)
	}
}
func ( pdev podDevices ) addContainerAllocatedResources ( podUID , contName string , allocatedResources map [ string ] sets . String ) { containers , exists := pdev [ podUID ] if ! exists { return } resources , exists := containers [ contName ] if ! exists { return } for resource , devices := range resources { allocatedResources [ resource ] = allocatedResources [ resource ] . Union ( devices . deviceIds ) } }
Populates allocatedResources with the device resources allocated to the specified .
Populates allocatedResources with the device resources allocated to the specified .