code: func (task *Task) getResourcesUnsafe() []taskresource.TaskResource {
  	var resourceList []taskresource.TaskResource
  	for _, resources := range task.ResourcesMapUnsafe {
  		resourceList = append(resourceList, resources...)
  	}
  	return resourceList
  }
docs: // getResourcesUnsafe returns the list of task resources from ResourcesMap