It isn't limited to functions. Knative can run containerees, or with a build system take full app code and deploy it as a container.
I think it's an open question whether a PaaS like Google Dataflow is a good match or not. It will certainly require more planning, but I think it's doable.