code: func ValidateTask(resources *api.Resources) error {
  	for _, v := range resources.Generic {
  		if v.GetDiscreteResourceSpec() != nil {
  			continue
  		}
  
  		return fmt.Errorf("invalid argument for resource %s", Kind(v))
  	}
  
  	return nil
  }
docs: // ValidateTask validates that the task only uses integers
  // for generic resources