code: func GetQoS(container *api.Container) map[api.ResourceName]string {
  	resourceToQoS := map[api.ResourceName]string{}
  	for resource := range allResources(container) {
  		switch {
  		case isResourceGuaranteed(container, resource):
  			resourceToQoS[resource] = Guaranteed
  		case isResourceBestEffort(container, resource):
  			resourceToQoS[resource] = BestEffort
  		default:
  			resourceToQoS[resource] = Burstable
  		}
  	}
  	return resourceToQoS
  }
docs: // GetQos returns a mapping of resource name to QoS class of a container