WIP: deployments POC

This should really be part of `pkg/deploy/client` - the other examples are wrong and we should update them.