func (pdev podDevices) containerDevices(podUID, contName, resource string) sets.String {
	if _, podExists := pdev[podUID]; !podExists {
		return nil
	}
	if _, contExists := pdev[podUID][contName]; !contExists {
		return nil
	}
	devs, resourceExists := pdev[podUID][contName][resource]
	if !resourceExists {
		return nil
	}
	return devs.deviceIds
}
// Returns list of device Ids allocated to the given container for the given resource.
// Returns nil if we don't have cached state for the given <podUID, contName, resource>.
Returns list of device Ids allocated to the given container for the given resource.
Returns nil if we don't have cached state for the given .
// Returns list of device Ids allocated to the given container for the given resource . // Returns nil if we don ' t have cached state for the given <podUID contName resource > .
func (pdev podDevices) containerDevices(podUID, contName, resource string) sets.String {
	if _, podExists := pdev[podUID]; !podExists {
		return nil
	}
	if _, contExists := pdev[podUID][contName]; !contExists {
		return nil
	}
	devs, resourceExists := pdev[podUID][contName][resource]
	if !resourceExists {
		return nil
	}
	return devs.deviceIds
}
func ( pdev podDevices ) containerDevices ( podUID , contName , resource string ) sets . String { if _ , podExists := pdev [ podUID ] ; ! podExists { return nil } if _ , contExists := pdev [ podUID ] [ contName ] ; ! contExists { return nil } devs , resourceExists := pdev [ podUID ] [ contName ] [ resource ] if ! resourceExists { return nil } return devs . deviceIds }
Returns list of device Ids allocated to the given container for the given resource.
Returns list of device Ids allocated to the given container for the given resource .