code: func containerUsage(podStats statsapi.PodStats, statsToMeasure []fsStatsType) v1.ResourceList {
  	disk := resource.Quantity{Format: resource.BinarySI}
  	inodes := resource.Quantity{Format: resource.DecimalSI}
  	for _, container := range podStats.Containers {
  		if hasFsStatsType(statsToMeasure, fsStatsRoot) {
  			disk.Add(*diskUsage(container.Rootfs))
  			inodes.Add(*inodeUsage(container.Rootfs))
  		}
  		if hasFsStatsType(statsToMeasure, fsStatsLogs) {
  			disk.Add(*diskUsage(container.Logs))
  			inodes.Add(*inodeUsage(container.Logs))
  		}
  	}
  	return v1.ResourceList{
  		v1.ResourceEphemeralStorage: disk,
  		resourceInodes:              inodes,
  	}
  }
docs: // containerUsage aggregates container disk usage and inode consumption for the specified stats to measure.